Tagged Questions

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
16 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
8 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
20 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
27 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
22 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' ...
-1
votes
1answer
15 views

Child Theme Breaks Parent Theme [closed]

I have a theme purchased by a client that came with a "Child Theme" that's basically just a blank directory with an empty style.css and functions.php The child theme is activated and the blog works ...
3
votes
1answer
248 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 ...
4
votes
1answer
2k 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
28 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
23 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
19 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
34 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
59 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
16 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
71 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
197 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
37 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
1k 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
28 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
63 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
213 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
39 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
36 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
52 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
33 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
47 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
16 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
48 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
174 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
59 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
63 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
32 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
125 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
29 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
52 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
64 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 ...
-1
votes
1answer
263 views

styles from child theme not loaded for file other than style.css

I have set up a Worpress page with Multisite and Multilingual Press to support english and german. Currently only working on the english version. I use the "definition" theme of WooThemes and have ...
0
votes
1answer
49 views

Function in Child Theme not overriding Parent Theme function [duplicate]

I have read up on this and tried it myself, but I cannot seem to figure out how to override a parent theme function using my child theme. I need to know what I am doing wrong (and I am sure there are ...
2
votes
1answer
86 views

Override Constants in Child theme

I have a parent theme that declare these constant in function.php: define("THEME_DIR", get_template_directory()); define("THEME_DIR_URI", get_template_directory_uri()); define("THEME_NAME", ...
0
votes
1answer
159 views

Is it possible to override this function/class in a child theme?

Is it possible to override this widget function from a parent theme? I saw this blog, but it dealt with a simpler case. http://venutip.com/content/right-way-override-theme-functions parent class ...
1
vote
1answer
48 views

Installing plugins and using complex folder structure with child theme in WordPress

I'm creating a new WP website based on a template, and I've created the child theme for this template. It is working without any problem. I understand the basics for a child theme as adding my ...
1
vote
1answer
68 views

WordPress Twenty Fourteen Theme Sidebar

The Twenty Fourteen theme was used to create the basis of my own child theme. It's been pretty easy to override, but the left sidebar is proving difficult. I don't want to remove the sidebar ...
0
votes
1answer
23 views

Overide enqueue in non plugable function via child theme

I am trying to override a non-plugable function using the information on this page but it seems to have no effect. Can anyone see what's wrong. My code is remove_action('wp_print_styles', ...
0
votes
1answer
49 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
0answers
52 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
2answers
50 views

Unregistering a Sidebar in Child Theme

I'm working with a handy responsive theme framework (Reverie) and I'm developing my own theme the right way using a Child theme. The Parent theme calls a sidebar called with an ID of 'Footer' and ...
1
vote
1answer
33 views

Child theme within a child theme?

I'm developing a child theme, but also want to make it possible for that child theme to have a custom functions.php file that won't be overwritten during theme updates .. is this possible in any ...
-2
votes
1answer
50 views

Child-theme suddenly stopped working [closed]

I have been working on a website using the twenty twelve theme. I was modifying the footer.php and when I refreshed my website, I noticed all the extra css I had add in my child theme was not ...