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

2
votes
1answer
68 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
26 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
40 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
63 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
32 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
23 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
48 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
140 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
68 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
47 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
84 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
493 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
119 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
89 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
30 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
744 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
358 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
52 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
58 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
41 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
49 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
353 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
214 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
545 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
80 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
0answers
154 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
168 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
203 views

WC Cart Edit Public Function

How would you go about making an edit to the following public function in your child theme? For instance, I would like to comment out the 'if statement' in the WooCommerce WC_Cart class function that ...
0
votes
1answer
65 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
69 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
173 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
26 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
68 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 ...
6
votes
2answers
395 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
83 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
1k 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
102 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
0answers
121 views

Show post last modified date twentyeleven theme

Here is the code snippet i'm using to display last modified date in my twentyeleven child theme since i frequently update my posts but the problem is search engine is not displaying my post last ...
0
votes
2answers
93 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
110 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
179 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
38 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
497 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
44 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
2answers
454 views

Change Genesis <title> Tag from Page Template

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
42 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
89 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
196 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. ...
0
votes
1answer
82 views

How to Change MU/BuddyPress Group Blog New Installation Defaults

I am trying to work with a Multisite install of WordPress and modify the default "child" blogs in the network. The details are: -I have a main site built on Commons in a Box (CBOX) which is a ...
1
vote
2answers
141 views

two columns of posts on homepage, one of them “favorites”

I'm using a child theme of Twenty Twelve in wordpress. Here's where I am developing the site: http://internalcompass.us/castle/ You'll notice the two columns of posts on the homepage. I have one ...