Latest Post Shortcode 8.4

Starting with version 8.4, the Latest Post Shortcode plugin has some new features, please see below more details and samples that you can try.

Latest Post Shortcode Banner
Latest Post Shortcode, the Easy Way to Display Posts

Summary

  • The plugin was tested up to 4.9.8
  • The “load more” feature
  • The AJAX spinner option
  • New tile pattern with excerpt and content
  • Date difference option
  • Sliders without images
  • The issue when the first page from pagination was not showing as selected by default is fixed

The “load more” Feature

This new feature allows you to configure the pagination as a “load more” button with a customizable button text. The attributes that were updated are showpages=”more” , and NEW loadtext=”Load more”. The load more button is positioned under the items list and it is not available anymore when the end of the list was reached.

Demo shortcode and the shortcode output:

[latest-selected-content perpage="1" limit="4" showpages="more" loadtext="Click me ⇨ Load more articles" pagespos="1" display="title,excerpt" titletag="h3" elements="0" type="post" status="publish" orderby="dateD" show_extra="ajax_pagination"]

The AJAX Spinner Option

This is a new feature that allows you to enable/disable the AJAX spinner for the AJAX pagination (for the pagination and also the load more option). The spinner can be configured to be light or dark and it appends to the show_extra="ajax_pagination,light_spinner" argument.

Light spinner sample

Demo shortcode and below the shortcode output:

[latest-selected-content perpage="1" limit="4" showpages="more" loadtext="Click me ⇨ Load more articles" pagespos="1" display="title,excerpt" titletag="h3" elements="0" type="post" status="publish" orderby="dateD" show_extra="ajax_pagination,light_spinner"]

Dark spinner sample

Demo shortcode and below the shortcode output:

[latest-selected-content perpage="1" limit="4" showpages="more" loadtext="Click me ⇨ Load more articles" pagespos="1" display="title,excerpt" titletag="h3" elements="0" type="post" status="publish" orderby="dateD" show_extra="ajax_pagination,dark_spinner"]

New Tile/Card Pattern with Excerpt and Content

The new tile pattern allows you to display the title, date, excerpt, and content for the posts that you expose.

Date Difference Options

The tiles that expose the date could display the date as a time difference, so it would read 3 hours ago or 2 days ago, etc. The option appends to the show_extra="date_diff" argument.

Demo shortcode and the shortcode output:

[latest-selected-content perpage="1" limit="4" showpages="more" loadtext="Click me ⇨ Load more articles" pagespos="1" display="title,date,excerpt" titletag="h3" elements="0" type="post" status="publish" orderby="dateD" show_extra="ajax_pagination,date_diff"]

Sliders without Images

This new feature allows for sliders without images. This is not suitable for all types of content as it comes with more limitations, like for example the fixed height. I do not recommend using this feature unless you are very sure you know how to customize this and write your own styles to make this look as you expect it.

Demo shortcode and the shortcode output:

[latest-selected-content output="slider" limit="7" type="post" status="publish" orderby="dateD" slidermode="horizontal" slideslides="2" slidescroll="1" sliderdots="true" sliderinfinite="true" slidersponsive="yes" sliderbreakpoint_tablet="768" slideslides_tablet="1" slidescroll_tablet="1" sliderdots_tablet="true" sliderbreakpoint_mobile="480" slideslides_mobile="1" slidescroll_mobile="1" sliderdots_mobile="false" sliderheight="fixed" respondto="window" slidermaxheight="100" sliderauto="true" sliderspeed="3000" chrlimit="300" url="yes" slidegap="10" css="sample-white"]

If you would like to support my work, consider making a donation, buy me a coffee, leave a 5 stars rating, or share this on your feed.
A huge thanks in advance!

Iulia Cazan
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.