Support » Plugin: Archivist - Custom Archive Templates » How to display certain posts by post ID ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eric Teubert

    (@eteubert)

    try [archivist query=”post__in=1,2,3″]

    Hi Eric,
    Thanks for fast reply, but your suggestion does not work.

    if i do:
    [archivist query=”post__in=1,2,3″]
    i get:
    Warning: array_map() [function.array-map]: Argument #2 should be an array in…ml/wp-includes/query.php on line 2164

    I saw that you had two underscores (in post__in) in the syntax, so i tried:
    [archivist query=”post_in=1″]
    with 1 being my post id… and it did not work either.
    Displays ALL posts.

    Any idea how this could work?

    Plugin Author Eric Teubert

    (@eteubert)

    In this case it’s probably not possible. As a workaround, put all the posts you want into the same category and use the normal shortcode [archivist category=”mycategory”].

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to display certain posts by post ID ?’ is closed to new replies.