WordPress.org

Ready to get started?Download WordPress

Forums

Simple Fields
sort using simple_fields (1 post)

  1. warpdesign_
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic