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

How to change default header image dimensions in twentyfourteen child theme?

I'm creating a child theme based on twentyfourteen and wish to change the custom header image dimensions. The custom header page states: Images should be at least 1260 pixels wide. Suggested width ...
0
votes
0answers
17 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 ...
1
vote
1answer
28 views

Injecting a custom sql query into a page/theme

I have written a custom sql query for our WordPress website (fairly elaborate and not achievable with the standard wordpress code) and I've got it to run via $pageposts = $wpdb->get_results($query, ...
0
votes
0answers
14 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 . ...
1
vote
0answers
14 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
1answer
29 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
votes
0answers
18 views

Styles and Scripts For Meta box Not Works in Child Theme

I'm using Rilwis Metabox V.4.3.8, The metaboxes works perfectly in Parent Theme. But the CSS and SCRIPTS are not works in child theme, because the styles and scripts are load from child theme folder ...
0
votes
1answer
76 views
+100

Wordpress Multisite: Have the same header and footer of main-blog on all sub-blogs

I'm trying to do the following: I have a Main-Blog and dozens of subblogs. I want all the subblogs to use the same theme (or child-theme, not sure yet) but have the same navigationitems of the ...
0
votes
2answers
22 views

How do I change a parent theme's function through the child theme?

This is a function loaded by the parent theme. Through the child theme, I want to change this function to say is_single instead of is_singular. What would be the correct way to achieve this? ...
0
votes
1answer
20 views

How do I change the login logo URL and hover title?

I am trying to change the login logo URL and hover title. I am using the code below but return bloginfo('url'); and return bloginfo('name'); aren't outputting the desired href and title. I'm also ...
0
votes
1answer
19 views

How do I target the child theme with get_bloginfo();?

In the code below (which is located in my functions.php file), in reference to ('.get_bloginfo('template_url').', I'm trying to target my child theme but it keeps coming up as the parent theme. /* == ...
0
votes
0answers
67 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 ...
-3
votes
1answer
41 views

Obtaining the original unchanged Theme [closed]

Quite a few months back, I had used a third party theme v 2.9 in my wordpress site. I made a few custom changes to css/.php based on my needs. Now, I plan to upgrade the theme to v3.8. Before doing ...
1
vote
2answers
35 views

How to stop PHP code running when in a child theme

I understand you can add extra CSS on top of the parent theme, but how do you remove PHP code from functions.php? I want to remove the Masonry plugin in twentyfourteen theme, and have located the ...
0
votes
0answers
23 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
19 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
2answers
24 views

adding a unique page to an existing site

i'm a wp newbie working with an existing site. i've been asked to add a unique page to the site and am having trouble finding out if this is possible. the current site would not change, but there ...
0
votes
0answers
36 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
1answer
32 views

how to edit functions.php in a child theme

I am using wordpress for my site. I am using a theme called esplanade. I have made a child theme folder and created a style.css with the required lines in it. My child theme is working nicely. I have ...
0
votes
2answers
35 views

What the mean about 'child theme'?

I have read on codewordpress about this issue. In the article "A WordPress child theme is a theme that inherits the functionality of another theme". And then on stylesheet use import style from parent ...
0
votes
0answers
13 views

replacing theme file with child theme

In my main theme in the includes/sf-content-display/ there is a file which I would like to change to my own. I put that file in my child theme which according to Wordpress Codex should use over the ...
-1
votes
1answer
279 views

Modify Twenty Fourteen Child Theme Single.php

I need to create a child theme for the default Twenty Fourteen theme. And in this child theme, I need to modify the single.php. This is the default single.php get_header(); ?> <div ...
4
votes
1answer
128 views

Adding Action Hooks In Parent Theme For Easier Child Theme Customization

I was wondering why isn't anyone (haven't be able to find one with it) adding custom hooks an the beginning and at the end of the theme's function.php for theme development. The reason I'm asking ...
0
votes
1answer
54 views

Running javascript in a child theme. Works in jsfiddle

Here is the JSFiddle http://jsfiddle.net/thornwalker/3LQjS/ I'm trying to get it to run on my wordpress blog and having no luck. My skill is novice at best, but up until now I've been able to muddle ...
0
votes
1answer
30 views

Translated words not showing child theme

I created a child theme for the twentyfourteen theme which I'm also busy translating into Afrikaans. I've named the file pietergoosen-af_AF.po and placed it into the languages file and I've ...
0
votes
0answers
47 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
2answers
92 views

Body classes in child theme

In the theme twentyfouteen, the full-width class is defined with the following code if ( ( ! is_active_sidebar( 'sidebar-2' ) ) || is_page_template( 'page-templates/full-width.php' )  || ...
0
votes
1answer
38 views

How to create a archive template for custom post type [duplicate]

I've created a custom post type using Custom Post Type UI and Advanced Custom Fields plugins. The name of my custom post type is article. I want to have a page which lists all the articles in a ...
0
votes
1answer
40 views

Wordpress theme Modifications not showing up on live server

I have been working on localhost with a theme that was already installed on live server. After i completed my mods, uploaded the files to themes folder in wp-content but to my disappointment, the same ...
3
votes
1answer
38 views

Theme customizer: How do you grab the value later?

I'm working on a custom site, doing all my work in a child theme. I need to add one variable, slider speed, to the customize control system. I've been able to modify the custom controls via the ...
0
votes
0answers
21 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
1answer
37 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 ...
-1
votes
1answer
40 views

Removing action from Template Class

I'd like to replace an action in a theme with my own version in a child. In this case, the theme hooks into wp_head to add it's own links. My own functions.php resides in the child theme and looks ...
0
votes
1answer
38 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
54 views

How to create a non-responsive WordPress Theme Using Genesis Framework?

I am new to coding and I really don't know how to create a non-responsive child theme which runs on the Genesis framework. Besides that, I tried to modify a child theme and it all went well but one ...
0
votes
2answers
53 views

Display random page

I'd like to display a random page that: has a parent page of X or Y or Z, etc. excludes pages with the title "Contributors" The following code works (though without the specific conditions above), ...
1
vote
1answer
304 views

Displaying Custom Fields on Post with Genesis Child Theme

I have tried everything to get Custom Fields to display on my posts using a Child Theme of the Genesis theme framework. I have tried to follow every tutorial I could find relating to it but still I ...
0
votes
1answer
37 views

Get specific sidebars $wp_registered_sidebars [closed]

I've got the following functions as in this pastebin in a child theme: http://pastebin.com/uzjmXiyN This functions creates a drop down box from where you can choose a sidebar for use on a ...
0
votes
2answers
62 views

Test if a Category contains certain Custom Post Types

I have several Custom Post Types and several Categories. Within my pre_get_posts hook (in functions.php), I'm changing the chronological order for very specific Custom Post Type archive pages. ...
0
votes
3answers
80 views

Having some trouble properly displaying Custom Post Types in templates

I have a child theme of Twenty Thirteen and I've setup Custom Post Types for several items. They are showing up in the Dashboard, I can create the Custom Posts and they show up in various categories ...
1
vote
1answer
212 views

Problem only while using require_once() within functions.php

I use add_theme_page() within my child theme's functions.php implemented something like this... // other functions located here that create a custom options page in the Dashboard. // THIS IS NOT A ...
1
vote
1answer
27 views

Localize strings for translation

I'm rebuilding my website from a child theme of twentytwelve to child theme of twentyfourteen. Most of the functions I'm using comes from tutorials, so most of the string aren't localized. With this ...
0
votes
1answer
14 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
2answers
49 views

How to make child theme ignore a parent themes template

I have a childtheme of twentythirteen in which i want to use the same template for pages and the blogposts-overview. But in twentythirteen is a page.php and an index.php. So I need override both, ...
1
vote
1answer
29 views

Will the use of a child theme create problems with commercial parent theme's options?

My client has a commercial theme full of options running on his site. I need to apply changes in the header.php and style.css. I plan to create a child theme so he can continue update his theme in the ...
0
votes
0answers
84 views

Buddypress theme is having a problem with notification component

I am having exactly the same problem as this with a buddypress theme . I downloaded the latest version of buddypress, but I am still having "double buddybar" when I click on Notifications . I need ...
0
votes
2answers
125 views

Display custom homepage text based on domain

I am running multisite for 5 sites. I have a theme where it doesn't have a text area at the top of the page but i want to put some introduction text on the homepage. I currently have all 5 sites using ...
0
votes
1answer
191 views

How to add a custom post type in child theme? (Wordpress > 3.0)

I'm using Wordpress Magazine Style Theme (http://wordpress.org/themes/magazine-style) which doesn't have any other than default post format set (no galleries, aside, etc.). I would like to create a ...
0
votes
1answer
31 views

When activating a child theme, what core settings have to be reset ie; Custom Menus etc?

When activating a child them I often have to reset custom menus. The menus themselves are still created but just have to be activated again. Is there a list of settings which are often unset when a ...
2
votes
1answer
69 views

HTML head-tag get broken in my child theme

I created a child theme from twentythirteen and it worked like it should. Then I made a copy of the parent theme's header.php. As soon as I created it, the outputted HTML got broken. All tags that are ...