Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Theme Frameworks"

(Removed Frameworks with broken URL's)
 
(72 intermediate revisions by 39 users not shown)
Line 2: Line 2:
 
{{en|Theme Frameworks}}
 
{{en|Theme Frameworks}}
 
{{pt-br|Frameworks de Temas}}
 
{{pt-br|Frameworks de Temas}}
  +
{{ja|テーマフレームワーク}}
 
}}
 
}}
   
  +
= What is a theme framework?=
=WordPress Theme Frameworks=
 
   
  +
Frameworks are for theme developers. They offer a set of standards for theme developers to use in creating their own themes. They’re a set of functions/features created to aid development.
A Theme framework is a Theme designed to be a flexible foundation for quicker WordPress development, usually serving as a robust Parent Theme for [[Child Themes]]. Some Theme frameworks can also make theme development more accessible, removing the need for programming or design knowledge with options pages.
 
   
==Available Frameworks==
+
== How Frameworks Work? ==
  +
* [http://wordpress.org/extend/themes/atahualpa Atahualpa]
 
  +
*Frameworks come packaged within a single folder.
* [http://wordpress.org/extend/themes/the-buffet-framework The Buffet Framework]
 
  +
*Developers drop the framework folder into a new parent theme and load the framework.
* [http://wordpress.org/extend/themes/carrington-blog Carrington]
 
  +
*Users create a child theme based on the parent theme to house their customizations, allowing both the framework and parent theme to be updated.
* [http://wordpress.org/extend/themes/hybrid Hybrid]
 
  +
* [http://wordpress.org/extend/themes/sandbox Sandbox]
 
  +
Some examples of such frameworks include:
* [http://wordpress.org/extend/themes/thematic Thematic]
 
  +
* [http://wordpress.org/extend/themes/wp-framework WP Framework]
 
 
* [https://github.com/crowdfavorite/wp-carrington-core Carrington Core]
  +
* [https://github.com/wponion/wponion/ WPOnion Framework]
  +
* [http://gantry.org/ Gantry Framework]
  +
* [http://www.getbeans.io Beans Theme Framework]
  +
* [https://github.com/devinsays/options-framework-theme Options Framework]
  +
* [https://github.com/sy4mil/Options-Framework SMOF]
 
* [https://wordpress.org/plugins/unyson/ Unyson]
  +
* [https://github.com/LiftUX/UpThemes-Framework UpThemes Framework]
  +
* [http://nk2580.github.io/WordSmith/ WordSmith]
  +
* [https://github.com/CherryFramework/cherry-framework Cherry]
  +
* [https://typerocket.com/ TypeRocket Framework]
  +
  +
Commercial framework examples:
  +
* [http://codestarframework.com/ Codestar Framework]
  +
* [http://www.studiopress.com/ Genesis Framework]
  +
  +
== Functionality Included in Theme Frameworks ==
  +
  +
Some Theme Frameworks will include pre-defined code to facilitate further Theme development, such as:
  +
* Custom functions to be used in the Theme
  +
* Custom action hooks used in the Theme template
  +
* Custom filter hooks used to output Theme content
  +
* Theme options page integration
  +
* Custom callbacks for [[Plugin_API/Hooks|core WordPress action and filter hooks]]
  +
* Script library integration and functionality, e.g. jQuery sliders
   
 
==Recommended reading==
 
==Recommended reading==
  +
* [http://justintadlock.com/archives/2010/08/16/frameworks-parent-child-and-grandchild-themes Frameworks? Parent, child, and grandchild themes?]
* [http://trac.wordpress.org/ticket/7086 Ticket #7086: Look for Template Files in Stylesheet Directory First]
 
 
* [http://themeshaper.com/functions-php-wordpress-child-themes/ How I used a WordPress Child Theme To Redesign My Blog The Smart Way]
 
* [http://themeshaper.com/functions-php-wordpress-child-themes/ How I used a WordPress Child Theme To Redesign My Blog The Smart Way]
 
* [http://justintadlock.com/archives/2008/12/24/why-i-created-a-wordpress-theme-framework Why I created a WordPress theme framework]
 
* [http://justintadlock.com/archives/2008/12/24/why-i-created-a-wordpress-theme-framework Why I created a WordPress theme framework]
* [http://wpcandy.com/uncategorized/frameworks-child-themes-filters-and-hook Frameworks, Child Themes, Filters, and Hooks?]
 
 
* [http://lorelle.wordpress.com/2008/12/30/parentchild-themes-in-wordpress-the-future-of-wordpress-themes/ Parent/Child Themes in WordPress: The Future of WordPress Themes]
 
* [http://lorelle.wordpress.com/2008/12/30/parentchild-themes-in-wordpress-the-future-of-wordpress-themes/ Parent/Child Themes in WordPress: The Future of WordPress Themes]
 
* [http://extralogical.net/2008/08/theme-inheritance/ Theme Inheritance]
 
* [http://extralogical.net/2008/08/theme-inheritance/ Theme Inheritance]

Latest revision as of 00:31, 8 December 2022

What is a theme framework?

Frameworks are for theme developers. They offer a set of standards for theme developers to use in creating their own themes. They’re a set of functions/features created to aid development.

How Frameworks Work?

  • Frameworks come packaged within a single folder.
  • Developers drop the framework folder into a new parent theme and load the framework.
  • Users create a child theme based on the parent theme to house their customizations, allowing both the framework and parent theme to be updated.

Some examples of such frameworks include:

Commercial framework examples:

Functionality Included in Theme Frameworks

Some Theme Frameworks will include pre-defined code to facilitate further Theme development, such as:

  • Custom functions to be used in the Theme
  • Custom action hooks used in the Theme template
  • Custom filter hooks used to output Theme content
  • Theme options page integration
  • Custom callbacks for core WordPress action and filter hooks
  • Script library integration and functionality, e.g. jQuery sliders

Recommended reading