The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

Removing parent theme CSS without editing parent theme

I am currently developing a child theme that builds on twentyfifteen as a parent theme. However a potential issue has cropped up that is causing a problem. I want to strip the CSS and JS assets from ...
0
votes
0answers
21 views

Underscores Starter Theme for building a Parent Theme

I'm starting a new project to create a Parent Theme which supports AngularJS (Web App theme), I was looking for a starter theme to begin with. but I got so confused about which one would be the best ...
0
votes
0answers
15 views

Changes in header.php not reflecting

I edited <meta name="author" content="my_new_value"> in header.php of the parent theme. But the same old value is displayed. I've tried switching themes but this didn't work. What could be ...
1
vote
4answers
44 views

Get Parent Theme Author Name

I want to to get the Author name of the Parent theme. I can get the theme name using wp_get_theme() to get the theme object of the current (child) theme. From this I can get the parent theme name. ...
1
vote
2answers
52 views

How to check active theme is parent or child wordpress

I am working on a plugin in plugin. I make template folder and in template folder and there are files of plugin that shows my post type data. First Scenario When user activate my plugin the template ...
1
vote
0answers
123 views

why this media query is not working / not loading when I put it in child theme?

I am trying to create a separate style sheet for responsive behavior in a site. my folder structure: magzine/style.css magazine-child/style.css magazine-child/responsive.css Magazine is my theme ...
0
votes
1answer
64 views

wp_enqueue_style referencing parent theme

I have properly set up a child theme and am adding stylesheets and scripts in my new functions.php file. The only problem is, my newly enqueued stylesheets are being referenced using the parent theme ...
3
votes
2answers
219 views

Override parent theme translation on child theme

I have a parent theme that uses correctly load_theme_textdomain() to load all the translated strings in many languages. Then I created a child theme that uses load_child_theme_textdomain() to achieve ...
0
votes
1answer
42 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
44 views

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

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
0answers
238 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
3answers
250 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 ...
0
votes
0answers
64 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 ...
4
votes
1answer
7k 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 ...
0
votes
2answers
105 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 ...
11
votes
3answers
30k 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
0answers
96 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
1answer
1k 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 ...
0
votes
1answer
30 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
3answers
473 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 -> ...
0
votes
1answer
282 views

Order of stylesheets in child theme

Parent theme has following code for including styles. function blue_planet_scripts() { wp_enqueue_style( 'blue-planet-style', get_stylesheet_uri() ); wp_enqueue_style( ...
2
votes
1answer
127 views

Namespacing WordPress project according to FIG standards

I am trying to wrap my head around the namespaces, autoloaders and FIG standards and most importantly how to achieve their integration to WordPress as close as possible. Here is my file structure, ...
1
vote
2answers
965 views

Load parent theme files before child theme functions.php

I am creating a theme framework to use in future wordpress themes that I develop. I would like to include dependant files such as classes inside the parent theme before the child theme functions.php ...
0
votes
1answer
659 views

How do I override a sidebar that is registered in a parent theme when using a child theme?

I currently am using a child theme, and its parent theme has registered sidebars already.. My. problem is that i want to change the parent theme's dynamic sidebar From: register_sidebar(array( ...
1
vote
1answer
41 views

Removing a Parent Theme's Menu Items

I have a parent theme that is using this code to create menus: function cornerstone_menus() { register_nav_menus( array( 'header-menu-left' => __( 'Header Menu (left)', ...
0
votes
1answer
244 views

Set parent theme language with custom .mo files

I am using Buttercream as my parent theme. I have translated the .mo file located in themes\buttercream\languages and saved it as nl_NL.mo and nl_NL.po. Now I want to display the parent theme in Dutch ...
-1
votes
1answer
275 views

Child Theme CSS Not Overriding Parent Theme In MultiSite Site

I've been banging my head on the wall for a while now trying to figure this out. I have a multisite setup currently with just the main site and a network site I added. The main site displays just ...
0
votes
1answer
257 views

Use admin options from parent theme in child theme

I am creating a child theme for the first time. I have created style.css (and imported parent theme's style.css in it) and also some new files and additional functions in functions.php. Now, I have ...
0
votes
2answers
462 views

Override parent theme function that is not hooked or in the functions.php file

I need to remove a function from the parent theme and replace it within the child theme. The function is called print_meta($meta_box). The function is not pluggable and it located in a random file, ...
0
votes
1answer
136 views

What are the best practices for maintaining and deploying several parent themes?

I've been trying to commission a freelancer to make me a custom website and hit a roadblock when I said I wanted a parent theme. The freelancer strongly preferred to make a child theme based on his ...
0
votes
1answer
736 views

add sidebar area to header of child theme

How can I add some extra sidebar locations for widgets in a child theme. The difficulty I'm having is because the parent theme uses some pretty gnarly setup to define the current sidebars. I would ...
1
vote
2answers
136 views

Global Parent theme for all sites

I have 15 different wordpress sites installed on my server. They are independent installations , not multisite. I have developed a parent theme and copied it in all sites. Now whenever I have to make ...
2
votes
2answers
719 views

Should I ask a theme developer to use locate_template rather than require_once

I was creating a child theme today and needed to overwrite a php file which was included using this code in the themes functions.php file require_once( get_template_directory() . ...
2
votes
0answers
144 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 ...
0
votes
2answers
192 views

Updating parent themes vs. updating starter theme

Context: I use framework parent themes (e.g. Thematic) mainly because it ensures that my custom themes inherit cutting-edge and standard compliant code. Why I'm not yet using starter themes: I'm ...
1
vote
1answer
670 views

How can I change a function in a parent theme via a child themes functions.php

I have a function in a parent theme: function cyberchimps_logo_icons() { ?> <header id="cc-header" class="row-fluid"> <div class="span7"> <?php if ...
0
votes
1answer
285 views

Referencing parent theme image from child theme

Apologies if this has been answered elsewhere, but I've had some trouble finding the solution via Google. I've set up a parent theme and a child theme. Inside the parent theme I have a directory ...
0
votes
1answer
193 views

Wordpress sub-posts and permalinks

I'm thinking about one problem... There is a set of regular posts. Just posts in categories. I need to add for some of them a sort of subposts, posts which will be related to parent-post. This ...
1
vote
1answer
709 views

Declaring an instance of class included in parent theme from child theme functions.php

Please note this is all "working" - the question is about the best practice and to try and work out why I need to include the PHP file which contains the class in two places for it to work correctly. ...
0
votes
1answer
1k views

Override file in parent theme

Presumably a common question, but I'm having some difficulty as it's my first time editing WordPress themes. I'm trying to create child theme based on Zincious. This is all fine for CSS, but when it ...
0
votes
2answers
238 views

switch_to_blog() for parent theme

all. Just trying out switch_to_blog() as a way to have a child site get some news items from the parent site. Problem is, the parent site--first tables in database--doesn't have a number, i.e., ...
1
vote
1answer
585 views

How to remove a parent theme template from Quick Edit?

I was looking for a way to hide the parent theme's templates and found this answer which works perfectly to remove the parent templates from the pages edit screen - How to *remove* a parent theme page ...
0
votes
1answer
93 views

Override typo in multiple parent theme files?

I'm using the lovely Imbalance theme from WPShower. I am able to make almost all the modifications I need through files and filters in the child theme I created. However, there is a typo that appears ...
4
votes
3answers
10k views

how do I queue my Child stylesheet/s *after* every Parent stylesheet/statement?

I'm using the well-written Oenology theme by Chip Bennett as the Parent to my own Child theme. In my development process, I've discovered that there are some challenges for people writing Child ...
2
votes
1answer
165 views

PHP Notices appear when browsing any page in admin, but only for child theme, using code from WP Codex

My php_error.log in my console (locally on OSX) is reporting 3 PHP Notices. The PHP Notices only appear when browsing each admin page in the back-end for a site (running multisite) that uses a child ...
0
votes
1answer
113 views

when I create a page with a /blog permalink the css gets messed up

When I create a page with a default template and parent set to no parent, with the permalinks name being sitename/blog the css on that page gets messed up(including the admin bar is all messed up), if ...
6
votes
3answers
1k views

Child Theme vs Duplicate Theme Renamed

Okay, I quite often see people talk about child themes and the reasons for using them instead of modifying the existing theme, but they all seem to center around the idea that if the parent theme is ...
2
votes
1answer
981 views

Difference between stylesheet_directory and template_directory

What is the differene between stylesheet_directory and template_directory? Is that representing Child theme and Parent theme?
2
votes
2answers
2k views

How can I remove css from a child theme?

I am using the theme twentyten as a parent theme for my child theme. I have other stylesheets I want to use and so I'm trying to figure out how to wp_deregister_style for the style.css sheet that is ...
0
votes
1answer
81 views

Which is the child theme and which is the parent theme?

In the themes folder for my blog, there are three folders and one file: The file is index.php and the folders are: twentyeleven / wordfruit / twentyten The blog is at http://wordfruit.com/blog ...