2017 © Pedro Peláez
 

library wordpress-theme-boilerplate

WordPress theme boilerplate with better code structure and OOP support.

image

justcoded/wordpress-theme-boilerplate

WordPress theme boilerplate with better code structure and OOP support.

  • Tuesday, July 3, 2018
  • by justcoded
  • Repository
  • 3 Watchers
  • 5 Stars
  • 378 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 11 Versions
  • 14 % Grown

The README.md

WordPress Theme Boilerplate

This package contains Theme Boilerplate, which has a lot of improvements and security patches, according to standard WordPress theme boilerplates (like underscore, etc.). The code is object-oriented and works with PSR-4 autoload., (*1)

Requirements

Theme core files (base classes) are presented as separate wordpress plugin package called WordPress Theme Framework. They were moved as a plugin to provide easier support and updates population through different site installations., (*2)

This solution makes possible to deliver new updates and hot fixes without modifying the theme code., (*3)

What's Inside?

Better File Structure

The organization of a theme is very similar to modern PHP Frameworks. We totally separated registration of hooks and components, query logic, and the templates., (*4)

We tried to keep as much standard WordPress features as possible, so all "views" work in the same Template Hierarchy as standard templates, just grouped by content types (with folders)., (*5)

File structure, (*6)

Template Inheritance

We added modern template inheritance system based on layouts (very similar to Laravel and Yii frameworks). Some WordPress developers call it a "Theme Wrapper". Markup is handled by one layout file (or more if needed) instead of being scattered across all template files as in typical themes. Stay DRY!, (*7)

Security and Optimization

Theme files are nice and clean, and Theme Framework has a lot of hooks to make your WordPress more secure and keep the final generated HTML clean and optimized., (*8)

Documentation

Read our Wiki to find out all features., (*9)

The Versions

03/07 2018

dev-socials_feed

dev-socials_feed

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

27/06 2018

dev-master

9999999-dev

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

27/06 2018

1.1.4

1.1.4.0

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

27/06 2018

dev-develop

dev-develop

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

17/05 2018

1.1.3

1.1.3.0

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

17/01 2018

dev-child-theme

dev-child-theme

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

17/01 2018

dev-feature/pb_fields

dev-feature/pb_fields

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

12/01 2018

1.1.2

1.1.2.0

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

10/01 2018

1.1.1

1.1.1.0

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

19/12 2017

dev-theme_improvement

dev-theme_improvement

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme

21/11 2017

1.0

1.0.0.0

WordPress theme boilerplate with better code structure and OOP support.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

wordpress wp composer wordpress theme justcoded theme boilerplate wp theme