Render Posts Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
This plugin will help the developer / user to show/render posts very easily regardless of the post type.
This plugin register a short-code, which developer/user can use to render any kind of posts, in a custom defined format/template.
This plugin also contains a (AJAX) load more feature, which help users to load remaining posts without leaving the current page, (Also known as Ajax Pagination).
This plugin also support with Gutenberg and other builder (Because it’s just a shortcode) .
How to use
eg. shortcode: [render-posts type=”post”]
Available Arguments
- *type = “You Post type ”
- number = “Posts Per Page” — if not specify it will inherit from wordpress global posts_per_page option serttings.
- title = “Section title”
- detail = “Section Detail”
- noloadmore = “true” — Set it if you dont want to show loadmore button
*required field.
Technical documentation
How to add Custom Markup for a specific post type?
Simply follow this steps:
1. Create a folder at the root of your activated theme folder which name will be: loop-templates.
2. Create the template file in the newly created folder, name : content-{$post_type_slug}.php . then you are good to go.
You can use all standard wordpress function, raw php, html there.
Template Naming
- content-post.php -> when post type is post
- content-event.php -> when post type is event
- content-member.php -> when post type is member
Note: Plugin will add sufficient amount of DIV with dynamic CLASS’s (related with the post type name) at rendering,
which will help you to create any kind of layout very easily by using css.