WP Timber rocket template
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
include
js
twig
.DS_Store
README.md
favicon.ico
functions.php
index.php
style.css
style.less

README.md

What you got is:

  • style.css done in style.less
  • index.php as router
  • functions.php Timber init, script & styles init, plus ready to use includes as follows
  • /css/ Bootstrap 4
  • /js/ Bootstrap 4
  • /includes/
    • create-taxonomies.php
    • customize-menu-order.php
    • p2p-registers.php
    • page-step-navigation.php
    • register-custom-post-types.php
    • remove-page-wyswig.php
    • remove-taxonomies.php
    • rename-pages.php
    • rename-posts.php
    • theme-support.php
  • /twig/
    • /partial/

What I use over and over again, is:

  • Register custom post types /includes/register-custom-post-types.php
  • setup menu ("top_menu" see index.php)
  • add custom fields with ACF (https://www.advancedcustomfields.com/)
  • build up the template