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
2answers
55 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
0answers
22 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
0answers
12 views

Why would one WP installation have an issue with a space in a shortcode variable?

I found a workaround, so the client site is fixed, but I don't like the fact that I don't have a cause, so I'm hoping one of you might have experienced this and know the cause. The client suspected ...
0
votes
3answers
68 views

WordPress + Child Theme = Am I missing something?

I have an issue that has me scratching my head and if I scratch anymore I'm gonna go bald. I have looked all over for a solution but have not found anything so I thought I'd stop by and see if maybe ...
1
vote
2answers
25 views

Why does the Full-width Template in Twenty Twelve pack so many classes into the body class attribute?

I created a page and selected the "Full-width Page Template, No Sidebar" option in the Twenty-Twelve Theme. The viewed page has the following body tag: <body class="page page-id-2 page-template ...
0
votes
1answer
44 views

Remove h1 from 2015 theme

I'm a Wordpress newbie! I have two h1 when I list my site categories using a URL of the following format: http://www.example.com/category/YYY I get a HTML page with a header of Category: ...
0
votes
2answers
41 views

How to install bootstrap in child theme

Something is going wrong when I try to use the bootstrap nav with a child theme and I can't figure it out for the life of me. The parent theme is called Revera. This is a bootstrap theme. It ...
0
votes
0answers
27 views

Is it possible to change parameters of Parent theme function in the Child theme?

I have a Parent theme with the following function: function getTourOffers($tourId) { global $aitThemeOptions; $params = array( 'post_type' => ...
0
votes
0answers
12 views

How to include only modifications in child theme?

Is there a way to only include single line / minor changes to a child theme without having to maintain the whole template file? For example, I have a third-party theme which has a single character ...
-1
votes
0answers
8 views

Search result giving blank page with pagination

I am working on WordPress website and created a theme from twenty fourteen theme, Now m facing a problem related to search result, When I search any world it gives me result in pagination but content ...
0
votes
0answers
17 views

Copy the other files or folder into child theme

It is possible to include or copy other files/folder in child theme from parent theme? Like, css folder and js folder? Because I made some changes to those folder. Thank you
0
votes
0answers
18 views

Create a child theme of an already heavy customised theme

I have seen tons of tutorials regarding the creation of child theme out there but all of them covers only stlye.css and functions.php. What if the website is made by heavy customization in theme and ...
6
votes
1answer
412 views

How to move the sidebar in TwentyFifteen to the right?

Is it possible to move the sidebar in the TwentyFifteen theme to the right using a child theme and CSS only, or does it require changes to the theme itself? The main issue I'm running into is that I ...
1
vote
1answer
43 views

Child theme on style.min.css

I am trying to create a child theme, and have come up with this. <?php // Exit if accessed directly if ( !defined('ABSPATH')) exit; // BEGIN ENQUEUE PARENT ACTION if ...
1
vote
0answers
27 views

Overwrite Parent Theme add_image_size in Child Theme

I'm using a child theme of a parent theme. Now on my parent theme, theveloper adds some custom image sizes like this - if ( function_exists( 'add_image_size' ) ) { add_image_size( ...
0
votes
1answer
34 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
26 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
13 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
21 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
31 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
42 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
34 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
31 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. ...
5
votes
2answers
114 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
23 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
33 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
21 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
25 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
31 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
32 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
36 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
58 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
31 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
2k 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
95 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
34 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
42 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
36 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
92 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
18 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
112 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
580 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
44 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
3k 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
74 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
23 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
151 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 ...
5
votes
2answers
7k 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 ...