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.
Summary for Version 8.4
- The “load more” feature
- The AJAX spinner option
- New tile pattern with excerpt and content
- Date difference option
- Sliders without images
- Other updates
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"]
Solving Plugin Translation in WordPress 6.7
With the release of WordPress 6.7, developers were introduced to some changes regarding how translations are loaded.
The AJAX Spinner Option
NEW 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"]
Solving Plugin Translation in WordPress 6.7
With the release of WordPress 6.7, developers were introduced to some changes regarding how translations are loaded.
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"]
Solving Plugin Translation in WordPress 6.7
With the release of WordPress 6.7, developers were introduced to some changes regarding how translations are loaded.
New Tile/Card Pattern with Excerpt and Content
NEW The new tile pattern allows you to display the title, date, excerpt, and content for the posts that you expose.
Date Difference Options
NEW 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"]
Solving Plugin Translation in WordPress 6.7
2 weeks agoWith the release of WordPress 6.7, developers were introduced to some changes regarding how translations are loaded.
Sliders without Images
NEW 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"]
Other Updates
The issue when the first page from pagination was not showing as selected by default is fixed.
The plugin was tested up to 4.9.8.
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!
You can download the free plugin from the WordPress repository.