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
votes
1answer
93 views

Custom field not showing

I am trying to get 3 images and their links which I have defined as custom fields. The custom field aren't displayed and when I var_dump() my get_post_meta() it returns string(0)"", what am i doing ...
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
1answer
163 views

Remove post author using child theme

I'm using twentytwelve but I don't want the author to show on single post pages. How would I go about doing that without deleting it from the parent theme.
0
votes
2answers
175 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. ...
1
vote
1answer
163 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 ...
0
votes
2answers
240 views

display last post modified date in genesis child themes

Since I frequently update posts so it’s crucial for me to display last modified date instead of post published date like following image. Its because I want search engine to display my post last ...
1
vote
1answer
48 views

a child theme not de-registering a patent javascript file

We're currently rolling out a number (>100) of wordpress sites where we're using a custom child theme and a holding page plugin. Most of our clients use IE8 as their browser (corporate policy) and ...
2
votes
4answers
1k views

Hide a div that is part of all pages on one specific page

How can I hide a div (which contains an image) for a specific WordPress page? I believe my page id is 46: Here is the div I am trying to change: <div id="static-footer-image" ...
0
votes
1answer
52 views

Child theme template value for style.css for parent in different folder

I am making a child theme in the .../wp-content/themes/ folder however the parent theme that I am building on is in the .../wp-content/plugins/ directory. I am able to import the parent style.css ...
1
vote
3answers
1k views

Change Genesis <title> Tag from Page Template [closed]

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?
0
votes
1answer
58 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 * ...
2
votes
2answers
145 views

is there a simple way to list every templates / php files used to generate a specific page?

To customize a theme , it is not always easy to trace every files that are used and find out which one do what . For example i' like to find out how my menu is generated so i can add some conditions ...
2
votes
1answer
279 views

Add post dates from child theme and change font size on homepage post

I know this is not difficult. I know it is supposed to be in the style.css in the child theme, but no font size I change seems to make any difference. The titles of the posts on my homepage never. ...
0
votes
1answer
107 views

How to Change MU/BuddyPress Group Blog New Installation Defaults [closed]

I am trying to work with a Multisite install of WordPress and modify the default "child" blogs in the network. The details are: -I have a main site built on Commons in a Box (CBOX) which is a ...
1
vote
2answers
164 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 ...
0
votes
1answer
187 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
3k views

Child theme error “Template is missing”

I created a child theme of twentytwelve using the following in style.css: /* Theme Name: WAMSA Template: twentytwelve version: 0.1 */ @import url("../twentytwelve/style.css"); In Appearance > ...
0
votes
1answer
65 views

Prevent child theme from inheriting a parent theme's required file

My parent theme has a file with a class that defines ads for that specific theme. It is required in functions.php. My child theme needs a duplicate file with different ad parameters so I would like to ...
0
votes
2answers
119 views

How to over-ride a file in a plugin? [closed]

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
0answers
144 views

colorpicker WP 3.5 path to stylesheet when called from a child theme

What is the path to the 3.5 colorpicker stylesheet? wp_enqueue_style( 'wp-color-picker' ); I am trying to enqueue the color picker from a child theme but it does not load. I have added an admin ...
2
votes
1answer
114 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 ...
0
votes
1answer
87 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
110 views

Child Theme - what is the scope of overwriting files?

I noticed that creating twentythirteen-child/archive.php overwrites twentythirteen/archive.php but creating twentythirteen-child/shortcodes/drop-cap/drop-cap.php does not overwrite ...
0
votes
1answer
100 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. ...
1
vote
1answer
594 views

Including style.css in Child Theme

Twenty Thirteen uses wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri() ); in functions.php. Wheter I use it or not use it in twentythirteen-child/functions.php the style.css from Child ...
0
votes
1answer
93 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 ...
-1
votes
1answer
158 views

Child Theme CSS Not Overriding Parent Theme In MultiSite Site

I've been banging my head on the wall for a while now trying to figure this out. I have a multisite setup currently with just the main site and a network site I added. The main site displays just ...
0
votes
1answer
118 views

Use admin options from parent theme in child theme

I am creating a child theme for the first time. I have created style.css (and imported parent theme's style.css in it) and also some new files and additional functions in functions.php. Now, I have ...
0
votes
2answers
254 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, ...
1
vote
1answer
4k views

How do I cleanly override a plugin's CSS with a child theme?

folks! I have taken it upon myself to adhere to WordPress conventions so I can have a clean, sexy child theme. However, I am unsure how to proceed on a certain issue. I would like to override the ...
0
votes
1answer
756 views

change the Theme dynamically

Is there some way to change the page template dynamically using just a url I wanna use it in a demo theme, so for example when the user enters a particular URL ending with for example ...
0
votes
1answer
730 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 ...
1
vote
1answer
100 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
2answers
220 views

Child-theme breaks site

So, I have a child-theme with nothing but the required CSS file in it. Once I activated this child-theme my entire site is down. I end up with 2 questions: How can activating a child-theme with ...
0
votes
1answer
148 views

Run two concurrent themes in one installation

I'm trying to add a 'blog' to my established and customized wordpress installation. Goal is to have a blog page that runs a child theme of TwentyTwenty, pulling any post of the category "blog-posts" ...
0
votes
1answer
104 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 ...
2
votes
1answer
130 views

How to remove thumbnail sizes for specific post type on a child theme?

The theme I'm using includes a slideshow that generates an additional 4 image sizes for every image that is uploaded. I don't need to have all those images being generated for every image. Is there ...
4
votes
4answers
358 views

One Child Functions.php for Multiple Child Themes

I have a wordpress setup that I use for clients with around 30 or so child themes that they can choose from. Each child theme has it's own functions.php file currently. Is it possible to setup just ...
1
vote
1answer
75 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 ...
0
votes
1answer
98 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
2answers
136 views

adding navigation to genesis themes

i'm following a tutorial provided here to add navigation menu, but not able to find out set of #nav in my style.css & my theme is eleven40. What we need to replace to get navigation menu?
3
votes
3answers
626 views

Developing a childtheme, how to disable the parents templates?

I am developing a simple child theme based on twentyeleven. But i notice twentyeleven has a showcase and sidebar template when you add a new page. How can i disable these templates from functions.php? ...
1
vote
1answer
326 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, ...
1
vote
2answers
2k views

Is it possible to disable a function of a parent theme?

I was wondering whether it is possible to completely disable a function that is called in a parent theme's functions.php and if so, how? (Of course without deleting the function. Rather by adding ...
2
votes
0answers
135 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 ...
1
vote
0answers
386 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
0answers
1k 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
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), ...
0
votes
1answer
41 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
549 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 ...