Blocks 2.0.0

Big refactor for the Blocks theme, including preparations for the arrival of Energy Voice and Sunday Post.

  • New functionality:
    • Added post date limit setting to Theme Options
    • Added 1120×101 ad slot for upcoming Energy Voice theme
    • Added Full Width toggle to existing Text block
  • Updated functionality:
    • Moved Papertray controls from ACF, into Theme Options
    • Made singular Search Form instance, instead of responsive show/hide on two forms
  • Removing unused functionality:
    • Customizer CSS (to be handled immediately by child themes):
      • Font sizes
      • Colours
    • Product functionality:
      • Block
      • Post type
      • Custom taxonomy
  • Code quality improvements:
    • All code now meets current Digital department WP standards
    • Accessibility fixes:
      • Fixed insufficient colour contrast ratios
      • Added aria-label attributes to form functionality
      • Added missing title and alt text to links and images
      • Added hidden accessibility text helpers
      • Removed maximum-scale of device media to allow zooming
      • Fixed heading ordering for better screen reader experience
    • Enhanced code security
    • PHP bug fixes
  • CSS quality improvements:
    • Adding flexbox layout enhancement:
      • News (grid) block alignment
      • Carousel block alignment
      • Gallery block
      • Author meta
    • Moving new flexbox features into appropriate @supports queries
      • Added non-flex fallbacks
    • Moving all @media and @supports query CSS into own stylesheet
    • General CSS housekeeping