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

-3
votes
1answer
45 views

Obtaining the original unchanged Theme [closed]

Quite a few months back, I had used a third party theme v 2.9 in my wordpress site. I made a few custom changes to css/.php based on my needs. Now, I plan to upgrade the theme to v3.8. Before doing ...
2
votes
2answers
68 views

How to stop PHP code running when in a child theme

I understand you can add extra CSS on top of the parent theme, but how do you remove PHP code from functions.php? I want to remove the Masonry plugin in twentyfourteen theme, and have located the ...
0
votes
0answers
36 views

Editing Admin via Child Theme

The theme I'm using provides an admin page that lets me easily setup jQuery sliders on my homepage, but it limits me to five. Now I'm able to go into the actual theme files and edit these so that the ...
0
votes
0answers
35 views

Using Apply Filters in the-bootstrap parent theme

In the-bootstrap parent theme there is the following function: function the_bootstrap_custom_background_setup() { $args = apply_filters( 'the_bootstrap_custom_background_args', array( ...
0
votes
2answers
28 views

adding a unique page to an existing site

i'm a wp newbie working with an existing site. i've been asked to add a unique page to the site and am having trouble finding out if this is possible. the current site would not change, but there ...
0
votes
0answers
75 views

Child theme not working properly

There's a theme that I want to customise and when I use a child theme in it's most basic form, the main navigation bar disappears, the fonts seem different and there's a few other oddities. The ...
0
votes
1answer
66 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 ...
0
votes
2answers
42 views

What the mean about 'child theme'?

I have read on codewordpress about this issue. In the article "A WordPress child theme is a theme that inherits the functionality of another theme". And then on stylesheet use import style from parent ...
-1
votes
1answer
462 views

Modify Twenty Fourteen Child Theme Single.php

I need to create a child theme for the default Twenty Fourteen theme. And in this child theme, I need to modify the single.php. This is the default single.php get_header(); ?> <div ...
4
votes
1answer
155 views

Adding Action Hooks In Parent Theme For Easier Child Theme Customization

I was wondering why isn't anyone (haven't be able to find one with it) adding custom hooks an the beginning and at the end of the theme's function.php for theme development. The reason I'm asking ...
0
votes
1answer
112 views

Running javascript in a child theme. Works in jsfiddle

Here is the JSFiddle http://jsfiddle.net/thornwalker/3LQjS/ I'm trying to get it to run on my wordpress blog and having no luck. My skill is novice at best, but up until now I've been able to muddle ...
0
votes
1answer
71 views

Translated words not showing child theme

I created a child theme for the twentyfourteen theme which I'm also busy translating into Afrikaans. I've named the file pietergoosen-af_AF.po and placed it into the languages file and I've ...
0
votes
0answers
81 views

Cannot modify a registered custom post type rewrite slug

I'm using this function in my child theme to modify the rewrite slug from custom post type that was registered on the parent theme. But it doesn't work. function change_rewrite_rules() { global ...
-1
votes
2answers
167 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
1answer
57 views

How to create a archive template for custom post type [duplicate]

I've created a custom post type using Custom Post Type UI and Advanced Custom Fields plugins. The name of my custom post type is article. I want to have a page which lists all the articles in a ...
0
votes
1answer
64 views

Wordpress theme Modifications not showing up on live server

I have been working on localhost with a theme that was already installed on live server. After i completed my mods, uploaded the files to themes folder in wp-content but to my disappointment, the same ...
3
votes
1answer
74 views

Theme customizer: How do you grab the value later?

I'm working on a custom site, doing all my work in a child theme. I need to add one variable, slider speed, to the customize control system. I've been able to modify the custom controls via the ...
0
votes
0answers
27 views

Change the order of sidebars in admin

Say I use a child theme and my parent theme already registered four dynamic sidebars. Now I am registering a fifth dynamic sidebar in the functions.php of my child theme. In the backend that last ...
0
votes
1answer
55 views

Under heavy cache conditions, updating the parent theme don't reflect changes with child theme enabled

I use W3 Total Cache, Cloudflare (and CloudFront for media files). I use a Child Theme to customize specifically for my site while maintaining the core theme with the parent theme. Whenever I update ...
0
votes
1answer
48 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
60 views

Custom Post Types and Child Themes!

OK here is my question.... I have a professionally purchased theme that has a custom post type of "PortFolio" built into the theme. The post type is ideal for what i'm trying to achieve in the ...
0
votes
1answer
103 views

How to create a non-responsive WordPress Theme Using Genesis Framework?

I am new to coding and I really don't know how to create a non-responsive child theme which runs on the Genesis framework. Besides that, I tried to modify a child theme and it all went well but one ...
0
votes
2answers
87 views

Display random page

I'd like to display a random page that: has a parent page of X or Y or Z, etc. excludes pages with the title "Contributors" The following code works (though without the specific conditions above), ...
1
vote
3answers
765 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
81 views

Get specific sidebars $wp_registered_sidebars [closed]

I've got the following functions as in this pastebin in a child theme: http://pastebin.com/uzjmXiyN This functions creates a drop down box from where you can choose a sidebar for use on a ...
0
votes
2answers
98 views

Test if a Category contains certain Custom Post Types

I have several Custom Post Types and several Categories. Within my pre_get_posts hook (in functions.php), I'm changing the chronological order for very specific Custom Post Type archive pages. ...
0
votes
3answers
104 views

Having some trouble properly displaying Custom Post Types in templates

I have a child theme of Twenty Thirteen and I've setup Custom Post Types for several items. They are showing up in the Dashboard, I can create the Custom Posts and they show up in various categories ...
1
vote
1answer
418 views

Problem only while using require_once() within functions.php

I use add_theme_page() within my child theme's functions.php implemented something like this... // other functions located here that create a custom options page in the Dashboard. // THIS IS NOT A ...
1
vote
1answer
34 views

Localize strings for translation

I'm rebuilding my website from a child theme of twentytwelve to child theme of twentyfourteen. Most of the functions I'm using comes from tutorials, so most of the string aren't localized. With this ...
0
votes
1answer
16 views

Correct way to customise a child theme

I know that the best way to customise a theme is to make a child theme. In this instance I am helping someone make changes to an existing 3rd party child theme, can I make a child theme of a child ...
1
vote
2answers
67 views

How to make child theme ignore a parent themes template

I have a childtheme of twentythirteen in which i want to use the same template for pages and the blogposts-overview. But in twentythirteen is a page.php and an index.php. So I need override both, ...
1
vote
1answer
37 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
0answers
120 views

Buddypress theme is having a problem with notification component

I am having exactly the same problem as this with a buddypress theme . I downloaded the latest version of buddypress, but I am still having "double buddybar" when I click on Notifications . I need ...
0
votes
2answers
232 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
282 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
42 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
95 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
28 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
66 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
103 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
37 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
26 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
67 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
195 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
130 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
63 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
127 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
721 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
171 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
113 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( ...