WP Manifestindependent plugin directory
manifest / developer / wenprise-content-types

Wenprise Content Types

Create WordPress content types and taxonomies more easier.

★ 0stars
v3.0.1latest · 1 year ago

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/iwillhappy1314/wenprise-content-types/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.

Create WordPress content types and taxonomies easier.

Register Post type

 \WenpriseContentTypes\ContentType::register( "work", "Works", [ 'title', 'editor', 'thumbnail'], true, false, 'dashicons-art' );

Params

 @param string  $name         Post type name in the menu and page title
 @param array|boolean   $support      The functions post type support
 @param boolean $is_publish   Is publish in frontend
 @param boolean $hierarchical is hierarchical
 @param string  $icon         the dashicon of the dashboard menu

Filters

  • wprs_typelabels$slug: modify the post type labels
  • wprs_typeargs$slug: modify the args to register the post type

Register Taxonomy

\WenpriseContentTypes\Taxonomy::register( "work_type", 'work', "Work Type", true );

Params

@param string       $tax_slug     Taxonomy slug
@param string|array $post_type    the post type of the taxonomy registered to 
@param string       $tax_name     Taxonomy name 
@param boolean      $hierarchical is hierarchical

Filters

  • wprs_typelabels$slug: modify the post type labels
  • wprs_typeargs$slug: modify the args to register the post type
  • wprs_taxtypes$slug: Modify the post types taxonomy registered to

Releases

24 releases.

Tag
Published
v3.0.1 latest
Sep 10, 2025 1 year ago
Nov 15, 2023 2 years ago
Aug 22, 2022 4 years ago
Aug 22, 2022 4 years ago
Aug 22, 2022 4 years ago
Aug 13, 2022 4 years ago
Aug 13, 2022 4 years ago
Aug 13, 2022 4 years ago
Jul 7, 2022 4 years ago
Mar 25, 2021 5 years ago
Dec 25, 2020 5 years ago
Dec 9, 2020 5 years ago
Sep 5, 2019 7 years ago
Aug 8, 2019 7 years ago
Apr 22, 2019 7 years ago
Apr 4, 2019 7 years ago
Nov 28, 2018 7 years ago
Oct 9, 2018 8 years ago
Sep 13, 2018 8 years ago
Jan 31, 2018 8 years ago
Jan 31, 2018 8 years ago
1.0
Jan 25, 2018 8 years ago
Jan 9, 2018 8 years ago
Dec 31, 2017 8 years ago

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