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

1
vote
2answers
2k views

Widget modifications in a child theme

Can I modify widgets in a child theme? When I change the footer, I don't need extra steps -- it just works. What about widgets? Example: A widget of a theme I am using makes use of google maps. I'd ...
4
votes
1answer
1k views

Best practices - Should I create a child theme vs. customizing a framework theme? (such as HTML5 reset)

I have built quite a number of wordpress sites and have worked frequently with the HTML5 reset theme. My workflow has been to simply edit the files in the theme because I often use quite a bit of ...
1
vote
0answers
56 views

Gettext Loads slightly different text [closed]

@ all single post pages the text to indicate one needs to be logged on to leave a comment is not displayed as expected I have this gettext: msgid "You must be %1$slogged in%2$s to post a comment." ...
0
votes
3answers
153 views

Need help with adding templates (archives and sitemap) to Wordpress child theme

I recently switched themes, and my old theme had templates for sitemap and archive (in fact the archive was one of my most viewed pages.) When I switched themes the link to the archive and sitemap ...
1
vote
2answers
2k views

how to change my child theme featured image dimensions?

I am developing a child theme based on the twentyten theme and now i notice the featured image in the WP backend (wp-admin) shows the wrong scaled image. It shows the "twenty ten" size, meaning an ...
0
votes
1answer
486 views

Twenty ten or Twenty eleven as base for responsive child theme

I'm about to make a new child theme and really would like to learn a bit about making it responsive. The design/changes will be rather small. I've done some child themes for both Twenty ten and ...
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
643 views

Overiding functions.php with child-theme

I've been searching for a proper solution to override functions and hooks in my parent theme's functions.php. My parent theme has: define('TS_INC', TEMPLATEPATH .'/inc'); require_once( TS_INC ...
1
vote
1answer
2k views

Do I only need to import style.css for a child theme?

I am creating a child theme for the first time, and sort of learning as I go. I am having an issue with the way videos are showing up on a mobile phone with my child theme, but not with my parent ...
2
votes
3answers
8k views

How to add code to Header.php in a child theme?

I'm creating a child theme for the first time and I had a few questions regarding code added to header. In a non child theme there is certain code I add to my header.php file such as google ...
1
vote
1answer
147 views

Trying to figure out why my child theme is trying to access a file that doesn't exist

This is my attempt at making a child theme, and everything seems to be working well, however when I view the source code I'm seeing this <link rel='stylesheet' id='bootstrap-css' ...
0
votes
2answers
848 views

CSS in child theme not overriding the parent theme [closed]

I am trying to make a child theme for a premium template. My css isn't overriding the parent though. I'm trying to figure out what's going on. Other than important the parent theme's css, is there ...
1
vote
2answers
366 views

Linking to Child Theme PHP Files

I have an existing website with html, css, js, and image files that I am trying to convert over to wordpress. I installed a clean local install using mamp on my hard drive and created a new child ...
0
votes
2answers
375 views

How to properly create a child theme

I would like to create a child theme based on the twentyeleven theme. I understand how to create my own styles.css file to work for my child theme. I would also like to create my own custom ...
4
votes
1answer
1k views

Optimal approach for replacing the 8 header images in a child theme?

After creating a child theme which is made of style.css only (base on twentyeleven), the time has come to replace the images. I found this great tip for accomplishing this by hacking the functions in ...
0
votes
2answers
160 views

Starting point for custom Themes [closed]

What are good themes to start from when creating a custom WordPress theme? So far I have found: HTML5 Reset Theme Constellation Theme
2
votes
1answer
781 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
57 views

simplified explanation on child themes?

I'm trying to create child theme for theme i'm using on my site... I read lot's of articles about this, but can't find simple tutorial or simple explanation how to do it... As i understand so far, if ...
0
votes
1answer
555 views

Creating new templates in child themes breaks layout

I am learning how to create new templates in WP. I am using a child theme of Twenty Eleven. My problem is that whenever I create a new template the layout breaks. For debugging I stopped using any ...
1
vote
1answer
568 views

How to override my plugin's php classes with duplicates that are in my child theme folder

I have a child theme in wordpress and one of the plugins I am using is called jigoshop. I made a copy of a few php classes from the plugin and placed them in my child theme folder. I want these ...
-2
votes
1answer
114 views

melville and its child theme

hello guys im making child theme of melville and i wanna make a custom page with a static menu (as in not made with wp ) of my own and under it i wanna display the content and i use this ...
1
vote
1answer
271 views

get_header('header2') not working properly in child themes

I am trying to replace header-header2.php of my main theme in my child theme and by adding the file in the child theme, but wordpress is loading the file from the main theme itself. Is the second ...
0
votes
1answer
973 views

Removing Shortcodes from Child Theme

I'm trying to remove the shortcodes from a child theme. In my functions.php file (for the child theme), I've put: function my_remove_shortcode(){ return ''; } add_shortcode('entry-twitter-link', ...
0
votes
1answer
180 views

Looking for Functions File that doesn't Exist

My WordPress site seems to be running fine, except that trying to go to the plugins page gives the following error: Fatal error: Cannot redeclare _verifyactivate_widgets() (previously declared in ...
0
votes
1answer
76 views

Any adverse effects of adding apply_filters to a function?

I'm going back through my older WordPress theme and making the functions filterable and also adding the function_exists checks. Is there anything I'm not thinking about that this may cause problems ...
2
votes
2answers
608 views

how can I remove the sidebar from my wp homepage [closed]

What's the best practice when it comes to removing the sidebar on the wordpress homepage? I'm using wp Version 3.2.1 and Skeleton Child Theme 1.6
2
votes
2answers
82 views

When developing a distributable Theme, does it HAVE to be “inheritable”?

I'm currently developing a complex Theme (or framework, if it can be called that) for my own personal use. However, in the event that it becomes appreciated to the public - does it necessarily HAVE ...
2
votes
1answer
237 views

How could child theme be different than parent theme if I haven't made changes?

I made a child theme defined as so: /* Theme Name: GlenTheme Description: Modified Gallery 2.3 theme Template: gallery */ @import url("../gallery/style.css"); The only file in the child theme is ...
2
votes
1answer
1k views

Make “sidebar template” the default template for new pages

On Twenty Eleven or on its child themes the default template for new pages is a template with no sidebar. I don't know why this is like this; it seems to me that the designers of Wordpress are still ...
0
votes
1answer
77 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 ...
1
vote
1answer
985 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 ...
2
votes
2answers
160 views

Can a child theme based on Starker theme be released as free to use theme for public use?

I created a child theme named "Naksh" based on "Starker" theme.Now i want to show case it on wordpress,so can I release it under GPL.Also is there any money I need to pay to Starker theme creator for ...
0
votes
1answer
184 views

Simple child theme modification but links are broken

I have created a simple child theme to modify the Minimal theme by Elegant Themes. The child theme loads with the changes I have made, but the links to pages in the header are all messed up. Rather ...
3
votes
1answer
246 views

Hard Code Pages into a Theme for a Network (multisite) Installation

I'm creating a multisite network and I am looking for a way to have it so new blogs that are created have a couple of standard pages set up automatically. The purpose of these pages will be to ...
1
vote
1answer
218 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 ...
0
votes
1answer
124 views

output custom Posts on a Page

I'm trying to write a function that will output a set of posts on a page. Because I want to display more than just the post titles, wp_get_archives() won't do (I think). The function to add the post ...
2
votes
1answer
720 views

Duplicate and alter sidebar for Twenty Eleven

I'm trying to create own template including submenu instead of the regular sidebar in Twenty Eleven. Although I manage to create and select my new template the page ends up with bad CSS. Here is ...
0
votes
2answers
1k views

WordPress Child Theme - twentyeleven

This is my first attempt at creating a child theme based off the WP twentyeleven theme. To begin with, I am using MAMP on my mac and have the following directory structure: ...
0
votes
3answers
1k views

How to create a second index.php?

I need a duplicate of index.php, but slightly modified. I added a "vote it up" plugin. So, I want the user to select how to display posts - by new or by popular. I know what to add to second ...
10
votes
1answer
10k views

How to override javascript files in child theme?

I'm loading some javascript files in the parent theme. The path in the parent theme is "scripts" > "custom.js". In the child theme, I'm creating the same path (scripts > custom.js) and changing some ...
1
vote
1answer
1k views

How do I get my child-theme to work with my theme's includes folder?

I am using the Canvas WordPress theme (by WooThemes.com) and successfully made a child-theme to override my CSS. However, I would also like to apply the same child-theme principles to my theme's ...
4
votes
2answers
853 views

How to add Color Picker in Theme Options for the following?

I have a landscaping09 theme. This is what I want: A theme options page with the following options: ->Theme color background change (with colorpicker) or url of the image ->General Navbar color ...
0
votes
1answer
5k views

Modify Twentyeleven child theme CSS - How to change body font size?

I've created a twentyeleven-child theme and activated it. I'm trying to increase the size of the body font on all pages. Do I do this in style.css of the twentyeleven-child theme? I can't find the ...
1
vote
1answer
192 views

Wordpress Child Themes

I'm trying to redeclare a function in a wordpress child theme that is already in use by the parent theme. However, I get a "Fatal error: Cannot redeclare" message when trying to do so. Also, I've ...
1
vote
1answer
397 views

Use child theme on certain pages and not others?

I have created a twenty-eleven child theme, I want to know if its possible to only load that child theme on certain pages, maybe with the custom page templates? I have looked via google and on here ...
0
votes
2answers
302 views

Child Theme Based on Toolbox Not Found

I am trying to make a child theme of the toolbox theme and use it in my multisite WP 3.2 install. I created a folder called wp-content/themes/charlie-repair-toolkit/ then I created style.css in the ...
3
votes
2answers
2k views

How do I remove a require_once admin panel from the parent theme from the child theme functions.php?

In the parent theme, the following is at the bottom of the functions.php file. require_once(TEMPLATEPATH . '/admin/admin-menu.php'); In the child theme's function.php, this code will include the ...
3
votes
1answer
3k views

How to override function in functions.php of parent theme?

I have created child of theme twentyten. I tried to override function written below /** * Returns a "Continue Reading" link for excerpts * * @since Twenty Ten 1.0 * @return string "Continue ...
0
votes
1answer
348 views

Load template inside a parent template

Inside of my current theme directory, I created a folder called "mobile" which contains a separate set of template files, all optimized for mobile. Now, say I setup a function that detects a mobile ...