WP Manifestindependent plugin directory
manifest / content / uamswp-shortcodes-ui

UAMSWP Shortcodes UI

Useful shortcodes for UAMS websites, which can be added using the Shortcake shortcode UI.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/uams-web/uamswp-shortcodes-ui/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

UAMS Shortcodes

Description

Modelled after Shortcake's Bakery, this plugin is meant to offer extended functionality and content to OIT Design clients, above and beyond what is normally offered by WordPress, while ensuring that the offered functionality is compatible with whatever theme the client happens to be using.

This project is also an attempt to improve the extensibility of the original NCSU Shortcodes plugin, and make it easier for 3rd parties to contribute additional shortcodes while maintaining a standardized approach that preserves the integrity of each individual shortcode.

Contributing

See the wiki for guidance on how to contribute proposed shortcodes for inclusion into this project.

NodeJS is required for properly preparing source files. Afterward, we use Gulp to do the dirty work.

# install gulp globally
npm install -g gulp
# install gulp locally
npm install gulp
# install gulp dependencies
npm install

CSS and JS changes

Gulp is set to compile CoffeeScript, just be sure to put it in the appropriate location. This project also makes use of Sass, which its own respective location. No direct edits to CSS should be made.

It may be fruitful at some point to also minify/uglify.

# lastly, execute the task runner
gulp

Continuous integration

Pull requests and pushes to master run .github/workflows/ci.yml, which calls the shared chain in UAMS-Web/uams-ci-workflows (Pint, Rector, PHPStan, Pest, a PHP 8.2 syntax check of the files the download ships, and the download archive check). The one check a ruleset needs from it is CI. To run the same checks locally:

composer test:pint
composer test:refactor
composer stan
composer test:unit
LINT_PHP=/path/to/php8.2 composer lint:floor
node .claude/skills/download-archive-check/check-download-archive.mjs