Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #57976
    Leontina Mardale
    Participant
    Premium Member

    It is possible to have a different number of articles on the blog page than other pages?

    #57977
    vako
    Keymaster
    WP Royal Team

    Hi Leontina,

     

    With the theme and WordPress settings, you can only have one blog page at the same time, but I can give you shortcodes to have blog posts on the home page and on the blog page too.

    To display all latest post use:

    [ashe_blog]

    To select specific categories in the blog feed shortcode, you just need to add the “categories” attribute to it. You can list multiple categories separated by a comma:

    [ashe_blog categories="food,travel"]

    or select a single one like this:

    [ashe_blog categories="food"]

    Also, posts per page could be limited by adding the “amount” attribute” like this:

    [ashe_blog categories="food" amount="5"]

    To select specific posts in the blog feed shortcode, you just need to add the “post_ids” attribute to it and list selected post ids separated by a comma like this:

    [ashe_blog post_ids="1,23,157"]

    Hope it was helpful.

     

    Kind Regards

    #57984
    Leontina Mardale
    Participant
    Premium Member

    Where must I insert/add these shortcodes? I want, for example, to have 10 articles on archive page and 6 articles on home page. In settings I can choose just one number for articles to show on blog pages.

    #57995
    vako
    Keymaster
    WP Royal Team

    Hi Leontina,

     

    You can use this short-codes on any page, just during the editing first add wordpress block for short code and after that insert your preferred one.

     

    Kind Regards

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