Child theming is a safe way to modify a theme. A child theme inherits a "parent themes" styles and then can selectively override. This alternative to "destructive" editing allows for safe updating of the parent theme and provides an easy way to undo theme changes.

learn more… | top users | synonyms

1
vote
1answer
188 views

Wordpress Child Themes

I'm trying to redeclare a function in a wordpress child theme that is already in use by the parent theme. However, I get a "Fatal error: Cannot redeclare" message when trying to do so. Also, I've ...
1
vote
1answer
2k views

How to replace the twentyten image header with my flash banner?

I am currently building a site using a child theme for the first time. Basically, I have a flash banner the client has already had made, and want to replace the twentyten image banner with the flash. ...
0
votes
1answer
1k views

Activating child theme returns “active theme is broken”

I was using the Pinboard theme, but want to make modifications to it. Instead of editing the theme files directly, I wanted to try to make my changes using a child theme. Following the codex, I ...
0
votes
2answers
112 views

How to over-ride a file in a plugin?

I have a third party plugin that I'm using for a photo gallery (NextGen). However, with my black background, the loader gif animation looks pretty bad. I found a better loader gif and replaced the ...
0
votes
1answer
869 views

Removing Shortcodes from Child Theme

I'm trying to remove the shortcodes from a child theme. In my functions.php file (for the child theme), I've put: function my_remove_shortcode(){ return ''; } add_shortcode('entry-twitter-link', ...
0
votes
1answer
121 views

Replace function in a child theme

Is there a way to replace a function by another function in a child theme? In other words, in a theme there is a function named "theme_function" and this function is called by several files inside the ...
0
votes
1answer
41 views

Overriding Parent Theme… will cause plugins failure?

I overrides the parent theme by copying "header.php" and "footer.php" files to the "child" folder, it is working nicely. But I wonder if I install a plugin that need to edit the "header.php" or ...
0
votes
2answers
365 views

How to properly create a child theme

I would like to create a child theme based on the twentyeleven theme. I understand how to create my own styles.css file to work for my child theme. I would also like to create my own custom ...
0
votes
2answers
2k views

How do I get a child theme to load scripts from the parent theme?

Pretty new to WordPress functions, so apologies if this is basic stuff. I've designed a parent theme that registers and enqueues two scripts like so: if ( !function_exists( 'scherzo_scripts' ) ) ...
0
votes
1answer
27 views

How do I target the child theme with get_bloginfo();?

In the code below (which is located in my functions.php file), in reference to ('.get_bloginfo('template_url').', I'm trying to target my child theme but it keeps coming up as the parent theme. /* == ...
0
votes
1answer
54 views

lost css when overriding themes templates

i have copied and modified the template file : header.php in my theme child and i kept the same path. here is the full file <?php /** * Your Inspiration Themes * * @package WordPress * ...
0
votes
1answer
696 views

WP is not using the select custom template.php that its selected for a page

I created a childtheme: Fisio Inside I have: page-team.php with the name: <?php /* Template Name: Page - Team */ ?> <?php get_header(); ?> <script>alert('its the team ...
0
votes
2answers
179 views

how do i in ignore/disable/delete a javascript call from parent in child theme?

I am working on a child theme and I want to disable a JavaScript file from the parent folder instead of deleting it. I have a functions.php file in my child theme folder but don't know how to do it. ...
0
votes
1answer
357 views

filterable portfolio with wordpress and jquery

I used this tutorial in creating portfolio page: http://wp.tutsplus.com/tutorials/creating-a-filterable-portfolio-with-wordpress-and-jquery/ I am working on Thematic child theme: ...
0
votes
3answers
150 views

Need help with adding templates (archives and sitemap) to Wordpress child theme

I recently switched themes, and my old theme had templates for sitemap and archive (in fact the archive was one of my most viewed pages.) When I switched themes the link to the archive and sitemap ...
0
votes
1answer
77 views

Which is the child theme and which is the parent theme?

In the themes folder for my blog, there are three folders and one file: The file is index.php and the folders are: twentyeleven / wordfruit / twentyten The blog is at http://wordfruit.com/blog ...
0
votes
2answers
302 views

Child Theme Based on Toolbox Not Found

I am trying to make a child theme of the toolbox theme and use it in my multisite WP 3.2 install. I created a folder called wp-content/themes/charlie-repair-toolkit/ then I created style.css in the ...
0
votes
1answer
19 views

Overide enqueue in non plugable function via child theme

I am trying to override a non-plugable function using the information on this page but it seems to have no effect. Can anyone see what's wrong. My code is remove_action('wp_print_styles', ...
0
votes
2answers
47 views

Overriding methods in a child theme

Guided by the Codex doc on Child Themes I have created a twentythirteen-child theme for my website by copying the unchanged index.php file from the parent theme and by creating this simple style.css ...
0
votes
2answers
61 views

Where is wp-content/themes folder?

I want to make a child theme for my wordpress site (Twenty-Fourteen theme fyi) so that my changes aren't overridden with every update. Apparently I need to create a new subfolder for the child theme ...
0
votes
1answer
41 views

Child theme preview missing

I followed the beginner steps for creating a child theme. The child theme was created and it appears as an option on my Themes page. But unlike the other Themes on the page (including its parent), ...
0
votes
1answer
112 views

How to edit classes in body tag?

I'm trying to edit classes in the body tag for custom post types so I can display the pages full width using the WooThemes Canvas built in full width class - instead of overriding it. By default it ...
0
votes
1answer
38 views

Modify a parent theme's PHP file, and save in child theme

I'm working with a paid theme, and we're using a child theme to display a slightly different design. The parent theme has a file called /includes/forms/register-form.php I'd like to customise this ...
0
votes
4answers
790 views

Different header for each page in child theme of twenty thirteen

I trying to create a child theme from theme twenty thirteen. One feature I want to add in my child theme is that I can specify (via Coding) a different header image on each page. I've asked the same ...
0
votes
1answer
93 views

Modular CSS and JS in Child Themes

Let's assume that twentythirteen/shortcodes/ exists and inside are folders with shortcodes. 1 folder = 1 shortcode. Each shortcode has: 1 PHP file, 1 CSS file, 1 JS file. ...
0
votes
1answer
100 views

What are the best practices for maintaining and deploying several parent themes?

I've been trying to commission a freelancer to make me a custom website and hit a roadblock when I said I wanted a parent theme. The freelancer strongly preferred to make a child theme based on his ...
0
votes
1answer
310 views

Change labels of custom post type via child theme

I have a WordPress parent theme that uses a custom post type called portfolio, which I'd like to change to property. I'd like to have all of the contextual elements changed to show property like, ...
0
votes
2answers
506 views

Color Options from Theme Customizer API not returning via get_theme_mod()

I am working with the Theme Customizer API and am going crazy trying to find the stored values. The values successfully save and update on the front-end, so they are obviously registered ...
0
votes
1answer
548 views

some things in child theme css not overriding parent

I am writing a child theme with Blogolife as its parent. (I'm doing it on a local server, so can't show you the actual page). I have made several changes to the CSS in the child theme's "style.css" ...
0
votes
1answer
61 views

child theme - moved files from twentyeleven theme to child them, now not working

I'm trying to create a child theme. I copied the files from my twenty eleven theme into my twenty eleven child theme folder, and now the webpage displays blank page. my dashboard settings changed ...
0
votes
1answer
55 views

Why would changing a child theme to a normal theme pass a Template is missing. error

I have what used to be a child theme but I added to it to the point where its a theme on its own. I pulled out the Template line in the style.css and now I get the: This theme is broken. Template is ...
0
votes
1answer
692 views

Creating a child-theme: CSS not loading

I created a custom theme (style.css in the dashboard) /* Theme Name: Client customisations Description: Child theme for the client Website Author: Me Author URI: ...
0
votes
1answer
74 views

Multiple Child Themes

I have a quick question: Is it possible to have multiple child themes activated at once? I need to have many different page templates activate at once. If it's not possible how can I go about it?
0
votes
2answers
158 views

Starting point for custom Themes [closed]

What are good themes to start from when creating a custom WordPress theme? So far I have found: HTML5 Reset Theme Constellation Theme
0
votes
1answer
57 views

simplified explanation on child themes?

I'm trying to create child theme for theme i'm using on my site... I read lot's of articles about this, but can't find simple tutorial or simple explanation how to do it... As i understand so far, if ...
0
votes
1answer
543 views

Creating new templates in child themes breaks layout

I am learning how to create new templates in WP. I am using a child theme of Twenty Eleven. My problem is that whenever I create a new template the layout breaks. For debugging I stopped using any ...
0
votes
1answer
182 views

Simple child theme modification but links are broken

I have created a simple child theme to modify the Minimal theme by Elegant Themes. The child theme loads with the changes I have made, but the links to pages in the header are all messed up. Rather ...
0
votes
1answer
185 views

conditionally echo <br /> in meta box data loop

I am working on a Thematic child theme and using the WPAlchemy Meta Box Class to create an 'Artwork Info' meta box that I want to conditionally echo like this at the end of each post: Title Medium ...
0
votes
3answers
27 views

Include files in child themes, declare in functions.php

I'm using a child theme. I want to make a change to a file which currently resides in: mybasetheme>includes>sf-content-display>sf-post-layouts.php So I copied the exact same file structure into ...
0
votes
1answer
26 views

Function in Child Theme not overriding Parent Theme function [duplicate]

I have read up on this and tried it myself, but I cannot seem to figure out how to override a parent theme function using my child theme. I need to know what I am doing wrong (and I am sure there are ...
0
votes
1answer
29 views

Is it possible to override this function/class in a child theme?

Is it possible to override this widget function from a parent theme? I saw this blog, but it dealt with a simpler case. http://venutip.com/content/right-way-override-theme-functions parent class ...
0
votes
1answer
30 views

Where did my Theme Editor go?

I have 2 blogs, both are versions 3.x One of them, "Blog 1" is a multi-user blog. I can't edit the themes under Appearance->Editor , because it doesn't appear. "Blog 2" is a single instance blog, ...
0
votes
2answers
168 views

How do I add new post formats to twenty fourteen theme?

I haven't used WP since 3.5 so forgive my rustiness. I am trying to customize a child theme of twenty fourteen for WP 3.9.1 to make it more like a corporate site rather than a magazine site. My ...
0
votes
1answer
33 views

Disable child theme css on certain pages

I have activated child theme and would need to completely disable the child theme css on certain pages, leaving only the parent theme css. How can this be done?
0
votes
5answers
115 views

Attributing a version number to a child theme's main stylesheet

In header.php, I like to attribute a version number to the stylesheet so that the browser gets forced to refresh it. But when working with a child theme, its stylesheet is not explicitely called, ...
0
votes
1answer
130 views

Change Twenty Twelve's comment form in a child theme

I have a custom child theme of Twenty Twelve. I want to change the text "Leave a reply" to "Leave a comment", and also remove the website field from the comments form. How can I do this? Thanks.
0
votes
2answers
1k views

How to change default header image dimensions in twentyfourteen child theme?

I'm creating a child theme based on twentyfourteen and wish to change the custom header image dimensions. The custom header page states: Images should be at least 1260 pixels wide. Suggested width ...
0
votes
2answers
45 views

How do I change a parent theme's function through the child theme?

This is a function loaded by the parent theme. Through the child theme, I want to change this function to say is_single instead of is_singular. What would be the correct way to achieve this? ...
0
votes
1answer
47 views

How do I change the login logo URL and hover title?

I am trying to change the login logo URL and hover title. I am using the code below but return bloginfo('url'); and return bloginfo('name'); aren't outputting the desired href and title. I'm also ...
0
votes
1answer
72 views

how to edit functions.php in a child theme

I am using wordpress for my site. I am using a theme called esplanade. I have made a child theme folder and created a style.css with the required lines in it. My child theme is working nicely. I have ...