WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Reply To: Latest News – shortcode does not work

#36178
smego2007
Participant

Hello.
Help solve the problem of displaying the latest news.
The news shortcode is currently in the Car Fix topic [latest-news showposts=”-1″ date=”show” comment=”show” author=”show” excerpt=”22″].
On the main page of the site, 3 news items are displayed in the visible part, but all the news created during the existence of the site are placed. This leads to an increase in page loading time.
How to optimize the shortcode so that only 3 latest news are placed on the page, all the others go to another section of the site, for example, “Blog” (we will create a special news archive)?