This plugin allow you to show your custom posts in a page / post / custom post within few seconds. You will need to select the custom post type from dropdown and it will provide you shortcode [dcp_show type=’your-custom-post-slug’] which you need to put in any post or page in order to show custom posts in grid layout. There are number of attributes that you can use with the provided shortcode.
You can even display default WordPress blog posts with shortcode [dcp_show type=’post’] using same attributes.
List of shortcode attributes is given below:
- number => Number of posts display on per page
- order => In what order posts will be displayed, Possible Values: ASC, DESC
- orderby => Possible values are given below:
- date – Default value
- none – No order
- author – Order by author
- title – Order by title
- date – Order by date
- modified – Order by last modified date
- parent – Order by post/page parent id
- rand – Random order
- comment_count – Order by number of comments
- menu_order – Order by Page Order. Used most often for Pages
Features of Display Custom Post WordPress Plugin:
- It provide you ready-made grid layout for your every custom post, you may simply have to put shortcode. That’s it.
- It is mobile responsive as well.
- You may also put number of posts to be shown, order, orderby etc in shortcode. Please see attributes list above.
- Also provide Pagination if your total posts are more than ‘number’ attribute.
- Upload Display Custom Post to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Admin Menu –> Display Custom Post
How can I display all posts on a single page without pagination?
You will do it by setting attribute «number» to -1. For example: [dcp_show post=’your-post-type-slug’ number= ‘-1’]
How can blog posts can be shown using your plugin?
Use shortcode [dcp_show type=’post’] with same attributes.
How to show custom posts associated with custom taxonomies?
Please wait for the next release.
Contributors & Developers
“Display Custom Post” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Minor Fixing.
- Minor Fixing.
- Initial version.