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
72 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
165 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
40 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
117 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
275 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
149 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. ...
0
votes
1answer
182 views

Next Previous Post in wordpress with previous / next link with title?

I recently tried the previous post and the next post button link. I do that with image in the left and right side of the site.Its working perfect.But i didn't know how to do this For Example: ...
0
votes
1answer
81 views

How to make a child theme independent of parent?

I recently made a twentyten child theme, but I'm curious as to how I can make the child theme independent of its parent, ie exist without the twenty-ten theme folder present. I couldn't find any ...
0
votes
1answer
86 views

Including files in Child Themes

Twenty Thirteen uses the following in functions.php: require( get_template_directory() . '/inc/custom-header.php' );. When I copy /inc/custom-header.php to twentythirteen-child, it isn't replaced. I ...
0
votes
2answers
226 views

Override parent theme function that is not hooked or in the functions.php file

I need to remove a function from the parent theme and replace it within the child theme. The function is called print_meta($meta_box). The function is not pluggable and it located in a random file, ...
0
votes
1answer
662 views

Conditionally remove comments and post meta in functions.php

I'm new to Wordpress and am coming from the point and click world of Joomla! what was easy there now involves some solid php knowledge to replicate in Wordpress ;) I'm try to conditionally remove ...
0
votes
1answer
97 views

Trying to use shortcode for a plugin on custom homepage of Responsive theme

The Responsive theme has a custom home page option, with a feature content div that is defaulted to an image. I cannot get shortcode for my slideshow plugin to work in this. I can insert html just ...
0
votes
1answer
508 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
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 ...
0
votes
1answer
1k views

How to set thumbnail image for a (child) theme

I've created a basic child image for twentytwelve, and it works as expected. The only issue is that it does not have a thumbnail image in the themes page: How do I set a thumbnail image for my ...
0
votes
1answer
384 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 ...
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
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 ...
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 ...
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
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
1answer
167 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
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
651 views

Override file in parent theme

Presumably a common question, but I'm having some difficulty as it's my first time editing WordPress themes. I'm trying to create child theme based on Zincious. This is all fine for CSS, but when it ...
0
votes
1answer
223 views

Trying to change featured image from 180x180 to full width on home page

Right now my theme puts a 180x180 square image to the left of the title on the home page for each blog post. I'd like to change that to be full width of the content area and below the title. I'm using ...
0
votes
1answer
667 views

Removing custom meta box added in parent theme

I am using a child theme, and wish to change one of the meta boxes defined in the parent theme. The meta box is for 'pages' only. I tried using the remove_meta_box in my functions.php, but it has no ...
0
votes
1answer
175 views

disable jscrollpane in specfic div [closed]

I installed the library jscrollpane , and its working fine but i need to disable it in the #content that is in frontpage template // jQuery.noConflict(); jQuery(document).ready(function($) ...
0
votes
1answer
41 views

Per theme plugins?

I'm building a plugin that heavily modifies the commenting section of a blog page. It think that I cannot do this in a way that works with all themes — some CSS has to be tweaked, depending on the ...
0
votes
1answer
258 views

Page not found when trying to link to files in child theme directory

I'm trying to create a child theme based on Toolbox 1.4 by Automattic. I have my scripts file saved as child_theme/js/scripts.js on my server and I enqueue it by using wp_enqueue_script( 'scripts', ...
0
votes
1answer
473 views

Twenty ten or Twenty eleven as base for responsive child theme

I'm about to make a new child theme and really would like to learn a bit about making it responsive. The design/changes will be rather small. I've done some child themes for both Twenty ten and ...
0
votes
1answer
170 views

Looking for Functions File that doesn't Exist

My WordPress site seems to be running fine, except that trying to go to the plugins page gives the following error: Fatal error: Cannot redeclare _verifyactivate_widgets() (previously declared in ...
0
votes
1answer
76 views

Any adverse effects of adding apply_filters to a function?

I'm going back through my older WordPress theme and making the functions filterable and also adding the function_exists checks. Is there anything I'm not thinking about that this may cause problems ...
0
votes
1answer
120 views

output custom Posts on a Page

I'm trying to write a function that will output a set of posts on a page. Because I want to display more than just the post titles, wp_get_archives() won't do (I think). The function to add the post ...
0
votes
2answers
976 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: ...
0
votes
1answer
5k views

Modify Twentyeleven child theme CSS - How to change body font size?

I've created a twentyeleven-child theme and activated it. I'm trying to increase the size of the body font on all pages. Do I do this in style.css of the twentyeleven-child theme? I can't find the ...
0
votes
1answer
337 views

Load template inside a parent template

Inside of my current theme directory, I created a folder called "mobile" which contains a separate set of template files, all optimized for mobile. Now, say I setup a function that detects a mobile ...
0
votes
1answer
772 views

Best way to add some custom javascript using jquery to a child theme

I use the default TwentyTen theme and I have made a child theme with some CSS adjustments, and that's pretty much it. Now I'd like to do two things Make the theme load the latest jQuery, and to ...
0
votes
1answer
306 views

use child theme for mobile version

I have never used the child theme function. so I am curious if it is possible to use this function to create a mobile version or no? I know that there are mobile plugins for this but I was curious if ...
0
votes
2answers
178 views

How to modify theme content in Thematic?

I'm not new to PHP, HTML, CSS, and the like, not at all, but I'm definitely new to creating Wordpress themes. I was recommended to use the Thematic theme as a base theme and modify it using functions ...
0
votes
2answers
604 views

How do you auto-activate plugins from child themes

(repost from Theme Hybrid Community) Let's assume a plugin or multiple-plugins are hosted on WordPress.org. Can you automatically activate plugins with the functions.php of a child theme? Is there ...
0
votes
2answers
684 views

How to edit background color of only one sidebar?

I'm using Oulipo theme on this site, which has two sidebars. I'd like to ask how can I change the background color of only the left sidebar? Also, how to change the text, hyperlink, hover and ...
0
votes
1answer
731 views

How to remove set_post_thumbnail_size() in child themes?

I'm really stuck on this - this follows on from this post: How to override parent functions in child themes I can't figure out how to override Twenty Ten's set_post_thumbnail_size() function. I've ...
0
votes
0answers
18 views

Twenty Eleven child theme CSS tweaks [on hold]

I have a blog in the staff side of a university site, so I am unable to share it (login required). I can share screenshots to show what I'm trying to do (below). 1) On the home page, I have one ...
0
votes
1answer
23 views

How to configure folders with 'Child Theme'?

I created a 'Child Theme' for customize my Template but I don't know how to subscribe some files that found in folders of the theme. I tried to do like this: Original files: theme/css/file.css I ...
0
votes
0answers
24 views

Hide unapproved comments on front end of wordpress

I used this post I modified it to hide rather than show to contributors unapproved comments. This goes for unapproved comments on the contributor's own posts. I also used Adminimize to hide comments ...
0
votes
1answer
19 views

WordPress Twenty Fourteen Theme Sidebar

The Twenty Fourteen theme was used to create the basis of my own child theme. It's been pretty easy to override, but the left sidebar is proving difficult. I don't want to remove the sidebar ...
0
votes
1answer
28 views

Why does my visual post editor break when I try to add a TinyMCE button?

I'm trying to add a button to my TinyMCE editor. I'm using WordPress 3.9.1, so I'm following this tutorial to add a new TinyMCE button. Right now, I'm just trying to get the tutorial version ...
0
votes
0answers
33 views

Twenty Eleven child theme anchor top menu not clickable

I am working on child twentyeleven theme. I have to do three things to my child theme. 1-Using page.php coping in my child theme.I added the code in page.php at top of the code <?php if ...