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
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 ...
0
votes
1answer
307 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, ...
2
votes
0answers
119 views

Can I create multiple instances of the BuddyPress Activity Stream with separate themes? [closed]

I'm trying to take advantage of BuddyPress 1.7's new theme independence to effectively create different pages and instances of the Activity Stream with different themes. I can use HeadSpace (an ...
0
votes
1answer
21 views

Child theme only loads on home page

I was having the following problem: I created a child theme, it was 'correct', technically. It even worked and displayed the proper changes, and when I navigated to sub-pages (ie not the home page), ...
1
vote
0answers
341 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 ...
0
votes
0answers
902 views

How do I override a parent theme's language files with a child theme?

I have a parent theme and a child theme, I would like to override the spanish .mo and .po files in the parent theme (or add them if they are not present in the parent theme) with the es_ES ones in my ...
0
votes
2answers
504 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
40 views

Extending arrays in parent theme without completely overriding the files

I am new to all child-theming things and trying to override an array value which is declared in one of the php files. I also don't want to override the whole php file, because it has many other ...
0
votes
1answer
512 views

add sidebar area to header of child theme

How can I add some extra sidebar locations for widgets in a child theme. The difficulty I'm having is because the parent theme uses some pretty gnarly setup to define the current sidebars. I would ...
0
votes
1answer
30 views

Why do some pages on my site use the previous theme?

I have developed a WordPress website using a Child Theme, I started with Twenty Ten as the base, then I created a new and improved version with Twenty Eleven as the base and some new features, now I ...
0
votes
1answer
48 views

Changes in comments.php in the child theme does not show up on the site

I am trying to customize the comments template in the comments.php and so have made some changes to the code, including a call back function in wp_list_comments() (which I have defined in ...
0
votes
1answer
64 views

Insert custom fields to a custom post type

I am creating a small blog about my trekking and camping experience. Since different experiences - like campsites, treks and tour operators - have different metadata, I have created a custom post ...
-1
votes
1answer
967 views

Loading Canvas & WooCommerce translation file in child theme

I'm trying to localise a site (Canvas child theme). I already have the translated .po and .mo files. I uploaded the WooCommerce translation files to child-theme/woocommerce/i18n/languages/ in the ...
1
vote
2answers
96 views

How does a Child Theme works?

I created a child theme and installed it but I don't know how exactly it works! For example, in the parent theme I have the code below: .header { margin-top: 10px; margin-bottom: 10px; ...
0
votes
1answer
546 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" ...
1
vote
1answer
515 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
1answer
453 views

Child Theme activates, but nothing from parent theme displays (MAMP, Multisite)

I searched for a solution for this problem, but cannot find an answer (or exact replica of the problem) Basically, I set up Multisite on MAMP Pro (Apache port 80, MySQL Port 3306). The set up was ...
1
vote
1answer
65 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: ...
4
votes
7answers
4k views

Include files in child theme functions file

Typically in my theme function file I'll require other files to keep things neat. require_once("foo.php"); Now working in a child theme I'd like to do that same. I'm adding custom admin options and ...
0
votes
3answers
2k 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
387 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
91 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
votes
3answers
630 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?
2
votes
2answers
119 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
1answer
692 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
280 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
1answer
137 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 ...
2
votes
2answers
337 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
349 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
115 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
41 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
838 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
1answer
126 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 ...
0
votes
2answers
72 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; ...
0
votes
2answers
464 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 ...
3
votes
4answers
3k 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
937 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 ...
0
votes
1answer
75 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 ...
1
vote
1answer
402 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
52 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?
1
vote
1answer
34 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
2answers
489 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 ...
0
votes
2answers
179 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
168 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, ...
0
votes
2answers
977 views

WordPress Child Theme - twentyeleven

This is my first attempt at creating a child theme based off the WP twentyeleven theme. To begin with, I am using MAMP on my mac and have the following directory structure: ...
8
votes
3answers
446 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
199 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
146 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 ...
0
votes
1answer
121 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 ...
2
votes
1answer
240 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 ...