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
2answers
27 views

Cannot save widgets in custom sidebars

I'm working on a child theme of the Toolset Bootstrap Theme. I need to create a custom sidebar, so I registered the new sidebar in my child theme's function.php file: function ...
0
votes
0answers
13 views

Inserting Google Tag Manager (Header.php in Child Theme Not Working)

Web newbie here! I inserted the Google Tag Manager script into my child theme's header.php (which I copied from my main theme's folder) under the tag. However, it doesn't seem to override my main ...
0
votes
0answers
20 views

Hide unapproved comments on front end of wordpress

I used this post I modified it to hide rather than show to contributors unapproved comments. This goes for unapproved comments on the contributor's own posts. I also used Adminimize to hide comments ...
2
votes
1answer
49 views

Override Constants in Child theme

I have a parent theme that declare these constant in function.php: define("THEME_DIR", get_template_directory()); define("THEME_DIR_URI", get_template_directory_uri()); define("THEME_NAME", ...
-1
votes
1answer
25 views

styles from child theme not loaded for file other than style.css

I have set up a Worpress page with Multisite and Multilingual Press to support english and german. Currently only working on the english version. I use the "definition" theme of WooThemes and have ...
0
votes
1answer
25 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 ...
2
votes
3answers
7k views

How to add code to Header.php in a child theme?

I'm creating a child theme for the first time and I had a few questions regarding code added to header. In a non child theme there is certain code I add to my header.php file such as google ...
0
votes
1answer
26 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
1k views

How to set thumbnail image for a (child) theme

I've created a basic child image for twentytwelve, and it works as expected. The only issue is that it does not have a thumbnail image in the themes page: How do I set a thumbnail image for my ...
1
vote
1answer
21 views

Installing plugins and using complex folder structure with child theme in WordPress

I'm creating a new WP website based on a template, and I've created the child theme for this template. It is working without any problem. I understand the basics for a child theme as adding my ...
0
votes
1answer
16 views

WordPress Twenty Fourteen Theme Sidebar

The Twenty Fourteen theme was used to create the basis of my own child theme. It's been pretty easy to override, but the left sidebar is proving difficult. I don't want to remove the sidebar ...
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
1answer
26 views

Why does my visual post editor break when I try to add a TinyMCE button?

I'm trying to add a button to my TinyMCE editor. I'm using WordPress 3.9.1, so I'm following this tutorial to add a new TinyMCE button. Right now, I'm just trying to get the tutorial version ...
0
votes
0answers
29 views

Twenty Eleven child theme anchor top menu not clickable

I am working on child twentyeleven theme. I have to do three things to my child theme. 1-Using page.php coping in my child theme.I added the code in page.php at top of the code <?php if ...
0
votes
2answers
17 views

Unregistering a Sidebar in Child Theme

I'm working with a handy responsive theme framework (Reverie) and I'm developing my own theme the right way using a Child theme. The Parent theme calls a sidebar called with an ID of 'Footer' and ...
0
votes
1answer
20 views

How to extend parent theme sections and settings to Options Tree

I am developing a child theme based on a theme that use Option Tree for it's options. Is it possible to add a new section with my child theme settings to the already defined sections by parent theme ...
1
vote
1answer
28 views

Child theme within a child theme?

I'm developing a child theme, but also want to make it possible for that child theme to have a custom functions.php file that won't be overwritten during theme updates .. is this possible in any ...
0
votes
1answer
206 views

Child Theme version is set by parent theme, that isn't correct

I'm using Genesis as my theme framework, and while Genesis is at version 2.0.1, my theme is a different version (1.0). When it adds the style.css line in the header call it is appending the wrong ...
-2
votes
1answer
36 views

Child-theme suddenly stopped working [closed]

I have been working on a website using the twenty twelve theme. I was modifying the footer.php and when I refreshed my website, I noticed all the extra css I had add in my child theme was not ...
0
votes
1answer
28 views

How to use custom stylesheet only for a template in child theme

I am using Themco's X theme. To modify the theme styles I used the Ethos child theme provided by Themeco. I have designed a custom template in the child theme. Now I want a stylesheet custom-style.css ...
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 ...
1
vote
3answers
839 views

Change Genesis <title> Tag from Page Template [closed]

I have made a page template for a Genesis theme in which I want to change the <title> tag but I can't find any API reference or example to do this. Does anyone have any idea how to do this?
1
vote
2answers
144 views

Cannot get Child Theme to load latest version of style.css

I'm using a Child theme set up correctly. But I just cannot get changes in the Child theme style.css to be reflected in the site. Tried emptying the browser cache a million times and it doesn't work! ...
5
votes
3answers
130 views

Is it possible to override the result of get_template_part()?

I'm working on a child theme, I strongly prefer not to override the main template files in order to maintain simplicity of the child theme as well as minimize the amount of code and maintenance over ...
0
votes
2answers
38 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 ...
1
vote
3answers
921 views

Displaying Custom Fields on Post with Genesis Child Theme

I have tried everything to get Custom Fields to display on my posts using a Child Theme of the Genesis theme framework. I have tried to follow every tutorial I could find relating to it but still I ...
0
votes
1answer
40 views

Functions.php in child theme that loads CSS file breaks website

I created a child theme and created a functions.php file in the child theme directory that also has the required style.css file and a seperate custom CSS file that I want to load. This is the code I ...
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, ...
3
votes
3answers
548 views

Developing a childtheme, how to disable the parents templates?

I am developing a simple child theme based on twentyeleven. But i notice twentyeleven has a showcase and sidebar template when you add a new page. How can i disable these templates from functions.php? ...
0
votes
1answer
50 views

Removing action from template class

I'd like to replace an action in a theme with my own version in a child. In this case, the theme hooks into wp_head to add it's own links. My own functions.php resides in the child theme and looks ...
0
votes
1answer
26 views

How to add modified php in child theme?

I have lot of modification in my php parent theme. How to save it to the child theme that I have? So, if ever the theme have some new version the php files that I modified would not affect. Thank you
0
votes
3answers
108 views

How to activate the child theme in Wordpress?

I create a new style.css and use it in child theme. And I create a new folder in wp-content and name it as themename-child and upload the style.css that I created. Now, I go to wp dashboard -> ...
0
votes
0answers
9 views

Woothemes Canvas - Variable Excerpt Length [duplicate]

I'm working with WooThemes Canvas - and using a child theme, and I'd like two different post excerpt lengths on the home page. The Featured Post is to have a longer excerpt, and the rest on the grid ...
1
vote
2answers
2k views

Is it possible to disable a function of a parent theme?

I was wondering whether it is possible to completely disable a function that is called in a parent theme's functions.php and if so, how? (Of course without deleting the function. Rather by adding ...
0
votes
1answer
43 views

Order of stylesheets in child theme

Parent theme has following code for including styles. function blue_planet_scripts() { wp_enqueue_style( 'blue-planet-style', get_stylesheet_uri() ); wp_enqueue_style( ...
0
votes
2answers
145 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 ...
1
vote
1answer
38 views

Which settings/options are saved on a theme-basis and how does this affect theme-switching?

I realized that when switching the theme (in my case to a child theme) some things don't stay the same: Widgets Menus At least this is what I found out so far: Widgets Don't lose widgets when ...
0
votes
1answer
30 views

unregister_sidebar in child theme not working

I'm woking on a chid theme for Ohsik. I'm trying to unregister a sidebar, but nothing is working Here's my function.php child theme code: function unregister_footer_sidebar() { unregister_sidebar( ...
-1
votes
2answers
187 views

Body classes in child theme

In the theme twentyfouteen, the full-width class is defined with the following code if ( ( ! is_active_sidebar( 'sidebar-2' ) ) || is_page_template( 'page-templates/full-width.php' )  || ...
0
votes
5answers
114 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
35 views

What are some best practices for switching the child theme for a production site?

I have a couple questions related to the best strategy for changing a site's theme. I'll do my best to set the stage apologies ahead of time for the verbosity. I setup a Genesis/Zigzag Press - ...
0
votes
2answers
32 views

Unregistering custom tinymce plugin?

I want to unregister a custom tinymce plugin in one of my child themes. The custom tinymce plugin uses basically: http://codex.wordpress.org/Plugin_API/Filter_Reference/mce_external_plugins excerpt: ...
0
votes
0answers
41 views

Child theme functions randomly broke while editing a page — no errors

My client was editing pages in the admin area of their site, which is currently being hosted on my server. Two of them were logged in simultaneously, but that shouldn't matter. We're using a child ...
-1
votes
2answers
128 views

Redeclare a function in a child theme

I want to redeclare a function that I inherited from the parent theme. When I do it in functions.php, I get a fatal error that redeclaration is not possible. I did a workaround: creating a modified ...
0
votes
1answer
30 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?
1
vote
3answers
75 views

Website Broken on Activating Child Theme! [closed]

My website (at http://japanaddicts.org) breaks down in a rudimentary pro-HTML form when I try to activate the child theme. My parent theme is Codilight. Just explain to me why is this happening. I am ...
2
votes
2answers
2k views

Loading Scripts on Specific Pages

In child theme I created a functions.php file that loads scripts and style files, the code is below. The section that loads libraries and scripts to all pages other than admin, in other words the ...
0
votes
2answers
51 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
0answers
19 views

Help with a childtheme [duplicate]

I'm looking to put a slider into the header of my childtheme. I'm using the Govpress free theme I really don't know where to start. Any suggestions/advice to make this work?
0
votes
0answers
12 views

Remove HTML from search.php of my parent theme

I have a child theme of the theme alterna, and in the search.php (among other code) there is this: <div class="entry-left-side span3"> <div ...