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

How can I change a function in a parent theme via a child themes functions.php

I have a function in a parent theme: function cyberchimps_logo_icons() { ?> <header id="cc-header" class="row-fluid"> <div class="span7"> <?php if ...
1
vote
1answer
31 views

Importing changes to Child Theme

I've made numerous changes to my theme via the CSS block in Theme Options. Wondering if there's a seamless method to migrate these changes to a Child Theme. I don't have much coding knowledge but I ...
1
vote
1answer
199 views

Declaring an instance of class included in parent theme from child theme functions.php

Please note this is all "working" - the question is about the best practice and to try and work out why I need to include the PHP file which contains the class in two places for it to work correctly. ...
1
vote
1answer
230 views

Rewrite post type slug only for child theme

I'm in multisite where some blogs share the same parent theme for maintenance reasons. All my cpts come from that parent theme, but I would really like that, for one of the blogs, it had an URL mask. ...
1
vote
2answers
955 views

Select full Image Size on widget “Genesis - Featured Posts”

I'm writing a child theme for Genesis and trying to figure out to get the full image sizes on "Genesis - Featured Posts" widget. The widget has a check box "Show Featured Image" and "Image Size" ...
1
vote
1answer
472 views

How to remove a parent theme template from Quick Edit?

I was looking for a way to hide the parent theme's templates and found this answer which works perfectly to remove the parent templates from the pages edit screen - How to *remove* a parent theme page ...
1
vote
2answers
2k views

how to change my child theme featured image dimensions?

I am developing a child theme based on the twentyten theme and now i notice the featured image in the WP backend (wp-admin) shows the wrong scaled image. It shows the "twenty ten" size, meaning an ...
1
vote
2answers
330 views

Linking to Child Theme PHP Files

I have an existing website with html, css, js, and image files that I am trying to convert over to wordpress. I installed a clean local install using mamp on my hard drive and created a new child ...
1
vote
1answer
371 views

How to override my plugin's php classes with duplicates that are in my child theme folder

I have a child theme in wordpress and one of the plugins I am using is called jigoshop. I made a copy of a few php classes from the plugin and placed them in my child theme folder. I want these ...
1
vote
1answer
201 views

get_header('header2') not working properly in child themes

I am trying to replace header-header2.php of my main theme in my child theme and by adding the file in the child theme, but wordpress is loading the file from the main theme itself. Is the second ...
1
vote
1answer
178 views

How to load parent theme style.css?

My WordPress site uses a theme that is a child of a parent theme. As required, both themes have style.css files. However, as far as I can tell WordPress only provides the mechanism to load the child ...
1
vote
1answer
973 views

How do I get my child-theme to work with my theme's includes folder?

I am using the Canvas WordPress theme (by WooThemes.com) and successfully made a child-theme to override my CSS. However, I would also like to apply the same child-theme principles to my theme's ...
1
vote
1answer
349 views

Use child theme on certain pages and not others?

I have created a twenty-eleven child theme, I want to know if its possible to only load that child theme on certain pages, maybe with the custom page templates? I have looked via google and on here ...
1
vote
2answers
545 views

Twentyten Child Theme: header images display messed up in admin panel

WordPress v 3.0.4 multisite-network enabled, local installation w MAMP 1.9.4, PHP 5.3.2, Theme: Twentyten child TWO PROBLEMS: 1) Display of header image thumbnails in admin panel and 2) path to ...
1
vote
0answers
14 views

How to add anchor tag at the top of posts, past the header and nav bar?

my site is here: http://wedding.chloe-nguyen.com/ I am using the default Twenty Fourteen theme, modifying in a child theme (my first). Scroll down and click one of the featured posts. You get taken ...
1
vote
1answer
28 views

Why does my functions.php cause white-screen and media-library issues?

Overview: I was authoring a child-theme, and realized that functions.php was causing problems with the media-library and caused a "white-screen" to appear after editing a post. I fixed the issue by ...
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?
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 ...
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 ...
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?
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 ...
1
vote
1answer
94 views

How to transfer changes to a child theme?

I'm using a Template called D5 Design. They have an update, and I've made changes to a few of the PHP files in the Theme files. (changes to text on certain pages mostly) When I do the update, I ...
1
vote
1answer
84 views

How do WP child-themes work? [closed]

Ok, I have my main theme setup, and now I created a child theme with the name interio_child. From these instructions I understand that you only need to add the style.css file which makes the link to ...
1
vote
1answer
52 views

Unregister Nav Menu with fallback?

I am trying to create a child theme so theme updates are much easier. I want to remove the parent theme menus and add my own. I know I can modify the header.php file (where these menus exist) and ...
1
vote
0answers
203 views

How to edit php files in Child Theme?

I created a child theme and i want to edit a php file. So i copy and paste the php file into the child's theme folder and then i edit it. But it seems that nothing changed in the site preview! In the ...
1
vote
1answer
62 views

child theme inherticance and php autoload

I wrote this method in a parent them that will auto load a class based on the class name, thus if the class name is: SomeFolder_Folder_Folder_Class.php then it will convert that to: ...
1
vote
0answers
65 views

Checking for page templates in child theme

I have a simple problem I'm hoping someone can shed some light on. I have a child theme with a custom page template and I'm simply trying to check weather or not the template is in use. Under normal ...
1
vote
0answers
106 views

Theme Customization API and child themes

I've recently developed a parent theme that makes heavy use of the Theme Customization API. Is there an easy way to port these settings when a user activates one of my child themes? Currently, the ...
1
vote
1answer
772 views

WordPress Multisite Multiple child theme

I have a mulisite setup and I am using one theme for multiple sites in it and each site have a custom layout and design. So for that I need to create a child-theme. But I don't know how to create ...
1
vote
0answers
400 views

Skeleton Child Theme Add Icon Bar to Header Flex Grid

Skeleton Child Theme Version 1.6 WordPress Version 3.4.2 Child Theme installed on main Multisite: public_html, wp-content, themes. My CSS, PHP Coding skills = NOVICE What I've done: Using the ...
1
vote
1answer
646 views

roots child theme can't override header.php

I made a child theme for roots and it worked as expected. I can override everything, including footer.php, but not header.php. My header.php looks exactly like the one from roots at the moment, except ...
1
vote
1answer
699 views

How to keep my custom theme changes after updating genesis child theme

I am using a Genesis child theme that I would like to make some custom changes to it, but would like to be able to update it when a new version comes out without loosing my edits. I am familiar with ...
1
vote
1answer
144 views

How can we hide the parent's theme url at the child themes details on a multisite?

I hope the title makes sense. But anyway, to clear things up, here is a screen shoot of what I mean: To be honest I really don't see how site admins benefit from this piece of information since ...
1
vote
0answers
52 views

Gettext Loads slightly different text [closed]

@ all single post pages the text to indicate one needs to be logged on to leave a comment is not displayed as expected I have this gettext: msgid "You must be %1$slogged in%2$s to post a comment." ...
1
vote
1answer
2k views

Do I only need to import style.css for a child theme?

I am creating a child theme for the first time, and sort of learning as I go. I am having an issue with the way videos are showing up on a mobile phone with my child theme, but not with my parent ...
1
vote
1answer
140 views

Trying to figure out why my child theme is trying to access a file that doesn't exist

This is my attempt at making a child theme, and everything seems to be working well, however when I view the source code I'm seeing this <link rel='stylesheet' id='bootstrap-css' ...
1
vote
1answer
182 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
2answers
373 views

Grandchild themes and optimal network architecture

I'm trying to create a versatile Wordpress network . In order to speed up development, I imagine I'll need to channel projects to different themes at an early stage. At the core of my network ...
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
823 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
3answers
4k views

how do I queue my Child stylesheet/s *after* every Parent stylesheet/statement?

I'm using the well-written Oenology theme by Chip Bennett as the Parent to my own Child theme. In my development process, I've discovered that there are some challenges for people writing Child ...
0
votes
2answers
101 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
668 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
2answers
92 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
97 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
40 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
338 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
19 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
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 * ...