Giter VIP home page Giter VIP logo

cottontail's Introduction

Cottontail Creative WordPress Theme

Starter Theme: Sage 10 from Roots

Sage 10 is a theme heavily influenced by Laravel and the MVC coding framework. I use it on almost all of my custom WordPress projects.

Dependencies & plugins

  • Custom Functionality Plugin - To handle custom post types, taxonomies & othter content-specific functionality
  • Advanced Custom Fields - To hold custom meta data for posts
  • TailwindCSS v2 - A CSS framework used for styling the frontend

Requirements for development (usually installed globally on my machine)

How to use & develop

Install Virtual Server for WordPress

You will need a virtual server for your WordPress instance. Local by Flywheel is easy to set up and free.

Initialize Repo in Root and Pull Starter Theme & Plugins

Initialize your repo in the root of your local WordPress instance. In local that's located in <instance name>/app/public

Appropriately name theme and functionality plugin for the site

Rename ctc directory for the appropriate project. Rename the theme in the WordPress backend in style.css. Update browswerSync() proxy in webpack.mix.js to reflect your local development URL. Refer to WordPress docs on Plugin Development and Theme Development for options in naming.

Build packages & modules for theme

Navigate to theme directory and install composer composer install and initialize yarn yarn. After packages and modules are built, run yarn build to build theme assets.

Activate theme & plugins in the WordPress dashboard

Dashboard is available at <local dev URL>/wp-admin.

Start developing

WordPress documentation answers a lot of questions about the WordPress API. Advanced Custom Fields documentation also provides a lot of insight into more pointed WordPress development. Documentation on Sage 10 is not yet available as of writing but the Sage discourse provide a lot of great help with this modern style of theme development. Sage also uses many borrowed functions and plugins from Laravel and their docs can be helpful.

cottontail's People

Contributors

aidanweltner avatar

Stargazers

Huub avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.