Plugin info

Total downloads: 7,445
Active installs: 400
Total reviews: 1
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 5
Last updated: 4/4/2021 (1732 days ago)
Added to WordPress: 7/19/2012 (13 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: 5.6.16
Minimum PHP version: 7.1

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1732 days ago • 1 reviews

22/100

Is LibWp abandoned?

Possibly abandoned (last update 1732 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: 5.6.16
Requires PHP: 7.1

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Functionality
Rating 4.6/5 (12 reviews)Active installs 1,000
PeproDev Ultimate Profile Solutions
Rating 0.0/5 (0 reviews)Active installs 70
Event Manager Theme Functionality
Rating 5.0/5 (1 reviews)Active installs 60
PeproDev Branches Map
Rating 5.0/5 (1 reviews)Active installs 40
Login bbPress
Rating 5.0/5 (1 reviews)Active installs 20

Description

Provide some simple functionality to register some hooks that could not register inside the WordPress themes

Quick Start

Get instance of main class.

LibWp();

Post type

LibWp()->postType();

Taxonomy

LibWp()->taxonomy();

Register a new taxonomy

LibWp()->postType()
    ->setName('book')
    ->setLabels([
        'name'          => _x('Books', 'Post type general name', 'textdomain'),
        'singular_name' => _x('Book', 'Post type singular name', 'textdomain'),
        'menu_name'     => _x('Books', 'Admin Menu text', 'textdomain'),
        'add_new'       => __('Add New', 'textdomain'),
        'edit_item'     => __('Edit Book', 'textdomain'),
        'view_item'     => __('View Book', 'textdomain'),
        'all_items'     => __('All Books', 'textdomain'),
    ])
    ->setFeatures([
        'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments'
    ])
    ->setArgument('show_ui', true)
    ->register();

Register a new taxonomy belongs to previous post type

LibWp()->taxonomy()
    ->setName('types')
    ->setPostTypes('book')
    ->setArgument('show_in_rest', true)
    ->setLabels([
        'name'          => _x('Types', 'taxonomy general name', 'textdomain'),
        'singular_name' => _x('Type', 'taxonomy singular name', 'textdomain'),
        'search_items'  => __('Search Types', 'textdomain'),
        'all_items'     => __('All Types', 'textdomain'),
        'edit_item'     => __('Edit Type', 'textdomain'),
        'add_new_item'  => __('Add New Type', 'textdomain'),
        'new_item_name' => __('New Type Name', 'textdomain'),
        'menu_name'     => __('Types', 'textdomain'),
    ])
    ->register();

Installation

  1. Upload libwp to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

2.2

  • Added support filters post type and taxonomy
  • Registered an example of post type & taxonomy after plugin initialization.

2.1

  • Added support custom argument for register the taxonomy

2.0

  • Changed the structure fo boilerplate

1.0

  • Initial the plugin