Skip to content

Child theme for Pitchfork for the In the Loop site. Contents generally mirror those found in the Inner Circle site.

Notifications You must be signed in to change notification settings

asuengineering/pitchfork-intheloop

Repository files navigation

Pitchfork Child
A WordPress child theme for Pitchfork

Requires at least: WP 6.0 Requires PHP: 7.4 Stable tag: 1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

Contributors

Usage Requirements

Recommended / Required Additional Plugins

  • The blocks are constructed using Advanced Custom Fields Pro.
  • They were created using the recommended proceedures of ACF Pro's "Block API v1" which pre-dates the 5.10 release of the plugin.

Development

The plugin uses WP-Gulp to compile SASS and minify assets.

  • Run npm install and npm start to trigger the development tools.
  • gulpfile.babel.js contains the configuration files for BrowserSync, the watched file paths, etc.

An additional gulp script has been added to gulpfile.babel.js to extract a copy of the ASU Unity Bootstrap 4 SASS files from the included library. This allows for the easy linking of the _variables file from the design tokens distribution.

  • Run gulp upboot-tokens to extract the current version of those files.

A small script to lint the codebase is also included via composer. It utilizes the rules outlined in the WP Coding Standards.

  • Run composer install to setup this process.
  • Use composer check:cs to lint the plugin files.
  • Use composer fix:cs to fix the problems that it can address automatically.

Release Notes

Version 1.0

  • FIX: Adjusted style for single.php based on incoming code changes in Pitchfdork v2.1.
  • FIX: Adjust mobile display of #event-breakout section within single.php template.
  • CHANGE: SASS and JS compile process now works with Gulp WP to mirror the functionality of the parent theme.
  • FIX: Removed several unused files from child theme that were left over from intiial build modeled on Inner Circle.

Version 0.4

  • CHANGE: Downgrade composer library for spatie/calendar-links to a version which supports PHP 7.4. The downgrade is due to the lack of PHP 8 support for a separate plugin that's running within the site. PHP 8 breaks Edit Flow but was required for the spatie/calendar-links library at versions greater than the current v8.0.

Version 0.3

  • Addressed PHP fatal errors related to missing composer assets within the theme.
  • Adjusted layouts and ACF fields for taxonomy.php and category.php archive pages.
  • Adjusted layout of post meta elements within inherited from the Inner Circle child theme.

Version 0.1

  • First stable release of the plugin.

About

Child theme for Pitchfork for the In the Loop site. Contents generally mirror those found in the Inner Circle site.

Resources

Stars

Watchers

Forks

Packages

No packages published