WP Manifestindependent plugin directory
manifest / content / pbsci-core-functionality-plugin

UCSC Science/PBSci Custom Functionality

WordPress plugin containing pbsci's core functionality code

by Jason Chafin, Senior Developer, UC Santa Cruz Communications & Marketing · github.com/ucsc/pbsci-core-functionality-plugin · website

1stars
0forks

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/ucsc/pbsci-core-functionality-plugin/archive/refs/heads/master.zip

Readme

UC Santa Cruz | Science WordPress Core Functionality Plugin

WordPress plugin for UC Santa,Cruz Science.

This plugin contains the site's core functionality. Any custom post-types, taxonomies, or shrotcodes are defined in here rather than the theme, making it theme independent. If the current theme is changed at a future date, this plugin will ensure the any custom functionality remains.

This plugin contains the following library structure; however, it can be expanded greatly:

  • general.php -- for any general functions you would write

  • post-types.php -- for registering custom post types

  • shortcodes.php -- for writing custom shortcodes

  • taxonomies.php -- for custom taxonomies

Dependencies

Install and build

Clone this repository into the /wp-content/plugins/ directory of your WordPress development environment. Navigate to the directory you cloned this repo into with your terminal and type:

npm install

Wait several minutes for the installation to complete and you're in business!

Gulp tasks

There are two Gulp tasks defined in the gulpfile.js file:

There is no style.css file in this repo. The gulp styles task will build your style.css file based on the SASS files located in /assets/sass/. This task will also created minified styles, saved as styles.min.css.

gulp styles

The gulp watch task will continuously watch your /assets/sass/ directory and rebuild your styles every time you save a SASS file.

gulp watch

Credits

  • Developed by Jason Chafin, Senior Web Developer, UC Santa Cruz Communications & Marketing

Read the full README on GitHub →

Releases

TagPublished
v1.2.1 Apr 15, 2020
v1.2.0 Apr 9, 2020

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.