Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (22 loc) · 661 Bytes

readme.md

File metadata and controls

29 lines (22 loc) · 661 Bytes

CF Taxonomy Post Type Binding

Description

A WordPress plugin that provides extended functionality for taxonomies such as post meta and featured image through creating a custom post type and associating it to that taxonomy.

Usage

Plugin can be installed via default way as WordPress plugin or via composer dependency as library.

Example

/**
 * Configuration
 */
$config = array(
  // Extend all taxonomies for passed post types:
  'post_types' => array( 'post', 'page' ),
  // Do not extend passed taxonomies:
  'exclude' => array( 'category' )
);

/**
 * Loader
 */
new \UsabilityDynamics\CFTPB\Loader( $config );