Render Posts

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.

Screenshots

  • How To Use the shortcode.

Installation

  • Upload the plugin folder to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.
  • Activate the plugin through the ‘Plugins’ screen in WordPress Dashboard.

This plugin do not have any settings page, so after install you just have to active the plugin, thats it.
Then you can use [render-post] shortcode.

FAQ

Is this plugin have any settings page

No, This plugin currently do not have any settings page. you just have to active the plugin to use.

Can I Render/Show Custom Post type by this plugin short-code

Yes, You can, you have to provide type argument with your post type. eg [render-posts type=”custom-post-type-slug”]

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Render Posts” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Render Posts” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • First release.