WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Post Types Order] How to order Posts in the Template

[Resolved] [Plugin: Post Types Order] How to order Posts in the Template

  • Hi there,

    Maybe it’s a noob question, but i can’t find any information on this topic. I use the post-types-order plugin (which works fine) to order my posts.

    Now on the frontpage I’d like to show the top three posts defined by the order plugin.

    Does anyone know, which attributes have to be set, so that the query Method of WP_Query orders the item by the defined order?

    Here is my (simplified) query:

    $highlight_featured_arguments = array (
    	'post_type' => 'post',
    	'showposts' => 3,
    	'orderby' => '?????',
    );
    
    $highlight_featured->query($highlight_featured_arguments);

    Thanks in advance & regards,
    Michael

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Post Types Order] How to order Posts in the Template’ is closed to new replies.