Shortcode to display single post by post_id?

resolved (5 posts) (3 voices)

  1. Sailhavasu

    Is there a way to display a single post or posts by their post_id? I want to organize a series of blog posts in a VERY specific order on a page. Is there a way to do that?
    I was hoping for some HTML to insert in the dashboard for the page or by using a [shortcode] that allows a blog option for individual posts instead of by category.


    Thank you.

    Posted 5 years ago #
  2. Elliott

    Hello Sailhavasu,

    We can change the sort order by title, date, or by a custom field if you'd like.

    Posted 5 years ago #
  3. Hi Elliott,

    I have the same Question. Is it possible to add a blog list by blog shortcode with only one single post by choosing that post by its id? The shortcode might then look like this:
    ´[blog_list thumb="small" showposts="1" post_content="excerpt" post_id="1234" disable="image,title,content,meta,more"]´
    Without a hint I need to create countless categories with a single post to add it solely as a "read more about..."


    Posted 3 years ago #
  4. Elliott

    Try this,

    [blog_list post_in = "34,35,45"]

    Posted 3 years ago #
  5. Hi Elliott,

    super, it works.

    I should have figured that out embarrasing. ;-)

    Thanks a lot!

    Posted 3 years ago #


You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme