The parent-theme tag has no wiki summary.
-1
votes
1answer
21 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
31 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
29 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
40 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
109 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 ...
0
votes
0answers
56 views
Custom Post Type in Parent Theme causing 404s [closed]
I'm customizing a theme for a client from a theme they bought off of themeforest.net. I created a child theme, where all the customization is located.
Here is the issue:
There are several custom post ...
1
vote
2answers
70 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
77 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() . ...
1
vote
0answers
81 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
72 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
76 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
95 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
64 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
101 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
168 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
138 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
321 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
75 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 ...
0
votes
3answers
2k 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
90 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
87 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 ...
-1
votes
1answer
57 views
override #header description in parent theme [closed]
This is the header in the parent theme :
header .title-description {
position: absolute;
top: 40px;
left: 40px;
padding: 30px;
background: rgb(255, 255, 255); /* Fallback */
background: rgba(255, ...
6
votes
3answers
445 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 ...
1
vote
1answer
435 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
847 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
72 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
...
0
votes
1answer
582 views
Localization: Textdomain of Child teme
I am creating a series of WP child themes which are dependent of a parent theme which I will be using as a framework.
I need to have these themes (both parent and children) localized.
from ...
1
vote
1answer
141 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
vote
2answers
379 views
Do all files in child theme override the parent?
I'm curious if other PHP code files besides functions.php, WP template files and style.css in a child theme actually override the same file in a parent them?
I am working with a client that has a ...
0
votes
3answers
358 views
Child themes: disabling the parent
I'm creating a parent theme and several child themes. But how can I prevent the parent theme from ever being used?
1
vote
2answers
347 views
Grandchild themes and optimal network architecture
I'm trying to create a versatile Wordpress network . In order to speed up development, I imagine I'll need to channel projects to different themes at an early stage. At the core of my network ...
2
votes
4answers
3k views
How to *remove* a parent theme page template from a child theme?
I'm using the TwentyTen theme to create a child theme, but I can't seem to get rid of the 'One column, no sidebar' page template that is in the TwentyTen parent theme.
I thought just copying it over ...
10
votes
1answer
4k views
How to override parent functions in child themes?
I've been reading around and trying to figure out how to do this, but for some reason I can't seem to override parent functions in my child theme.
I'm using TwentyTen as a parent - can anyone tell me ...
49
votes
11answers
8k views
WordPress frameworks and parent themes [closed]
By now there is a considerable amount of WordPress code around that is meant to be re-used by other developers. Unfortunately there is little to none practical and solid information on it and ...