/Double-E-Foundation

A starter theme for WordPress using Zurb Foundation 6.

Primary LanguageCSSGNU General Public License v3.0GPL-3.0

Hi there!

This is a starter WordPress theme that uses the Zurb Foundation 6 front-end framework.

Demo: Updated demo coming soon.

Features

  • 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.

What version are ya up to?

4.0.0 as of 7 September, 2019.

Foundation version?

Zurb Foundation 6.5.3 as of Double-E-Foundation 4.0 (7 September, 2019).

Third-party libraries used

Recommended plugins

Other credits

Licence

General Public License (GPL) as per the WordPress standard. Foundation uses the MIT License.

Examples of work