Skip to content

lopadz/wp-starter

Repository files navigation

WP Starter

Yet another WordPress theme to help you build custom sites. Now on version 2!

WP Starter new screenshot!

New Changes & Updates

  • Re-built and integrated with Bootstrap 4
  • New file structure that really tries to separate logic from presentation (read below for brief explanation)
  • New templating functions to include/require instead of get_template_part()
  • New integrations with WooCommerce and Gravity Forms
  • New page/post Layout Builder powered by ACF

Recommended Dev Workflow

File Structure

If you're not a fan of the template hierarchy in WP, give this theme a try! Using conditional logic and custom functions like wps_get_file() you can load any file you want plus a few more tricks (like passing data to the included file 😀).

Terminology

If needed, you can still load templates the "normal way" to override the theme. But, if you're a rebel, here's a brief explanation of the terminology being used:

  • Components (SCSS): Basic repeatable presentation elements (banners, cards, etc...)

  • Modules (PHP - ACF): Repeatable sections that contain components (columns, carousel, top banner, etc...)

  • Partials (PHP): Repeatable blocks of content (header, footer, hero module, etc...)

  • Layouts (PHP): Groups of partials and/or modules (page, 404, archive, etc...)

  • Templates (PHP - WP): Same as WP to keep things consistent with backend. (Homepage, Layout Builder, Sidebar Left, etc...)

Credits

Theme screenshot based on illustrations from Undraw.

Support & Feedback

"Nobody's perfect." ~Hannah Montana

Ask questions, send feedback (or your fave The Office quote) to [email protected]!

About

Wordpress Starter Theme

Resources

License

Stars

Watchers

Forks

Packages

No packages published