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

Child themes, over riding in the parents theme

I understand the following about functions.php: Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. Instead, it is loaded in addition to the ...
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 ...
2
votes
2answers
107 views

TwentyTwelve versioning

I'm making a child theme for TwentyTwelve, but my host is caching my files, so I'm not seeing the changes I do to my style.css file. Is there a way to version the stylesheet for my child theme? How ...
0
votes
3answers
1k views

Is the front-page.php template reserved in wordpress twenty twelve theme?

I'm writing my first twenty twelve child theme and came across (what I think) is a strange quirk. I modified front-page.php to have a slider using sliderjs, afterwards I decided I did not want to use ...
0
votes
1answer
463 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
1answer
128 views

Overwriting TwentyTwelve template file with child theme template, but lower in the hierarchy

I've (I think) an interesting problem here. What I want to do is create a global archive page, with everything on it. Dates, authors, categories etc all on one page. I have a child theme, with ...
4
votes
3answers
19k views

WooCommerce shop page to use my custom template

Before asking the question I want to tell you that I have already asked the question in http://stackoverflow.com/questions/15025213/wordpress-woocommerce-template-file-overiding I am using the ...
2
votes
2answers
240 views

Should I ask a theme developer to use locate_template rather than require_once

I was creating a child theme today and needed to overwrite a php file which was included using this code in the themes functions.php file require_once( get_template_directory() . ...
1
vote
2answers
253 views

Child Theme vs. Jetpack Editor

I have read that it is always desirable to create a "child theme" so that any changes I make don't get washed away if the main theme is updated. However, one of Jetpack's features is a CSS editor ...
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 ...
0
votes
1answer
40 views

How can I block with a child theme certain pages?

I am using the Woocommerce Wordpress plugin for an E-commerce site. I want to be able to set the site in a non-ecommerce mode, ie without the cart and checkout etc etc. I know there is a plugin you ...
7
votes
2answers
469 views

how can I add an icon/image for a child theme?

I have set up a child theme of the twentyten theme. In the themes section that under the appearance, I can only see the child theme's title, author name, and a grey box above it. How can I add an ...
0
votes
2answers
55 views

Child Theme Variables

In my theme, I used this: <div id="brickwall" data-brickinvert="<?php echo brickAlign(); ?>"> I put the code into functions.php: function brickAlign() { $a = "true"; return $a; ...
2
votes
4answers
513 views

@package & @subpackage: how to use with child themes

My problem is with @package and @subpackage. I went to the link (What are the package and subpackage comment for?). This was the answer: "These are PHPDoc tags - used to generate meaningful (and ...
2
votes
1answer
88 views

iPhone Safari full size & PC versions different

This site displays the correct logo at top left of the content in Chrome, but displays the incorrect logo in Safari on an iPhone, at full size browsing. The incorrect logo says "Dandelion". The ...
0
votes
2answers
396 views

wordpress every page returning 500 error

I found out I was editing themes wrong, and that I should be using child themes, so I duplicated the theme I was using, and told it to inherit off of its parent. That's about the only thing I did, I ...
0
votes
1answer
110 views

Sliding-Doors Child Theme

I'm trying to make a child theme for Sliding-Doors, a Wordpress site. I'm following all the right steps but the child theme is not showing up on my admin panel to activate it. Is it because I am using ...
3
votes
4answers
2k views

how to call files in child theme?

I created a child theme "my-theme" . In style.css I wrote nothing just the mandatory details I wrote there. /* Theme Name: my-theme Theme URI: http://example.com/ Description: Child theme ...
2
votes
3answers
864 views

Optimal solution to develop a wordpress theme?

What i was doing previously, are as follows - I copy the wordpress base theme (like twentytwelve in wordpress 3.5) Rename the folder and converted index.html of my HTML to index.php for wordpress ...
1
vote
1answer
768 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 ...
0
votes
1answer
73 views

Converting a theme to a child theme in a network

I'm converting a few themes to children of another theme. I want the themes to have the same name as before, and I'd like the change to be transparent to the users of my blog network. When I replace ...
0
votes
1answer
819 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 ...
1
vote
1answer
280 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 ...
0
votes
1answer
50 views

creating a new child theme

When I create a child theme I have to create it all under the unzipped wordpress/theme file? Will it automatically add itself to my web page or does something have to be done to activate it?
0
votes
1answer
228 views

Display Page Meta Description on Child Theme’s Home Page

I’m working on a project. I need to display Custom Document Title & Page Meta Description in the home page. I mean you know that genesis has a custom Theme SEO Box under Post. I want that custom ...
0
votes
2answers
51 views

Standard Way To Do Custom Work Within A Page?

First post here, looking forward to using this community more. I'm trying to figure out the "standard" way or "proper" way of doing custom HTML work within a particular page. For example, I'm ...
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 ...
0
votes
2answers
156 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
132 views

Finding URI in Child Theme

Which is best way to find URI in child Theme. <?php echo get_template_directory_uri(); ?> <?php bloginfo('template_directory'); ?> Below given code works but it has "stylesheet" in it, ...
8
votes
3answers
397 views

Starter Theme vs Parent Theme? Pros and cons

I'm building a theme to be used as an example for other websites for the company I'm working. In another project we used the Hybrid Parent Theme and was really easy to build, but REALLY hard to ...
0
votes
1answer
174 views

Referencing parent theme image from child theme

Apologies if this has been answered elsewhere, but I've had some trouble finding the solution via Google. I've set up a parent theme and a child theme. Inside the parent theme I have a directory ...
0
votes
2answers
123 views

Wordpress Theme Breaking on Migration to Live Site [closed]

I've developed a Wordpress site locally and have recently been trying to upload it to the server. Although every time I do so, the child theme I have created for the parent seems to break. I can't ...
1
vote
0answers
399 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
votes
3answers
497 views

Can I change header.php of current theme through a plugin function?

I need to add some html into the header.php but instead of directly changing the header.php of my theme or creating a child theme, how can I do it with just actions and/or hooks?
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 ...
1
vote
1answer
644 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 ...
0
votes
1answer
58 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
49 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 ...
1
vote
1answer
288 views

bbpress change the word forum, topic, reply in the forum to another word I choose

bbpress I would want to customize my Forum in bbpress. by changing/replacing the words that appear on the forum layout. I would like to change the words (everywhere they appear): Forum, topic, reply. ...
1
vote
1answer
196 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. ...
3
votes
1answer
1k views

How to edit bbPress template files - WordPress + BuddyPress + bbPress?

I am using BuddyPress 1.6.1, bbPress 2.1.2 and WordPress 3.4.2 I follow the guide here. In the end, I did the trick pointed out by Sarah Gooding because mywebsite.com/forums was blank right after ...
1
vote
2answers
381 views

Twenty Eleven Child theme error when attempting to use a rewritten function

I attempted to make a minor change to a function in the Twenty Eleven theme (wordpress 3.4.2) I get this error message: Fatal error: Cannot redeclare twentyeleven_widgets_init() (previously declared ...
2
votes
2answers
743 views

Adding Custom Javascript to Skeleton Child Theme

I'm trying to register & enqueue ImageMapster in my Skeleton Child Theme on the main.php page to make an image map with hovering image effects. I added this code to the "Header Functions" section ...
1
vote
1answer
725 views

Custom post types and child theme

Okay, here's the deal. I am working with a child theme and I want a custom post type. What I did Added the following code the functions.php of the parent theme. add_action( 'init', ...
2
votes
1answer
189 views

How do I copy my Parent Templates to my Child Templates?

I'm trying to customize the Home Page of a Responsive Theme template. I had started with the Responsive theme and then found out that I had to do customizations on a child theme, so I downloaded the ...
1
vote
1answer
158 views

Should a child theme share the same theme options row as the parent, or should it have it's own options row?

I'm developing a theme which uses the NHP Theme Options Framework to add some theme options. Naturally, the theme options framework creates a single row in the database to store the theme's options ...
1
vote
2answers
511 views

Is it possible to make grandchild themes?

If I use one of the popular frameworks such as Genesis, is it possible to create grandchild themes? As an example, I want to use Genesis as the backbone of all my sites. Genesis is called a framework ...
5
votes
1answer
3k views

How do I dequeue a parent theme css file?

My parent theme (Starkers) adds a CSS file that I'm trying to remove (I want to use @import instead so I can override styles more easily). Starkers has the following in its functions.php: add_action( ...
-1
votes
1answer
76 views

Vague Errors from VIP Scanner Plugin

I am building a site with WordPress 3.4.2, have made a child theme of WooTheme's Canvas 5 (http://www.woothemes.com/2012/06/canvas/) and am now using the VIP Scanner plugin ...
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 ...