Skip to content

v5.0.0

Compare
Choose a tag to compare
@alana-mullen alana-mullen released this 22 Apr 05:23

Key Changes:

  • Updated to Foundation 6.3.1.
  • Now using flex grid as default.
  • Enabled shortcodes in widgets.
  • Page default is now full width, with template options for left or right sidebar
  • Moved content post formats to template-parts.
  • Archive/category/index/tags have been simplified allowing them to use the same layout via get_template_part.
  • Added ability to switch blog layouts (e.g 'classic', 'grid', 'cards') for archive/category/index/tags by changing a parameter in the get_template_part.
  • Improved documentation at the top of files.
  • Main style.css enqueued for those not using the theme with a child theme. Easily overridden from child theme.
  • Included WordPress Core CSS in stylesheet - https://codex.wordpress.org/CSS
  • Added Responsive Embed wrapper for YouTube, Vimeo and Facebook videos
  • The cornerstone_entry_meta function has been completely rewritten. Options have been added to easily change the order of the meta information to be displayed ('date', 'author', 'categories', 'tags'). The function now has the ability to remove items from display in the theme, e.g. removing author byline. This is done by removing the item from the order array. Text, images or font icons can be added before and after each item. Entry meta is now added via the do_action hooks 'cornerstone_entry_meta_header' and 'cornerstone_entry_meta_footer' instead of directly using cornerstone_entry_meta() in the theme.
  • Added bower.json file to enable updating of CSS/JavaScript dependencies using bower-installer https://github.com/rquadling/bower-installer
  • CSS and JavaScript including the main style.css can now be overridden in a child theme by just adding a file with the same name and in the same folder structure. No need to dequeue/enqueue in your child theme. For example, 'foundation.css' in a 'css' folder in a child theme will override the one in the parent theme.