This is a starter WordPress theme that uses the Zurb Foundation 6 front-end framework.
Demo: Updated demo coming soon.
- Style Guide page template containing core elements such as headings, paragraphs, lists, tables, forms, callouts/messages, buttons and pagination. I use this template to set up all of my core styling at once, early in the theme development process.
- Uses Foundation's Flexbox grid and utilises flexbox throughout.
- Handy template development functions:
- Content splitter: Allows you to use the 'read more' tag in the WordPress editor to split the content into an array and output each section in different places in a template.
- Gallery / content splitter: Enables you to separate out galleries inserted in the WordPress editor to display them separately in the template.
- Featured image banner with basic image size checker that will check if a featured image has been set and whether or not it meets dimension requirements before being displayed; if it does not exist or meet requirements, the same checks will be run on the parent page and its image used if it meets requirements; if there is no parent page or requirements are ot met, a default image is used.
- Dynamic featured image banner (work in progress) that loads different sized images (as CSS backgrounds) according to the viewport size; if a page's image doesn't meet size requirements, the parent image will be used, and if there is no parent or that image isn't large enough either, a default image will be used.
- Automatic featured image: If no image is set, use the first attachment. Uncomment the function in
functions/media.php
to use. - Some WooCommerce functions I commonly use. Add to or remove these as needed. To use, you will need to uncomment the call to functions/woocommerce.php the file in functions.php.
- Additional WooCommerce functions for if you are using it to display products but aren't using eCommerce functionality (e.g. product catalogue). Uncomment functions/woocommerce-catagloue.php to use.
4.0.0 as of 7 September, 2019.
Zurb Foundation 6.5.3 as of Double-E-Foundation 4.0 (7 September, 2019).
- Zurb Foundation 6
- Animate.scss
- Hover.css
- Font Awesome 5 (Note: You must add your own kit code in
functions/setup/enqueue-scripts.php
) - inView
- Fancybox (Note: Fancybox is GPL licensed for open source projects only. For commercial projects you must purchase a licence).
- Owl Carousel 2
- TippyJS
- Advanced Custom Fields Pro
- Classic Editor (This theme is untested with Gutenberg)
- This project started as a fork of Ole Fredrik Lie's FoundationPress.
- Other credits for specific functions can be found in the relevant files throughout the theme.
General Public License (GPL) as per the WordPress standard. Foundation uses the MIT License.
- Triathlon Victoria
- Kids Compass Paediatric Therapy Centre
- Exford Primary School
- AMR Hewitts Print Packaging
- Calisthenics Association of Queensland Inc
- Beejays Calisthenics Club
- Werribee Business and Tourism Association
- Lynriz Debutante Presentations
- Oliver-Ramsay Security
- Ellyn Shepherd
- Julia Timson Civil Celebrant
- Melton Calisthenics Club
- Doncaster Calisthenics Club
- Early Learning Childcare & Kindergarten
- Cutting Edge Video Productions