Summer Sale | Flat 10% OFF on All Themes Package. Use Coupon Code Summer24 | Limited Time Offer! Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Latest News – shortcode does not work

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18963
    Bjoern Greve
    Participant

    I have seen 2 different shortcodes for displaying the latest news. One in the documentary [latest-news show=”4″] and one in the short-codes list of the Theme Options [latest-news showposts=”4″ comment=”show” date=”show” author=”show”] – but none of them works. I get the shortcode rendered, not the posts…
    Could you help me on this, please?

    #18975
    Grace Themes
    Member

    Hi,

    To display latest news in homepage section 6

    – Create new posts from Posts -> Add New
    – Add Title, Description and set Featured Image
    – To manage this Latest News section go to Appearance » Theme Options » Sections » Section 6
    – Use this shortcode to display posts: [latest-news show=”4″]

    Please send your website URL and WordPress admin login details at [email protected] so we can check and assist you quickly.

    Regards
    Grace Themes

    #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)?

    #36192
    Grace Support
    Keymaster

    Hi smego2007

    To display latest 3 posts in “Latest News” section of homepage, use below shortcode

    [latest-news showposts=”3″ date=”show” comment=”show” author=”show” excerpt=”22″]

    To display all posts in Blog page
    – Create a Blog/News page
    – Select “Blog – Right Sidebar” page template from Page Attribute panel
    – Add this page in main menu

    Please check the documentation
    http://www.gracethemesdemo.com/documentation/car-fix/#page-templates

    Regards
    Grace Themes

    #36198
    smego2007
    Participant

    Thanks!
    You develop great themes. Your support team responds instantly and suggests the best ways to solve problems!

    #36203
    Grace Support
    Keymaster

    Thanks for your appreciation. You are most welcome.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.