WordPress.org

Ready to get started?Download WordPress

Forums

WP Tiles
[resolved] Add order by attribute more (2 posts)

  1. nimilajos
    Member
    Posted 1 year ago #

    Hi Mike,

    How to add one more attribute for order by filter in WP-Tiles.
    Is it possible to add????

    http://wordpress.org/plugins/wp-tiles/

  2. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Nimilajos, you can order by multiple fields by adding the fields separated by spaces in the shortcode. Also see the notes on "Multiple 'orderby' values" in http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters.

    Unfortunately, you'd have to either use the shortcode with params, or the template tags (in your template files). The options page does not allow multiple orderby values.

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.