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

2
votes
1answer
132 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 ...
2
votes
1answer
92 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 ...
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 ...
1
vote
1answer
175 views

Why does my functions.php cause white-screen and media-library issues?

Overview: I was authoring a child-theme, and realized that functions.php was causing problems with the media-library and caused a "white-screen" to appear after editing a post. I fixed the issue by ...
1
vote
1answer
69 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: ...
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 ...
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
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
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
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
1answer
55 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
1answer
27 views

How to add modified php in child theme?

I have lot of modification in my php parent theme. How to save it to the child theme that I have? So, if ever the theme have some new version the php files that I modified would not affect. Thank you
0
votes
1answer
56 views

What are some best practices for switching the child theme for a production site?

I have a couple questions related to the best strategy for changing a site's theme. I'll do my best to set the stage apologies ahead of time for the verbosity. I setup a Genesis/Zigzag Press - ...
0
votes
1answer
90 views

Under heavy cache conditions, updating the parent theme don't reflect changes with child theme enabled

I use W3 Total Cache, Cloudflare (and CloudFront for media files). I use a Child Theme to customize specifically for my site while maintaining the core theme with the parent theme. Whenever I update ...
0
votes
1answer
82 views

Custom Post Types and Child Themes!

OK here is my question.... I have a professionally purchased theme that has a custom post type of "PortFolio" built into the theme. The post type is ideal for what i'm trying to achieve in the ...
0
votes
1answer
18 views

Correct way to customise a child theme

I know that the best way to customise a theme is to make a child theme. In this instance I am helping someone make changes to an existing 3rd party child theme, can I make a child theme of a child ...
1
vote
0answers
68 views

How to add anchor tag at the top of posts, past the header and nav bar?

my site is here: http://wedding.chloe-nguyen.com/ I am using the default Twenty Fourteen theme, modifying in a child theme (my first). Scroll down and click one of the featured posts. You get taken ...
1
vote
0answers
77 views

Is it possible to make *.js and folders visible in theme-editor

I just created a file test.js in the folder of my own child-theme. Unfortunately it is not visible in the Theme editor. How can I make it visible? And is it possible to make folders visible?
1
vote
0answers
222 views

Edit and make class-wc-widget-featured-products.php update-proof

Within the class-wc-widget-featured-products.php file I need to Remove this on Line 101: <?php if ( $r->post->post_title ) echo get_the_title( $r->post->ID ); else echo ...
1
vote
0answers
420 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 ...
1
vote
0answers
108 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
vote
0answers
120 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 ...
1
vote
0answers
459 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 ...
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 ...
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
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
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
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
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 ...
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
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
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?
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 ...
0
votes
0answers
57 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 ...
0
votes
0answers
57 views

Child theme functions randomly broke while editing a page — no errors

My client was editing pages in the admin area of their site, which is currently being hosted on my server. Two of them were logged in simultaneously, but that shouldn't matter. We're using a child ...
0
votes
0answers
16 views

Remove HTML from search.php of my parent theme

I have a child theme of the theme alterna, and in the search.php (among other code) there is this: <div class="entry-left-side span3"> <div ...
0
votes
0answers
28 views

How to tell if a script is being executed from a plugin, a theme or a child theme in WordPress?

I have a framework for WordPress that can be embedded into either a plugin, a theme or a child theme. In order to return proper URLs, the script needs to determine from where it is being executed. I ...
0
votes
0answers
329 views

Nav menu custom walker not working in child theme

I have created a parent theme with a nav menu walker that works fine. I want to create a child theme to show small variations to the client. When I put the same code in the child theme it doesn't ...
0
votes
0answers
140 views

Renaming child-theme folder fixed wp-admin blank

Weird thing happened. I have a WP instance, and I wanted to have a local copy. I copied all the files, created the DB from a dump, and everything seemed to be working fine. However, when going to ...
0
votes
0answers
168 views

Create shortcode in Child Theme?

I have created a child theme, and I am trying to add a shortcode to its functions.php file, by doing this: // functions.php of child theme <?php include(WP_CONTENT_DIR . ...
0
votes
0answers
92 views

WordPress picks parent theme's home page template instead of the child theme one

I have a child theme with its own home custom page template called "template-home.php" (Template Name: Home Template). I have a "Home" page which uses this template. Everything works fine as long as ...
0
votes
0answers
79 views

Editing Admin via Child Theme

The theme I'm using provides an admin page that lets me easily setup jQuery sliders on my homepage, but it limits me to five. Now I'm able to go into the actual theme files and edit these so that the ...
0
votes
0answers
44 views

Using Apply Filters in the-bootstrap parent theme

In the-bootstrap parent theme there is the following function: function the_bootstrap_custom_background_setup() { $args = apply_filters( 'the_bootstrap_custom_background_args', array( ...
0
votes
0answers
89 views

Child theme not working properly

There's a theme that I want to customise and when I use a child theme in it's most basic form, the main navigation bar disappears, the fonts seem different and there's a few other oddities. The ...
0
votes
0answers
115 views

Cannot modify a registered custom post type rewrite slug

I'm using this function in my child theme to modify the rewrite slug from custom post type that was registered on the parent theme. But it doesn't work. function change_rewrite_rules() { global ...
0
votes
0answers
35 views

Change the order of sidebars in admin

Say I use a child theme and my parent theme already registered four dynamic sidebars. Now I am registering a fifth dynamic sidebar in the functions.php of my child theme. In the backend that last ...
0
votes
0answers
148 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 ...