Tag Info

Hot answers tagged

23

You should run the code after theme setup. function osu_twentyten_continue_reading_link() { return ' <a href="'. get_permalink() . '">' . __( 'Read on <span class="meta-nav">&rarr;</span>', 'twentyten-child' ) . '</a>'; } function osu_twentyten_auto_excerpt_more( $more ) { return ' &hellip;' . ...


14

Hybrid Theme Hybrid, developed by Justin Tadlock. Scope of code is primarily PHP internal functionality and front-end templates for themes. Interesting features: code aims to minimize template edits, most of functionality can be controlled via hooks; context-aware - extended body-class, dynamic context-aware hooks that allow to hook events that fire only ...


12

Genesis Developed by StudioPress Purpose Barebones parent theme providing mulitple sidebars; custom, configurable widgets; and a configurable multi-column display Parent theme works as a highly extensible framework - the different variations in design that exist for Genesis seem endless Strong Features Automatic updates A new settings import/export ...


10

Thematic Developed by ThemeShaper Purpose Free, open-source, highly extensible, search-engine optimized WordPress Theme Framework Strong Features 13 widget-ready areas Grid-based layout sampels Built-in styling for popular plug-ins Massive support community of professional designers and developers Bonus Credibility Third place in WPHonors 2010 ...


9

Overriding that template would be much easier than getting rid of it. Just the way logic goes. I make no claim it's efficient idea (late here), but this would get it nuked from edit screen: add_action('admin_head-post.php','remove_template'); function remove_template() { global $wp_themes; get_themes(); $templates = &$wp_themes['Twenty ...


9

Expanding on @Rarst's answer, here's a more generic approach that is not tied to a specific theme, but can be used inside your own child theme's functions.php to nuke any parent theme page templates you want to get rid of. function remove_template( $files_to_delete = array() ){ global $wp_themes; // As convenience, allow a single value to be used ...


9

Child Themes are useful for users who mainly want to make style changes to their Theme, but don't want - or know how - to maintain the underlying code. Grokking PHP/WordPress Theme Development is an entirely different thing than grokking CSS. Child Themes are also useful for users who want to implement minor functional changes to their Theme. This is ...


9

WordPress 3.9 introduces a theme_page_templates filter. The example below from a Twenty Fourteen child theme functions.php shows how to remove the "Contributor Page" template: function tfc_remove_page_templates( $templates ) { unset( $templates['page-templates/contributors.php'] ); return $templates; } add_filter( 'theme_page_templates', ...


7

Kind of - the template_directory is the directory of your parent theme. The stylesheet_directory is the directory containing the primary stylesheet in use (which, if you have a child template will be the in the child directory, otherwise it will be in the template directory). See the Codex here: 'stylesheet_url' - Returns the primary CSS (usually ...


7

You don't have to use @import. It's best not to, actually. Using an enqueued approach is probably better all around. Here's the relevant part of twentythirteen's code: function twentythirteen_scripts_styles() { ... // Loads our main stylesheet. wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '2013-07-18' ); ... } ...


7

Just FYI, this question probably borders on too localized, as it is specific to the Oenology Theme. That said, here's where I think you're having a problem: Oenology enqueues two style sheets: style.css, directly in the document head (thus before wp_head() is fired) {varietal}.css, at wp_enqueue_scripts, with priority 11, in functions/dynamic-css.php: ...


7

Twenty Ten I have tried several frameworks and not liked any of them at all for heavier development. For quick stuff they are ok but all the extra stuff can make custom work a nightmare. Often the frameworks are so custom that it is like learning a new system. For that reason I often just use Twentyten or a similar blank slate or sandbox theme. Purpose ...


6

In addition to Chip Bennets answer Some developers like myself have their own custom frameworks or are using one like Genesis, Hybrid, etc. Those frameworks don't bundle too much styling, but more functionality like their own templating and hooking mechanisms. Sometimes also stuff like CPT or CT base classes, meta box libraries, css frameworks, etc. It's ...


5

One of the biggest uses for child themes is in MUWP instances. Often, in a multisite install, the related sites share some or most of the theme, but may need to have some custom page layouts or element styles. In this case, it makes a lot of sense to use child themes. Elements that are the same are addressed in the parent theme (which may in fact be a custom ...


5

scbFramework Developed by scribu. Purpose Set of plugin development helper classes for creating forms, widgets, admin pages, database tables and more. Features can be bundled with plugin or specified as plugin dependency automatically loads latest version of itself, if multiple are present in different plugins Issues poorly documented tends to ...


4

Canvas Purpose Advanced standalone/parent theme, uses WooFramework. For sketching out sites and concepts. Building a version 1 without having to do so from scratch. Strong features I find the theme code very easy to hack for my purposes. Canvas uses a lot of new HTML and CSS features in a smart way. Downsides Not free (but free software) ...


4

Generally speaking, Child Themes were originally intended to be able to do two things: Override parent Theme CSS Override parent Theme template files I doubt that the Theme developer intends for the /function-includes/theme-functions.php file to be overridden by a Child Theme. Functional files are usually a core component of the Theme, and allowing a ...


4

There's a new filter in WP core (3.9) to remove page templates. It can be used from child themes. Here's how to achieve this in TwentyTen (tested on WP 3.9): add_filter( 'theme_page_templates', 'my_remove_page_template' ); function my_remove_page_template( $pages_templates ) { unset( $pages_templates['onecolumn-page.php'] ); return ...


3

You can enable child themes for any theme: http://codex.wordpress.org/Child_Themes If you want your parent theme based off another parent theme, for example you want a theme based off of Twitter bootstrap and apply any changes they make to your framework, without over-riding your changes, use revision control. Git Mercurial etc.


3

It depends entirely on a) what functions and template files you're talking about, and b) how those functions are defined, or template files are called, in the Parent Theme. If the Parent Theme uses get_template_part(), then you're golden. If the Parent Theme uses get_stylesheet_directory_uri() or STYLESHEETPATH, then you can override, with caveats. If the ...


3

SWIFT On my private blog i use : http://swiftthemes.com/ purpose: standalone theme but child themes are supported with demo childtheme Kill Bill theme included strong features: out of the box it includes a real handy template adjustable in the end user menu system nice friendly creater and user community its easy to understand and easy hackable which ...


3

Headway Theme Developed by Headway Themes Purpose Highly advanced parent theme with a built-in drag-and-drop visual developer (for non-coders) Strong Features Visual layout designer Built-in SEO features Deep documentation and tutorial content Massive support community of professional designers and developers Bonus Credibility First place in ...


3

Carrington 'Carrington is a theme platform for WordPress from Crowd Favorite.' Carrington is a new (we think better) way of organizing a WordPress theme, coupled with a core framework engine that provides a bunch of exciting functionality for free, just by creating different named templates. -- What is Carrington Purpose Development Framework ...


3

Child themes should use load_child_theme_textdomain(). You can find it in /wp-includes/l10n.php. Use a new slug and a separate po file.


3

Your site is not using a Child Theme. It is currently using the WordFruit Theme, and this Theme does not declare any Theme as a Template. If it were, you would see a Template: parent-theme header tag (where "parent-theme" would be, e.g. twentyeleven if it were using Twenty Eleven as its parent Theme) in style.css Thus, WordFruit appears to be a stand-alone ...


3

Thesis Theme Framework The Thesis Theme framework is a premium template system for WordPress that is designed to serve as the rock-solid foundation beneath any kind of website. Features (And i quote): Thesis option panels Unique designs revolutionary layout generator (with 1, 2, and 3-column layout combinations) pinpoint font controls Additional ...


2

Not using the current system. In order to serve as a valid Template for a Child Theme, the Parent Theme must exist, and be a valid Theme. That's because the Parent Theme's template files must be accessible via locate_template(), in order for the Child-Parent fallback to work properly. Note: if this core Trac ticket is implemented, then you'll be able to ...


2

On your wordpress menu use another class instead of "blog" for the blog item, cause your theme has a function that add a similar class to the body so it's creating a conflict in there, try erasing your blog class for you to notice. Also the app.css if for ur custom css :), no need to use both.


2

Starkers Starkers is a bare-bones WordPress theme created to act as a starting point for the theme designer. Purpose: A great starting point for any WP theme. It containings all the basic template tags you need to create a theme without any unnecessary markup / images / js. In my opinion one of the best themes to use when learning to develop for WP ...


2

While I agree with Justin Tadlock on a lot of things, I strongly disagree with him on this. The reason parent/child themes exist is that there's a lot of common functionality used across websites. Instead of re-inventing the wheel every time, it's better to build from a solid base that has been tested by hundreds of developers and used on tens of thousands ...



Only top voted, non community-wiki answers of a minimum length are eligible