
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.

Show Tumblr posts with a Tumblr feed that keeps content fresh, improves navigation, and helps visitors discover more posts.
Show product updates, new features, and announcements in a What's New popup that keeps users informed and engaged.
Add interactive image hotspots to your site to turn static visuals into clickable guided experiences that improve engagement.
Add interactive two-sided cards with flip effects to present front and back content in a compact, engaging format.
Add pricing tables to your site to present plans clearly, help visitors compare features, and guide them toward faster and more confident conversions.
Show TikTok videos with a TikTok slider that displays clips in an engaging, customizable slideshow to boost visibility and keep visitors watching.
Add a call button to your site so visitors can tap to start a phone call instantly, improving direct communication access.
Show Threads posts in a live feed that keeps content fresh, builds social proof, and helps visitors engage on your site.
Create interactive quizzes with a quiz maker that lets you build custom questions, collect responses, and increase engagement with easy site integration.
Create structured layouts with a section builder that lets you design custom website sections, customize styles, and organize content for a clearer user experience.
Show progress with animated progress circles that visualize goals, display achievements, and keep visitors engaged.
Add Messenger Chat to your site to communicate with visitors, offer fast support, and create a smoother user experience across all pages.
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!
