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

How do I make wp_localize_script variables available for child theme?

I am trying to create a child theme and want to deregister the original javascript and enqueue my own. Its the original javascript of the theme but a bit different :) The problem that I have is that ...
-1
votes
1answer
19 views

What is __(arguments) in my functions.php

I have been handed the work of previous developers and so I am analysing the functions.php in my Circles child theme. Basically there is this code, which I know what the function does except for the ...
0
votes
0answers
6 views

What is best practice for setting up languages with child themes?

There are two main sources of relevant info in the Codex: http://codex.wordpress.org/Child_Themes & http://codex.wordpress.org/Function_Reference/load_child_theme_textdomain A parent theme will ...
1
vote
1answer
20 views

making available just some parts of theme option

I'm just starting to understand and learn about how Wordpress works. Now i'm trying to build a simple website (6 pages, gallery, slideshow) by using a downloaded from wordpress.org. The theme that I'm ...
0
votes
1answer
16 views

Why won't my Custom CSS Load

I'm in the process of adding a jQuery plugin to a site I'm working on. Needless to say it requires loading a custom script; also a custom stylesheet. Starting with the stylesheet I've been ...
1
vote
2answers
33 views

Where should I copy a PHP file from wp-includes to, in order to override it in my child theme?

I've seen plenty of questions about changing stuff inside wp-includes and plenty of answers saying don't, under any circumstances. However, I need to change something that's currently in there! I'm ...
0
votes
1answer
25 views

is_page_template returning false

I'm using woothemes Canvas with a child theme. Additionally, I am using the WP Listings plugin. I am creating a custom listings page template (overriding the plugin template) and I'm having issues ...
0
votes
1answer
24 views

custom template - override plugin template in child theme - issue with scripts

I'm using a custom template for the single-listing.php from WP Listings. I've used my own theme (Canvas by woothemes) single post template, and included the wp-listings code. ...
4
votes
2answers
83 views

remove_action on after_setup_theme not working from child theme

I am trying to remove a theme action for an elegant-themes theme using a child theme.. This works when I remove action after add_action code anywhere in the parent theme functions.php. However, it ...
0
votes
0answers
14 views

How to concatenate parent theme CSS-files from within a child theme?

In the parent theme I use there's a bunch of CSS-files (all enqueued properly) that I would like to concatenate into one CSS-file, and also adding my newly written CSS from the child theme. I would ...
0
votes
1answer
23 views

Preventing PHP Execution in Parent Theme

I have set up a child theme to make custom changes to my site without having them erased every time I update. One change is to remove a wrapper that displays the title of the page with a lot of white ...
0
votes
0answers
13 views

Child theme not overriding 'includes' folder on server - on localhost it does

I have includes/setup.php on my parent theme, which I successfully override in child theme with includes/setup.php file on localhost development environment. When I move the files to live server, the ...
0
votes
0answers
19 views

Override custom function in parent theme

I am creating a child theme.In the parent theme function.php there are certain files which have been included using include_once. On those files there are certain user defined under a class which I ...
0
votes
1answer
29 views

How to migrate the menu from the site on my own theme in Wordpress?

I'm a novice at WordPress topic and now I'm trying to figure out how to migrate the part of the design (I've decided to begin with navigation bar menu on the top) on this site to my own site based on ...
0
votes
0answers
19 views

How to add a new menu item in “Twenty fourteen” theme?

I've created two menus inside of my theme's functions.php file: register_nav_menus( array( 'primary' => __( 'Top primary menu', 'twentyfourteen' ), 'secondary' => __( 'Secondary menu in ...
0
votes
2answers
30 views

What might cause a featured image not to display?

I'm writing a child theme for the editr theme and the featured image is not displaying for a new post. The featured images do display for demo content. For the new post, the following markup is ...
1
vote
1answer
36 views

Redefining function in child themes

I'm developing a child theme following the codex I need to redefine a function in functions.php and that guide says I can do this by adding the code: if ( ! function_exists( 'theme_special_nav' ) ) ...
0
votes
1answer
26 views

Return child theme url

I'm trying to return the child theme url for a child theme favicon. The official code to use in this case is: //* Display a custom favicon add_filter( 'genesis_pre_load_favicon', 'sp_favicon_filter' ...
4
votes
1answer
1k views

Issues enqueueing parent & child theme stylesheets with revised Codex method

This post brings up a few questions I've encountered pertaining to the recent changes around stylesheet enqueueing methods brought up in this thread and this thread. The issues I encountered came up ...
5
votes
1answer
6k views

Why does my child theme CSS get called twice?

I created a child theme according the WP docs and added the requisite function <?php add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function ...
1
vote
1answer
51 views

Customizing default Mediaelement player

Good morning/afternoon everyone. Been playing around with the default wordpress mediaelement player and definitely loving it. I managed to customize the layout a little by overriding some css values ...
0
votes
0answers
26 views

How to remove a require in parent theme from a child theme?

In the parent theme I have in functions.php require_once( get_template_directory() . '/inc/customized-css.php');?/ Generated css I however what to remove this php in my child theme, how I ...
0
votes
2answers
32 views

Multisite default theme and child applied to network

I have an existing WP Multisite network. I want to simplify the maintenance of the themes. I'd like all subsites to have the same parent and child theme applied across the network.I saw several posts ...
1
vote
1answer
35 views

What do you put in child themes author tag?

What is the common practice in authoring child themes ? I mean, if I make child theme of some free theme should I put myself as author or should I keep the name of the original themes author ? I ...
0
votes
1answer
73 views

Got white blank page after copying the functions.php to child theme

I got white blank page after copying the functions.php to my child theme. How can I change "like_escape"? What file can I find that? And I see this notice: Notice: like_escape is deprecated since ...
0
votes
0answers
17 views

How can I find WordPress files on the remote side in Filezilla FTP?

Currently I am doing the WP Development track on TreeHouse (beginner) where I am trying to make a child folder. The child folder is meant to be able to save the WP theme while any other updates are ...
1
vote
1answer
89 views

Confused about how to use wp_enqueue_style

I've read the updated codex about using wp_enqueue_style instead of @import. I'm a newb and just flat out confused how to use this. My theme is athletica and my child theme is athletica-child. Do I ...
0
votes
0answers
18 views

How to combine/minify prototype & scriptaculous and load it at the end? [duplicate]

Currently my WP 3.9.1 installation loads prototype and scriptaculous as follows: <script type="text/javascript" ...
0
votes
2answers
352 views

TwentyTwelve child theme mobile menu not working

I have a pretty simple child theme of Twenty Twelve active, but the mobile menu does not expand when pressed. Here is header.php: <?php/** * The Header for our theme. * * Displays all of the ...
0
votes
1answer
41 views

Adding function from parent theme to child theme

I need to edit a few files that are part of a parent theme that I am using. I have put them in the child theme folder. Now I need to deal with the function for it. This is the function in the parent ...
1
vote
3answers
2k views

Child theme does not overwrite parent themes style.css

I just created a child theme but every change I make in the style.css does not overwrite the parent style.css - other files work. I just did it like that: Making new Childtheme Folder in the Theme ...
0
votes
1answer
48 views

Change default header image in twenty fourteen child theme

I am creating a child theme using twenty fourteen as the parent theme. I want my child theme to include a custom header image by default. This header image can be set in the theme's custom settings, ...
0
votes
0answers
22 views

Preserving theme settings in child theme

My client uses Karma theme with many settings in theme options. I need to keep my CSS and PHP additions in a child theme so that theme updates don't wipe it out. However when I select my child theme ...
0
votes
2answers
99 views

Child theme CSS file is not loading background image

Hey guys I'm developing a child theme, I've created a style wich loads a background, I've created the images folder in my child theme as well. most of the styles are being loaded as planned, this one ...
3
votes
2answers
278 views

Versioning @import of parent theme's style.css

Context I built a child theme based on Twenty Thirteen which works quite well. After updating the parent theme to version 1.3, I noticed strange behavior with the styling which was caused by a cached ...
0
votes
1answer
63 views

How to override a theme template file with a child theme template file (of the same name)

In my main theme functions.php I have: require_once (THEME_PATH . "/woocommerce/tw_woocommerce.php"); So I created a woocommerce folder in my child theme folder and copied the tw_woocommerce.php ...
0
votes
0answers
41 views

child theme performance / avoid import and minify JS files

I am working on a child theme and I have been having troubles with the performance. The parent theme is not very good and I cannot see a way to improve the speed of the child theme at least a little ...
0
votes
1answer
73 views

Prevent a base themes css file from loading

I have created a child theme from the openstrap theme and rather than use Openstraps bootstrap css file, I would like to use my own custom bootstrap css file (using bootstrap custom sass, which is all ...
0
votes
2answers
41 views

Child Theme's Read More Text

I'm sitting here trying to figure out how to change the Read More text. I'm currently creating a Child Theme of Oxygen and as far as I can tell, they don't have a function to easily change it. I want ...
0
votes
0answers
55 views

Why are my parent styles loading after my child styles?

I am trying to build a child theme that uses SCSS. However, every time I make changes and recompile my stylesheet, it gets overridden by the parent stylesheet. This is because, in the head of my site, ...
0
votes
0answers
19 views

Child theme urls: How to point to a correct folder

I have created a child theme. My problem is that the get_template_uri() is pointing to parent theme's template directory. How do I refer to the correct (child template) url?
2
votes
2answers
59 views

different child theme for subdomain

I've got a site that I'm trying figure out how to apply different child themes to based on a subdomain. Applying the child themes shouldn't be difficult, it's more the .htaccess magic that I'm a bit ...
-2
votes
1answer
268 views

Custom Post Type Pagination For Genesis Child Theme [closed]

Is there any possible to implement the pagination for custom post type in Genesis child theme, I'm using Genesis : 2.0.2 and Wordpress version is : 4.0. I've tried the following code in my template, ...
0
votes
1answer
63 views

Blank child theme - functions.php problem

I've created a child theme, and moved all the modifications I had in the parent theme functions.php into the child theme's functions.php. Now if I preview the theme, it is blank. I've got three ...
-1
votes
1answer
80 views

Selling a child-theme of twenty-thirteen is legal? [closed]

I built a child-theme based on twenty-thirteen theme, the basic ones that comes bulit-in wordpress. Can I sell it now on codecanyon and make a profit from the child-theme i built and developed? is it ...
0
votes
1answer
35 views

Child theme functions.php

I'm not sure how to implement a change in my child theme's functions.php. In the woothemes documentation it says that "The functions.php in your child theme should be empty and not include anything ...
0
votes
3answers
189 views

Include files in child themes, declare in functions.php

I'm using a child theme. I want to make a change to a file which currently resides in: mybasetheme>includes>sf-content-display>sf-post-layouts.php So I copied the exact same file structure into ...
0
votes
1answer
33 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
64 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 ...
1
vote
2answers
88 views

Cannot save widgets in custom sidebars

I'm working on a child theme of the Toolset Bootstrap Theme. I need to create a custom sidebar, so I registered the new sidebar in my child theme's function.php file: function ...