Pitchfork - 44 Day Calculator
A block to display a configurable future calculated date. Used within faculty.engineering.asu.edu
by ASU Engineering · github.com/asuengineering/pitchfork-44day-calculator · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/asuengineering/pitchfork-44day-calculator/archive/refs/heads/main.zipDeclares an update source (https://github.com/asuengineering/pitchfork-44day-calculator), so updates arrive through the plugin's own updater.
Readme
44 Day Tracker Shortcode
A plugin for use with the Faculty website for ASU Engineering. Styled for use with the Pitchfork theme for WordPress and the Unity Design Kit from Enterprise Technology.
This plugin registers one shortcode and enqueues one additional JS file to add an event listener for the produced markup on the page.
Requires at least: WP 6.2 Tested up to: 6.2 Requires PHP: 7.3 Stable tag: 1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html
Contributors
- Steve Ryan (ASU Engineering)
Usage Requirements
- Download the lastest release from Github.
- Install in the normal WP location for plugins which is typically
/wp-content/plugins.
Plugin updates can optionally be managed from the admin dashboard through the use of Git Updater.
Includes
This plugin registers one shortcode with zero extra parameters needed.
[44day-tracker] will produce a form element with supporting classes from the Unity Design system for consistent formatting within ASU websites.
Demo and notes
- The shortcode markup only includes the form element and the related
<dl>that displays the dates. - Use other blocks within the Pitchfork theme to add the background color, padding and related heading elements as needed.
Development
- Run
npm installandcomposer installprior to local development. - SASS and JS compile & watch tasks are triggered via Gulp WP and
npx gulp-wpfrom the project root.
Release Notes
See CHANGELOG.md for the a list of all improvements made to this plugin.