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

How to modify twentytwelve sidebar in a child theme

I'm trying to modify the sidebars of the twentytwelve theme in my child theme. So far, I've added this to the child theme's functions.php file but all pages are now blank. remove_action( ...
0
votes
1answer
13 views

Removing get_template_part in child theme

Parent Theme loads some template files in its functions.php as follows: get_template_part ('lib/login/register.php'); I want to remove this file in child theme and include my custom php templates. ...
-2
votes
1answer
36 views

Should I create a child theme for a parent custom theme? [on hold]

I am going to create a mobile version of a desktop theme. Device Theme Switcher plugin will use a correct theme based on the client device. The desktop theme is a custom theme. So should I create a ...
0
votes
1answer
32 views

Child theme style.css isn't overwriting parent style.css

I am using the Optimizer theme and created a child theme to make 2 changes in the style.css. The .single_wrap adjustment works fine, but the page_head is being ignored. When I use Inspect Element on ...
-1
votes
0answers
25 views

Child Theme is available, but live preview only returns a blank screen [closed]

I can see the child theme in admin, but when I click Live Preview it tries to load but only displays a blank screen. The parent theme loads fine doing a Live Preview. I have to assume it is the ...
0
votes
3answers
396 views

How to activate the child theme in Wordpress?

I create a new style.css and use it in child theme. And I create a new folder in wp-content and name it as themename-child and upload the style.css that I created. Now, I go to wp dashboard -> ...
2
votes
2answers
164 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 ...
0
votes
1answer
14 views

get_template_directory() - references parent theme directory

I've got this line in the functions.php of my Child theme: require ( get_template_directory() . '/somecode.php' ); However it's giving me the following error: Fatal error: require(): Failed ...
0
votes
1answer
18 views

CSS stopped working after line 150 [closed]

I'm editing css stylesheet for my childtheme and after 150 lines of code another line of code stopped applying to the web site. When i put the same line of code on the top everything is ok. Here is ...
-1
votes
2answers
26 views

Image Size wrong during upload

I am currently in the middle of developing the front page for a online store. I am trying to resize the width of the image to expand it across the full width of the page, however the image will not ...
0
votes
2answers
371 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 ...
0
votes
0answers
14 views

Change theme layout via “Appearance Customize Screen” on per user basis

I have added some options to the "customizer screen" in the appearance settings on the dashboard of my Wordpress Child theme. All works well by specifying additional headers and theme color options in ...
0
votes
2answers
33 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
146 views

Child theme - Overriding 'require_once' in functions.php

I am attempting to modify a wordpress theme with a child theme. My parent theme has the following function in its functions.php: require_once(get_template_directory() . "/includes/theme-styles.php"); ...
0
votes
1answer
19 views

Modify arguments for parent theme's `wp_register_style` via child theme

Working on a child theme for site with a good deal of separate stylesheets being registered/enqueued from the theme and plugins. I'd like to change some attributes of the <link> tags in the ...
0
votes
0answers
21 views

Hide navigation menu on page load using jQuery [migrated]

I'm using the theme Divi from Elegant Themes and I am trying to hide the main navigation menu when the page loads. I then would like for the menu to load as I scroll as seen here ...
0
votes
0answers
15 views

unzip a folder on specific location and delete the zip file

After the lots of search. I am deciding to post my question here. Basically i want to upload a zip file in my wordpress site from my admin panel. And also extract this file to specific location with ...
0
votes
0answers
13 views

Child Theme for WooCommerce's Upstart

I'm having trouble with the Child Themes concept, and I am using WooCommerce's Upstart Theme. After Reading the Wordpress Documentation on Child Themes, I attempting to implement a Child Theme for the ...
1
vote
1answer
258 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 ...
7
votes
3answers
20k 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
40 views

Child Theme Fatal Error [closed]

I wanted to create a child theme on my new Wordpress site. I followed the instructions on the first part of this site: http://codex.wordpress.org/Child_Themes After doing everything AFTER "How to ...
1
vote
3answers
602 views

Cannot get Child Theme to load latest version of style.css

I'm using a Child theme set up correctly. But I just cannot get changes in the Child theme style.css to be reflected in the site. Tried emptying the browser cache a million times and it doesn't work! ...
1
vote
2answers
288 views

How to load parent theme style.css?

My WordPress site uses a theme that is a child of a parent theme. As required, both themes have style.css files. However, as far as I can tell WordPress only provides the mechanism to load the child ...
-1
votes
1answer
85 views

How do I make my child theme's CSS update when I save it?

Current System WordPress 4.1.1 Theme: Child theme of Lovecraft Issue Summary My theme, a child theme of Lovecraft, is calling the stylesheet with the URI ...
0
votes
0answers
11 views

How to make sure Child styles load after Parent styles [duplicate]

I have setup a child theme for my site. However I'm having trouble getting some of my CSS styles to work properly because some of them load before the parent style and therefore become overruled by ...
0
votes
0answers
42 views

How to enqueue both style.css and style-mobile.css in child theme

This is pretty basic, but I'm not sure what I'm doing. I have setup a child theme and I'm able to edit my child theme style.css and make changes successfully. However I'm unable to enqueue the ...
0
votes
1answer
40 views

child index.php does not overwrite parent index.php in twenty fourteen theme

I am using the twenty fourteen theme to create a child theme and want to make changes to the index.php, but when I copy the index.php file to the child theme's directory and edit it, it doesn't change ...
0
votes
0answers
28 views

Why Wordpress gets old templates code instead of the last updated ones

I recently finished building my WP theme (child theme of twentyfifteen). My friend started updating content and accidentally added content to a page which don't have a function that gets and displays ...
0
votes
0answers
22 views

Why, when it comes to custom background and image, does 'The first value registered' win?

I'm messing about with overriding parent themes by child themes. The parent theme registers custom backgrounds by hooking add_theme_support('custom-background',$args) to after_setup_theme. Now, if I ...
0
votes
0answers
41 views

Make jQuery library load before plugin files in child theme

I'm setting up a site with child theme. I have installed several plugins. But few plugin files (fancybox, jQuery UI files) are loading before the jQuery library. So I am getting this error: undefined ...
0
votes
0answers
20 views

What is the most effective way to share assets / templates between themes?

I have a multisite network, which uses a few different themes. These themes share a lot of the same layout and structure, but they differ mainly by organization / content / templates. In other ...
0
votes
3answers
118 views

Dequeue script to prevent javascript event conflict on wordpress child theme

I've built a child theme of Divi Theme to use with Buddypress. So far so good, except for a script conflict on commenting buttons. The theme load a javascript (js/custom.js at 2642:2662) with the ...
1
vote
2answers
34 views

Overwriting templates in child theme and performance

Is it bad for performance to overwrite custom templates in the child theme? For example: I have a template called single-music.php in my parent theme. I have put single-music.php in the child theme ...
2
votes
2answers
1k views

How to customize the_archive_title()?

In my child theme's archive.php, I have the following code for displaying the title of my archive pages: <?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ...
0
votes
1answer
99 views

Changing a setting in the wp-admin/customize.php reverts CSS styles to parent theme [closed]

I have a child theme built ontop of the Cherry Framework theme. Whenever an admin user goes to wp-admin/customize.php and changes the slider, the CSS gets completely destroyed and needs to be backed ...
0
votes
1answer
51 views

How to refresh the Gallery images?

I am using The Ken theme for one of my client, and they want to keep refreshing the Gallery images every time the page load. I could see mk_gallery.php files, as I am not hard code PHP developer so ...
0
votes
1answer
80 views

Menu on responsive twentytwelve theme not working, strange url error

i use twenty twelve custom theme (palumariosrl.it) but i have a problem. If i try to use on responsive mode the menu not function (can i see only hover menu page and if i click on menu buttom i have a ...
0
votes
2answers
1k 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
114 views

How to create a child theme with multiple css files.

Noob at wordpress development. Trying to create a child theme for a client. But the problem is that there are many css files and not one as per many tut's available, in my senario there are multiple ...
0
votes
1answer
5k 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
120 views

Where did my Theme Editor go?

I have 2 blogs, both are versions 3.x One of them, "Blog 1" is a multi-user blog. I can't edit the themes under Appearance->Editor , because it doesn't appear. "Blog 2" is a single instance blog, ...
0
votes
1answer
15 views

Hiding all posts/products/pages from a site based on a custom taxonomy/domain name

I'm working on a site that's running Domain Theme Mapper (http://codecanyon.net/item/domain-and-theme-mapper) with WooCommerce to present two sites with two different child themes... that share a ...
0
votes
1answer
154 views

Enqueue more than two CSS styles in a child theme functions.php

I've just started to use WordPress and learned about the child-theme feature. So it's my first time doing this and I ran into some problems. When I try to preview the child-theme, the formatting of ...
0
votes
1answer
85 views

Can't Install Child Theme “The parent theme is missing. Please install the ”Default“ parent theme.”

This is my first time installing a child theme and I ran into some errors Here' the style.css /* Theme Name: WD TechGoStore-child Theme URI: http://wpdance.com/ Description: Commerce Template ...
0
votes
0answers
35 views

Load a Child Theme's style.css just before the closing </head> tag

I have this in functions.php: <?php /* Import parent style - The new standard Wordpress way - No @import in CSS! */ add_action( 'wp_enqueue_scripts', 'theme_enqueue_parent_styles' ); function ...
0
votes
1answer
26 views

Child theme - overriding add_image_size by a child theme [duplicate]

I am trying to get my child theme to work and to overide one line of code in the main theme functions.php but I can not getting to work since I am totally green in php. In my main theme functions.php ...
0
votes
2answers
126 views

Child themes CSS priority problems without using !important

I changed my WordPress site to use child themes, but the parent theme style has priority over any change I make on the child theme CSS. I can work around it using !important, however this is a patchy ...
0
votes
0answers
63 views

Use secondary menu of parent theme in child theme

I cannot solve this problem and this case doesn't work for me either. All cases that I found on the internet deal with the new secondary menu that should be registered and used in a child theme. In ...
0
votes
1answer
45 views

Deregister and Dequeue Stylesheets From a Plugin and Enqueue a Child's Stylesheet/s

I'm trying to Deregister and Dequeue 3 Stylesheets from a Plugin (WP Listings) and Enqueue 3 Stylesheets within my Child Theme's directory. I have tried using the following code, but all 3 of the ...
0
votes
1answer
133 views

How to prevent funny characters on Home Page

This is a challenge for the sharpest and most experienced WordPress specialists I am building a site in the WP Twenty Fifteen theme. I created a bare-bones minimum home page at http://bit.ly/1zlmpKS ...