• Resolved joelcrawford

    (@joelcrawford)


    Hi! This is a great plugin. Thank you.

    One thing I need to be able to do though is sort my posts by a custom date field. Is this possible?

    I’ve been trying to accomplish this by adding a query_posts with an order by meta_key to the widget.php file but it’s not working and I have a feeling it doesn’t work this way?

    Thanks! Joel.

    http://ww.wp.xz.cn/extend/plugins/flexible-posts-widget/

Viewing 1 replies (of 1 total)
  • Plugin Author DaveE

    (@dpe415)

    Hi Joel,

    Sorry for the delay on this. To accomplish this you’d have to customize flexible-posts-widget.php in the function widget. Basically you’d need to add your custom date field query arguments to the $args array before the new WP_Query( $args ) call.

    Right now there isn’t a way to adjust the query vars in the template file or through a filter. Filtering the query vars in in the works though.

    Thanks for using the plugin!

Viewing 1 replies (of 1 total)

The topic ‘Sort by custom date field’ is closed to new replies.