Skip to content

albanyacademy/abp-html5blank-webpack-theme-holding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABP HTML5Blank + Webpack - A Wordpress theme starter for rapid development, based off of https://github.com/lukaomi/Prcyxpress

current version: 1.0

Features

  • Babel polyfill for writing es5, es6 JS
  • BrowserSync (you can use webpack-dev server if you want, BrowserSync plays nice with MAMP and AMPPS)
  • SASS (change in webpack.config.js if you want to use another preprocessor)
  • CSS, JS optimization and minify.
  • Well structured theme files and functions (thanks to html5blank, see html5blank README.md below)
  • JQUERY included - if you like feeling old (commented out by default in ./src/app.js)

That is just starting point, more webpack options can be added to the theme as needed.

How to install

  1. Download WPEngine Backup of WordPress core files or get the most recent version of WordPress from wordpress.org
  2. copy this theme into wp-content/themes/
  3. npm install
  4. setup config in webpack.config.js (proxy or port if you are using browsersync option)
  5. run "npm run ---'script name' " from options NPM build options below

NPM build options

Usage Script name
Development build
Development + watch watch
Production production

Powerful shell for rapidly deploying your WordPress projects.

Contributors (in order of pull request)

David Munn, Patrick Zeinert, J-Rabe, Steve Steiner, Kyle Hudson, chrisdl, Marcel Miranda, Fx Bénard, Ioan Virag, Mohamed Elkebir, lregla, Carlos Pinar, Joshua Lyman, Kevin Plattret, Wesllei Henrique, Stacey Cordoni.

Getting Started with HTML5 Blank

Download the latest version from html5blank.com

Get involved! Make HTML5 Blank better

There are a few ways to get involved, submit a Pull Request, or submit a comment on the website - html5blank.com

Features

HTML5

  • Basic Semantic HTML5 Markup
  • W3C Valid Code Foundations
  • Responsive Ready, ViewPort meta data
  • HTML Class support for IE7, IE8, IE9 Conditionals (HTML5 Boilerplate)
  • Clean, neatly organised code, with PHP annotations

jQuery + JavaScript

  • Replaced built-in WordPress enqueue with Google CDN
  • Protocol relative jQuery if Google CDN offline (HTML5 Boilerplate)
  • Conditionizr for cross-platform/device detects and enhancements
  • Modernizr feature detection, HTML5 element support for legacy, progressive enhancement (HTML5 Boilerplate)
  • DOM Ready JavaScript file setup (scripts.js) for instant JavaScript development
  • JavaScript files enqueued using WordPress functions into wp_head

CSS3

  • HTML5 Boilerplate reset
  • Media Queries framework for instant development using @media
  • @font-face empty framework with Fonts folder setup ready for new custom fonts
  • CSS3 custom selection styles
  • Inline print styles (HTML5 Boilerplate)
  • Body element config, including Optimize Legibility for kerning and font-smoothing
  • Replaced focus styles to avoid blue blur in field elements, replaced with border
  • Stylesheet enqueued using WordPress functions into wp_head

Preloaded Functions (functions.php)

  • Enqueue Scripts functions setup
  • Enqueue Styles functions setup
  • Dynamic WordPress Menu Navigation Support, preloaded with 3 Dynamic menus
  • Cleaned up dynamic nav output (Remove outer 'div')
  • Remove all injected classes from nav items, ID's, Page ID's
  • Custom Post Type x1 preloaded for demonstration, supporting: Category, Tags, Post Thumbnails, Excerpts
  • Dynamic Sidebar with x2 Widget Areas, and sidebar.php setup
  • WordPress Thumbnail Support, no Plugin image cropping, custom Arrays and Thumbnail settings
  • Custom Excerpt callbacks, with changeable callback numbers
  • Replaced 'Read More' button for custom Excerpt callbacks
  • Demo Shortcodes included, with Nested Shortcode capability
  • Add Slug to body class (Starkers Theme credit)
  • wp_head functions stripped right down, remove excess injected junk
  • All functions annotated, categorised into sections, filters, actions, shortcodes etc.
  • Space for development, neatly organised code with Modules/External files

Theme Files and Functionality

  • Built in Pagination, no plugins (strips out prev + next post and gives page numbers)
  • Optimised Google Analytics in footer (HTML5 Boilerplate)
  • Widget Area Sidebar support, functions in place to get developing
  • Custom Search Form included (searchform.php) - fully editable
  • Tags support for showing Post Tags
  • Category support for showing the Category of post
  • Author support showing the author
  • Demo Custom Page Template for expansion

About

Adds a template file for holding pages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published