Giter Site home page Giter Site logo

flask's Introduction

Flask WordPress Theme Framework

A slightly opinionated SASS + Bourbon based starter theme for WordPress created by Kyle Larkin and Alex Stockwell. Based on the KL[AS] Framework.

Flask is best paired with Codekit 2.

Installation

  1. Copy the repository to your /wp-content/themes folder
  2. Move the following files out of the theme folder and into the wordpress root directory:
    • .gitignore
    • .htaccess
    • wp-config.php
  3. Rename the theme folder, and update paths in the following locations:
    • /wp-config.php line 85
    • /wp-content/themes/your-theme/sass/framework/_variables.scss line 1
  4. Update /wp-config.php as usual (add db credentials, salts, and staging tld)
  5. Drag and drop the theme folder into Codekit 2

Note for Shared Hosting: The line Options All -Indexes in .htaccess may cause 4xx/5xx errors site-wide on some shared servers. Please remove this line if necessary.

Usage

  1. The wp-config.php file is intended for use with the following 3 project lifecycle environments, with the following naming conventions:
  • Development: [optional.]example.dev. Regex will detect this for you automagically.
  • Staging: any URL structure you'd like, e.g. preview.example.com. You must define this in the /wp-config.php file on line 23.
  • Production: any URL, e.g. example.com. This is the default and the file will fallback to these credentials if the Development/Staging conditions aren't met.

Taking inspiration from:

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.