Skip to content

Block and Custom Post Type utilities for the Platform Cooperativism Consortium.

License

Notifications You must be signed in to change notification settings

platform-coop-toolkit/pcc-framework

PCC Framework

Utilities, blocks, custom post types, and taxonomies for the Platform Cooperativism Consortium website.

Description

This plugin adds the following custom components for the Platform Cooperativism Consortium:

Blocks:

  • Child Pages
  • Participants Button
  • Program Button
  • Recent Content
  • Social Links

Custom Post Types:

  • Events
  • People

Custom Taxonomies:

  • Roles

The following plugins are required:

  • Contact Form 7
  • Disable Comments
  • Intervention
  • Simple Page Ordering

The following plugins are recommended:

  • Koko Analytics
  • The SEO Framework
  • WP Toolbelt

Installation

  1. Upload the plugin zip file via the Plugins panel in WordPress.
  2. Activate the plugin.
  3. There is no step three.

Upgrade Notice

1.0.0

This is the plugin's first production release.

Development

Commands for development:

  • npm install: Install CSS and JavaScript dependencies
  • npm run build: Build front-end assets
  • npm run build:production: Build front-end assets for production
  • npm run lint: Check CSS and JavaScript coding standards
  • composer install: Install PHP dependencies
  • composer test: Run PHP unit tests and check PHP coding standards (WordPress PHPUnit environment must be set up first)

This plugin uses CSS with PostCSS for admin stylesheets and includes the following PHP libraries: