register.post

/ Utility / register.post

This is shortcode is used to register custom post types with more control then post_types.add shortcode.

Parameters

It has just one parameter, and the rest of the configuration is passed as JSON block as shown below.

slug: It is used to specify the post type you want to register.

Important: This shortcode can only be used in ‘register‘ module of the awesome core.

Example of using register.post shortcode to register custom post types.

 

Categories
Most Popular

Leave a Reply

Your email address will not be published.