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
41 views

Will the use of a child theme create problems with commercial parent theme's options?

My client has a commercial theme full of options running on his site. I need to apply changes in the header.php and style.css. I plan to create a child theme so he can continue update his theme in the ...
0
votes
2answers
285 views

Display custom homepage text based on domain

I am running multisite for 5 sites. I have a theme where it doesn't have a text area at the top of the page but i want to put some introduction text on the homepage. I currently have all 5 sites using ...
0
votes
1answer
336 views

How to add a custom post type in child theme? (Wordpress > 3.0)

I'm using Wordpress Magazine Style Theme (http://wordpress.org/themes/magazine-style) which doesn't have any other than default post format set (no galleries, aside, etc.). I would like to create a ...
0
votes
1answer
50 views

When activating a child theme, what core settings have to be reset ie; Custom Menus etc?

When activating a child them I often have to reset custom menus. The menus themselves are still created but just have to be activated again. Is there a list of settings which are often unset when a ...
2
votes
1answer
101 views

HTML head-tag get broken in my child theme

I created a child theme from twentythirteen and it worked like it should. Then I made a copy of the parent theme's header.php. As soon as I created it, the outputted HTML got broken. All tags that are ...
0
votes
0answers
29 views

Add custom css to menu while using custom nav_menu_tag

I created a custom menu to replace my li with td markers. However, I need to be able to add some custom tags through the wordpress menu. How do I do so? Is there something I can add to my ...
0
votes
0answers
80 views

How to override a parent theme framework php file in child theme

I have a theme which is using a custom framework to create custom post types, I want to extend it in child theme so that I will use the same methods to create a new custom post type in child theme. I ...
0
votes
1answer
118 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
1answer
28 views

How do you make your theme Child Theme-able? [duplicate]

I'm sorry if this is an obvious question, but I've tried looking everywhere and can't seem to find an answer. Are WordPress themes automatically Child Theme-able? Or is there a process to make a ...
0
votes
1answer
74 views

Need advice on theme customizer and child themes

I have been working on a theme, initially it only had one design and I made almost all of the front page elements customizable through the theme customizer. Now I would like to offer a few variations ...
1
vote
1answer
226 views

Activate Child Theme .mo and .po files

I am experiencing some problems while trying to use my dutch .mo and .po files for my child theme. I have added the following line to wp-config.php: define ('WPLANG', 'nl_NL'); After that I have ...
0
votes
1answer
178 views

How do I override a sidebar that is registered in a parent theme when using a child theme?

I currently am using a child theme, and its parent theme has registered sidebars already.. My. problem is that i want to change the parent theme's dynamic sidebar From: register_sidebar(array( ...
1
vote
0answers
71 views

Is it possible to make *.js and folders visible in theme-editor

I just created a file test.js in the folder of my own child-theme. Unfortunately it is not visible in the Theme editor. How can I make it visible? And is it possible to make folders visible?
0
votes
1answer
160 views

Add content after get_header

I'd like to add content directly after the div#main (end of header.php) and before /div#main (beginning of footer.php). I'm using an own child-template (of twentythirteen), that contains only ...
0
votes
4answers
811 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 ...
1
vote
0answers
187 views

Edit and make class-wc-widget-featured-products.php update-proof

Within the class-wc-widget-featured-products.php file I need to Remove this on Line 101: <?php if ( $r->post->post_title ) echo get_the_title( $r->post->ID ); else echo ...
0
votes
1answer
124 views

Functions.php in Child Theme - load JS

My theme uses this function to load Javascript and CSS function aitEnqueueScriptsAndStyles() { // just shortcuts $s = THEME_CSS_URL; $j = THEME_JS_URL; aitAddStyles(array( ...
0
votes
1answer
44 views

Extend Custom Post Type

A theme I use registers a custom post-type. Unfortunately its supports array misses an item, I would like to add ('thumbnail'). Now, I don't like to overwrite the post-types registration in the theme ...
2
votes
2answers
2k views

How to override enqueued styles using a child theme

I'm creating a child theme (My first in over 3 years) of a WooCommerce theme and I'm having some trouble with the fact that some of the layout styles are enqueued in the parent theme and I'm having to ...
0
votes
2answers
792 views

How can I make new .css file in child theme override styles in child theme's style.css

I want to make a separate responsive.css file in my child theme but having trouble making the media queries override the styles in the child theme's default style.css. I've tried putting <link ...
2
votes
1answer
61 views

Overwrite CSS with without deleting it

I have some css in the theme that I am using, I want to keep the stock style.css without deleting any of it. I want to use my child-theme style.css to remove or hide some values of a class. I would ...
0
votes
1answer
126 views

Switching to child theme breaks menu names

When I switch to the child theme I am working on, the main menu uses the page names instead of the names that I gave it in the Appearance > Menu options. Happened to anyone else?
0
votes
0answers
50 views

Widget in child theme having missing argument

I'm trying to build a child theme on top of a parent theme. So far so good but now I'd like to modify a parent theme widget. So I setup my new file in the child theme, require_once the file, and ...
1
vote
1answer
60 views

Conditionally load child themes

I am wondering how to conditionally load child themes? I have a site that is going to change with the seasons. The underlying architecture will remain the same, just different styles and a few minor ...
2
votes
1answer
871 views

get_template_directory vs get_stylesheet_directory

I am trying to create a child theme and need to replace some files that are in sub-folders. In this post, it states 'get_stylesheet_directory(); will go to the current theme, child or parent ...
1
vote
3answers
497 views

How to remove a file included in parent theme with locate_template() via child theme?

In my theme I use locate_template() to load the various parts of my functions library. I'm looking for a way to not include one of those files when using a child theme. I tried adding ...
6
votes
2answers
990 views

Do Child-Themes automatically load the Translation from the Parent-Theme?

Is it enough to just create a child-theme - let's say technically without adding anything else but the bare minimum style.css - to have the translation of the parent-theme being used automatically for ...
0
votes
1answer
123 views

Can't override template file in child theme

I have my WordPress installation running using a child theme based on a theme I have bought. The original theme has templates files in a template folder /original_theme/template/testimonial.php. I ...
0
votes
1answer
217 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 ...
0
votes
1answer
293 views

Child Theme Performance

I've read a lot of discussions here and elsewhere about creating a child theme being the recommended way to create a theme based on some other existing theme. I'd like to know about possible ...
0
votes
1answer
73 views

Stylesheet overriding in Child theme

So here's my problem : I have two stylesheets in my child theme : style.css and style-premium.css (Which contains only modified CSS). My posts use one of these stylesheets depending on their category. ...
0
votes
1answer
77 views

How to add functionality to an existing theme (using child themes)

The reason why I ask such a question isn't because I don't know how to do so at all, but rather I think the way I've trying to go about it may be wrong and that I don't understand how wordpress works ...
1
vote
2answers
215 views

How to update WordPress core or themes and still have my child theme hooks work

I made a child theme based on the WordPress twentytwelve theme (i.e., the WordPress 'twentytwelve' theme is its parent). Some of the modification were done very simply by overriding style, using my ...
0
votes
1answer
30 views

How do I get rid of or change the footer in my child theme?

I want to remove the default theme name and "powered by WP" text in the footer of every page. I've created a child theme to hold all my customizations from the original theme so that my customizations ...
0
votes
1answer
82 views

Edit php files in subdirs in a child theme

I want to change a php file in a subdir of my theme folder. The path to that specific file is: /includes/sf-content-display/sf-post-formats.php I copied the file within the subdirs in my child theme ...
8
votes
2answers
677 views

How do themes provide support for child themes?

One of the requests on themeforest is that themes are required to provide child theme support. I know what child themes are, although I haven't worked a lot with them, but I would like to know is ...
-1
votes
1answer
89 views

Custom field not showing

I am trying to get 3 images and their links which I have defined as custom fields. The custom field aren't displayed and when I var_dump() my get_post_meta() it returns string(0)"", what am i doing ...
0
votes
1answer
2k views

Change custom featured image size in twentythirteen child theme

I need to change the post thumbnail size in my child theme. I have read several answers on how to do this in twenty twelve, which is very similar, but nothing is happening when I use similar code for ...
0
votes
1answer
147 views

Remove post author using child theme

I'm using twentytwelve but I don't want the author to show on single post pages. How would I go about doing that without deleting it from the parent theme.
0
votes
2answers
158 views

Two stylesheets acting on one element

I am trying to style one element with max-width and I was having problems. I discovered that the child theme stylesheet was being augmented by the original stylesheet with width at the same time. ...
1
vote
1answer
158 views

Child Themes of Non-Wordpress Sanctioned Templates

I have created and used over a dozen Wordpress child themes for various websites. I have downloaded the themes from Wordpress. This time I wanted to use a theme outside of Wordpress' realm. I heard ...
0
votes
1answer
226 views

display last post modified date in genesis child themes

Since I frequently update posts so it’s crucial for me to display last modified date instead of post published date like following image. Its because I want search engine to display my post last ...
1
vote
1answer
48 views

a child theme not de-registering a patent javascript file

We're currently rolling out a number (>100) of wordpress sites where we're using a custom child theme and a holding page plugin. Most of our clients use IE8 as their browser (corporate policy) and ...
2
votes
4answers
1k views

Hide a div that is part of all pages on one specific page

How can I hide a div (which contains an image) for a specific WordPress page? I believe my page id is 46: Here is the div I am trying to change: <div id="static-footer-image" ...
0
votes
1answer
51 views

Child theme template value for style.css for parent in different folder

I am making a child theme in the .../wp-content/themes/ folder however the parent theme that I am building on is in the .../wp-content/plugins/ directory. I am able to import the parent style.css ...
1
vote
3answers
920 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?
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 * ...
2
votes
2answers
129 views

is there a simple way to list every templates / php files used to generate a specific page?

To customize a theme , it is not always easy to trace every files that are used and find out which one do what . For example i' like to find out how my menu is generated so i can add some conditions ...
2
votes
1answer
270 views

Add post dates from child theme and change font size on homepage post

I know this is not difficult. I know it is supposed to be in the style.css in the child theme, but no font size I change seems to make any difference. The titles of the posts on my homepage never. ...