Support » Themes and Templates » Change post sort order for one catagory in genesis theme

  • hey everyone,

    I am trying to sort one of my catagories descending by a meta_value_number I seem to be doing something wrong or not calling the quesy correctly.

    I am using the Genesis theme.

    I copied the index.php and made a template cotest-videos.php and that works ok and only shows the videos from the contest-videos catagory. but i can’t seem to affect/effect how they are sorted. I am trying to sort the posts in this catagory by a meta key “facebook_likes” order descending by the number of likes each video has. trying to show five per page with pagination at the bottom of page.

    here is the template code and the page to my site where i am trying this is http://billgilberthomes.com/category/contest-videos/.

    This is the original template code that i was try to modify.

    Thanks
    Bill

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Change post sort order for one catagory in genesis theme’ is closed to new replies.