WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Simple Fields] sort using simple_fields

[Plugin: Simple Fields] sort using simple_fields

  • First of all, thanks for your amazing plugin!

    Up to now, I was using query_posts using orderby & order to sort my queries. Like:
    query_posts('post_type=games&post_status=publish&posts_per_page=8&offset='.$this->params['offset'].'&orderby='.$this->params['orderby'].'&order='.$this->params['order']);

    Now, I’d like to be able to sort my games according to simple_fields that I have created for this type of posts.

    I read on some blog that I could use meta_value & meta_key. But this doesn’t seem to work.

    Last but not least, I read about the simple_fields_query_posts() function but I don’t know how to use it.

    What should I do to sort my custom posts using a special custom_field ?

    Thanks!

    http://wordpress.org/extend/plugins/simple-fields/

  • The topic ‘[Plugin: Simple Fields] sort using simple_fields’ is closed to new replies.