Support » Plugin: Posts in Page » [Plugin: Posts in Page] [ic_add_posts ids='3, 2, 1'] seems to ignore listed order

Viewing 1 replies (of 1 total)
  • Plugin Author Eric Amundson

    (@sewmyheadon)

    Volunteer Moderator

    Hi wejdoane,

    Thanks for the question.

    Inserting

    [ic_add_posts ids=’3, 2, 1′]

    on a page seems to ignore the listed ID order in favor of… insert order?

    That is, the IDed posts appear on the page in the order 1, 2, 3.

    Check the documentation on this page:

    http://wordpress.org/extend/plugins/posts-in-page/other_notes/

    You’re absolutely right, you can put the IDs in any order you like in the shortcode and it’ll default to ordering by Post ID, I believe. You can specify order using the following:

    [ic_add_posts orderby='title' order='ASC'] – orderby title – supports all WP orderby variables. Order is optional, WP default

    You can find the other orderby variables here:

    http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

    Hope that helps.

    Cheers,
    Eric

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Posts in Page] [ic_add_posts ids='3, 2, 1'] seems to ignore listed order’ is closed to new replies.