Skip to content

transitionnetwork/tn-resources-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devDependency Status

Tofino

Tofino

A WordPress starter theme for jumpstarting custom theme development.

Developed by Daniel Hewes, Jake Gully.

Ongoing development is sponsored by Creative Dot

Heavily inspired the by awesome WordPress starter theme Sage by Roots from Ben Word and Scott Walkinshaw.

Requirements

Prerequisite How to check How to install
PHP >= 7.3.0 php -v php.net
Node.js >= 12.16.3 node -v nodejs.org
Composer >= 2.0.0 composer -V getcomposer.org

Installation

  • Download the latest tagged release.
  • Clone the git repo and run the following commands:
composer install
npm install
npm run dev

Once you have activated the theme, access Theme Options (WP Customizer) update an option and select save to commit the default values to the database.

Features

  • tailwindcss(v2.0)
  • Multilingual ready (WPML)
  • Responsive
  • Theme Options via WP Customizer (Native)
    • Admin login screen logo
    • Custom Dashboard Widget
    • Google Analytics
    • Social links
    • Sticky menu
    • Sticky footer
    • Left/Center/Right menu positions
    • Client Data (Address, Telephone number, Email address, Company number)
    • Footer text
    • Notification text / EU Cookie notice with top/bottom positions
    • Contact form with Google reCAPTCHA and custom email templates
    • Data Tables for viewing data submitted via the contact form
    • Maintenance mode popup
    • jQuery in footer
  • JS ES6 compatible via Babel and Browserify.
  • Laravel Mix build script d
  • Composer for PHP package management
  • Namespaced functions
  • Auto post type / slug based template routing
  • Shortcodes
  • Web Font Loader load Google, Typekit and custom fonts.
  • Fragment Cache class

Documentation

Docs are provided by README.md files in each directory.

Deployment

We use GitHub Actions. The deployment script is issued the following commands:

composer install
npm install
npm run dev

The following files and directories should not be deployed on the server:

src
node_modules
.vscode
.editorconfig
.env
.git
.github
.gitignore
.gitkeep
.git-ftp-ignore
.git-ftp-include
.gitattributes
.gitignore
.babelrc
.stylelintrc.js
.prettierrc.js
.eslintrc.js
postcss.config.js
composer.json
composer.lock
package.json
package-lock.json
tailwind.config.js
webpack.mix.js
*.md

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published