Codex

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

Difference between revisions of "Theme Frameworks"

(How Frameworks Work?)
(Removed Frameworks with broken URL's)
 
Line 20: Line 20:
 
* [https://github.com/wponion/wponion/ WPOnion Framework]
 
* [https://github.com/wponion/wponion/ WPOnion Framework]
 
* [http://gantry.org/ Gantry Framework]
 
* [http://gantry.org/ Gantry Framework]
* [http://themehybrid.com/hybrid-core Hybrid Core]
 
 
* [http://www.getbeans.io Beans Theme Framework]
 
* [http://www.getbeans.io Beans Theme Framework]
 
* [https://github.com/devinsays/options-framework-theme Options Framework]
 
* [https://github.com/devinsays/options-framework-theme Options Framework]
Line 26: Line 25:
 
* [https://wordpress.org/plugins/unyson/ Unyson]
 
* [https://wordpress.org/plugins/unyson/ Unyson]
 
* [https://github.com/LiftUX/UpThemes-Framework UpThemes Framework]
 
* [https://github.com/LiftUX/UpThemes-Framework UpThemes Framework]
* [http://vafpress.com/vafpress-framework Vafpress Framework]
 
 
* [http://nk2580.github.io/WordSmith/ WordSmith]
 
* [http://nk2580.github.io/WordSmith/ WordSmith]
 
* [https://github.com/CherryFramework/cherry-framework Cherry]
 
* [https://github.com/CherryFramework/cherry-framework Cherry]

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