Post Types Order
[resolved] How to order Posts in the Template (2 posts)

  1. mik3e
    Posted 5 years ago #

    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' => '?????',

    Thanks in advance & regards,

  2. PayBas
    Posted 5 years ago #

    'orderby' => 'menu_order',

    Works fine for me

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic