Okay
  Public Ticket #236396
Get a single blog post
Closed

Comments

  • owen started the conversation

    Hello salient team and public support forum.

    I was wondering is it possible to pull just say the most recent blog post from a category to show in a section of the salient theme.

    I know it's possible to embed a blog into any row or column but this isn't what I'm looking for.


    Lets say I had a category music and another category movies.

    I'd like to be able to pull the most recent blog post from the category movies and have it in a column in one row.

    Is that possible?

    Best

  •  8,839
    Tahir replied

    Hey Owen!

    We do have a recent posts page element that you can use. 

    Cheers


    ThemeNectar Support Team 

  • owen replied

    Hi Tahir

    I've been playing around with that but it seems to show all the blog posts from that category. I was interested in say creating a 2 column layout with the latest post from each section inside each of the columns in the row.

    As it is right now I'm getting a max of four latest post. How can I have it just pull the latest post, if at all possible?

    Thanks,

    Owen

  •  8,839
    Tahir replied

    Hey Owen!

    I am afraid we dont have a option to limit the number of post in the current version. Though i have added it to the wishlist for future updates. 

    Cheers


    ThemeNectar Support Team 

  • owen replied

    Hi Tahir

    Thanks a lot! I think that'll be all for now.

    Best,

    Owen

  • Mark replied

    hello,

    i have a good workaround for this. simply create a new category and select it for your latest post - that way you can select this category and it will show just the one item. then in css i added this to take up the full width:

    .blog-recent .col { width: 100%!important; }

    but seriously salient team - there is an unacceptable lack of customisation for this short code. please improve.

  •  1,070
    ThemeNectar replied

    Hey Mark, new options will indeed be coming in the upcoming update - thanks for helping out Owen :)