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

0
votes
1answer
828 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
1answer
119 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
41 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
357 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
26 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
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 * ...
0
votes
1answer
631 views

WP is not using the select custom template.php that its selected for a page

I created a childtheme: Fisio Inside I have: page-team.php with the name: <?php /* Template Name: Page - Team */ ?> <?php get_header(); ?> <script>alert('its the team ...
0
votes
2answers
172 views

how do i in ignore/disable/delete a javascript call from parent in child theme?

I am working on a child theme and I want to disable a JavaScript file from the parent folder instead of deleting it. I have a functions.php file in my child theme folder but don't know how to do it. ...
0
votes
1answer
355 views

filterable portfolio with wordpress and jquery

I used this tutorial in creating portfolio page: http://wp.tutsplus.com/tutorials/creating-a-filterable-portfolio-with-wordpress-and-jquery/ I am working on Thematic child theme: ...
0
votes
3answers
150 views

Need help with adding templates (archives and sitemap) to Wordpress child theme

I recently switched themes, and my old theme had templates for sitemap and archive (in fact the archive was one of my most viewed pages.) When I switched themes the link to the archive and sitemap ...
0
votes
1answer
76 views

Which is the child theme and which is the parent theme?

In the themes folder for my blog, there are three folders and one file: The file is index.php and the folders are: twentyeleven / wordfruit / twentyten The blog is at http://wordfruit.com/blog ...
0
votes
2answers
299 views

Child Theme Based on Toolbox Not Found

I am trying to make a child theme of the toolbox theme and use it in my multisite WP 3.2 install. I created a folder called wp-content/themes/charlie-repair-toolkit/ then I created style.css in the ...
0
votes
2answers
27 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 ...
0
votes
2answers
37 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
1answer
34 views

Child theme preview missing

I followed the beginner steps for creating a child theme. The child theme was created and it appears as an option on my Themes page. But unlike the other Themes on the page (including its parent), ...
0
votes
1answer
104 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
4answers
726 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 ...
0
votes
1answer
89 views

Modular CSS and JS in Child Themes

Let's assume that twentythirteen/shortcodes/ exists and inside are folders with shortcodes. 1 folder = 1 shortcode. Each shortcode has: 1 PHP file, 1 CSS file, 1 JS file. ...
0
votes
1answer
98 views

What are the best practices for maintaining and deploying several parent themes?

I've been trying to commission a freelancer to make me a custom website and hit a roadblock when I said I wanted a parent theme. The freelancer strongly preferred to make a child theme based on his ...
0
votes
1answer
292 views

Change labels of custom post type via child theme

I have a WordPress parent theme that uses a custom post type called portfolio, which I'd like to change to property. I'd like to have all of the contextual elements changed to show property like, ...
0
votes
2answers
484 views

Color Options from Theme Customizer API not returning via get_theme_mod()

I am working with the Theme Customizer API and am going crazy trying to find the stored values. The values successfully save and update on the front-end, so they are obviously registered ...
0
votes
1answer
526 views

some things in child theme css not overriding parent

I am writing a child theme with Blogolife as its parent. (I'm doing it on a local server, so can't show you the actual page). I have made several changes to the CSS in the child theme's "style.css" ...
0
votes
1answer
61 views

child theme - moved files from twentyeleven theme to child them, now not working

I'm trying to create a child theme. I copied the files from my twenty eleven theme into my twenty eleven child theme folder, and now the webpage displays blank page. my dashboard settings changed ...
0
votes
1answer
55 views

Why would changing a child theme to a normal theme pass a Template is missing. error

I have what used to be a child theme but I added to it to the point where its a theme on its own. I pulled out the Template line in the style.css and now I get the: This theme is broken. Template is ...
0
votes
1answer
623 views

Creating a child-theme: CSS not loading

I created a custom theme (style.css in the dashboard) /* Theme Name: Client customisations Description: Child theme for the client Website Author: Me Author URI: ...
0
votes
1answer
74 views

Multiple Child Themes

I have a quick question: Is it possible to have multiple child themes activated at once? I need to have many different page templates activate at once. If it's not possible how can I go about it?
0
votes
2answers
157 views

Starting point for custom Themes [closed]

What are good themes to start from when creating a custom WordPress theme? So far I have found: HTML5 Reset Theme Constellation Theme
0
votes
1answer
56 views

simplified explanation on child themes?

I'm trying to create child theme for theme i'm using on my site... I read lot's of articles about this, but can't find simple tutorial or simple explanation how to do it... As i understand so far, if ...
0
votes
1answer
541 views

Creating new templates in child themes breaks layout

I am learning how to create new templates in WP. I am using a child theme of Twenty Eleven. My problem is that whenever I create a new template the layout breaks. For debugging I stopped using any ...
0
votes
1answer
182 views

Simple child theme modification but links are broken

I have created a simple child theme to modify the Minimal theme by Elegant Themes. The child theme loads with the changes I have made, but the links to pages in the header are all messed up. Rather ...
0
votes
1answer
181 views

conditionally echo <br /> in meta box data loop

I am working on a Thematic child theme and using the WPAlchemy Meta Box Class to create an 'Artwork Info' meta box that I want to conditionally echo like this at the end of each post: Title Medium ...
0
votes
1answer
27 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, ...
0
votes
2answers
95 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 ...
0
votes
1answer
28 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?
0
votes
5answers
107 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
101 views

Change Twenty Twelve's comment form in a child theme

I have a custom child theme of Twenty Twelve. I want to change the text "Leave a reply" to "Leave a comment", and also remove the website field from the comments form. How can I do this? Thanks.
0
votes
2answers
894 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 ...
0
votes
2answers
40 views

How do I change a parent theme's function through the child theme?

This is a function loaded by the parent theme. Through the child theme, I want to change this function to say is_single instead of is_singular. What would be the correct way to achieve this? ...
0
votes
1answer
38 views

How do I change the login logo URL and hover title?

I am trying to change the login logo URL and hover title. I am using the code below but return bloginfo('url'); and return bloginfo('name'); aren't outputting the desired href and title. I'm also ...
0
votes
1answer
67 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
1answer
58 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
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 ...
0
votes
1answer
131 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( ...
0
votes
1answer
37 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 ...
0
votes
1answer
102 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
1answer
245 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
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
2answers
137 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. ...