
Provide some simple functionality to register some hooks that could not register inside the WordPress themes
Get instance of main class.
LibWp();
Post type
LibWp()->postType();
Taxonomy
LibWp()->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(); 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(); Starting from $0 per month.
Rating
Reviewers
1 reviews
Tags
Developed By
Mostafa Soufi
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Transform PDFs into interactive flipbooks with a PDF flipbook widget that improves reading and keeps visitors engaged.
Add pricing tables to your site to present plans clearly, help visitors compare features, and guide them toward faster and more confident conversions.
Use team members blobs to present your staff in a clear, creative format that builds trust, supports transparency, and strengthens brand credibility.
Show RSS feed updates with an RSS feed slider that auto updates, displays posts in a smooth layout, and keeps visitors engaged.
Add a customizable leaderboard to your site to display rankings, track scores, and encourage friendly competition.

Show Vimeo videos in a Vimeo feed that keeps content fresh and helps visitors discover more of your video library.
Use a countdown to download widget that reveals files after the timer ends, builds anticipation, and guides visitors toward higher engagement.
Add animated headlines to draw attention to key messages and improve user engagement through visual emphasis.
Add a podcast player to your site to embed and organize episodes, provide responsive playback, and keep listeners engaged.
Use an event list to highlight upcoming activities, improve visibility, and help visitors discover events that increase attendance and engagement.
Create interactive diagrams with a diagrams widget that lets you build and customize flow charts, improve clarity, and help visitors understand complex ideas easily.
Add a flexible size chart with visual guides and category tabs to help users choose accurate measurements while shopping.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
