Support

Account

Home Forums General Issues How to order first posts with a radio button value in the loop?

Unread

How to order first posts with a radio button value in the loop?

  • Hi, I have a radio button with two possible values: “starred” and “normal”. and I’m currently sorting by 'orderby' => array( 'menu_order' => 'ASC' )
    I want all the posts that have the starred value appear before “normal” posts but be sorted as well by menu order between them. Do note I’m using pagination and I’m simplifying this which is why sticky posts wont do I think.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.