Posts in Posts
Posts in Posts will allow you to grab recent posts based on category, tag or just recent posts. Then it will display thoses posts in a list in the post or page you have called the Posts in Posts on. It’s as easy as all you need to do is write a HTML-esq bit of code. [posts type=”category” name=”Lips
Posts in Posts will allow you to grab recent posts based on category, tag or just recent posts. Then it will display thoses posts in a list in the post or page you have called the Posts in Posts on. It’s as easy as all you need to do is write a HTML-esq bit of code.
[posts type=”category” name=”Lipsum” limit=”4″ date=”d-m-Y”]
This will then output 4 posts from the category ‘Lipsum’.
Installation is as simple as adding the ‘posts-in-posts’ folder to your wp-contents/plugins folder or downloading through WordPress itself. From there you’ll need to add the short code to where you want the post to be displayed; here are a list of the options.
- 01‘type’ : ‘category’, ‘tag’, ‘recent’ or blank will use ‘recent’
- 02‘name’ : the name of a given category or tag in your wordpress taxonmy or if left blank then it will resort to outputting nothing unless the type is ‘recent’ or blank
- 03‘limit’ : the number of posts you want to display in a given call or if left blank then it resolves to the default of ‘5’
- 04‘date’ : use the standard date format for php or if left blank then it won’t display a date
None yet, feel free to ask either on WordPress , GitHub or contacting me