Arconix Portfolio
[resolved] orderby="ID" string query (3 posts)

  1. Fandabydozy
    Posted 3 years ago #

    Hi, I've got arconix portfolio working and its great.

    One thing I wanted to do was change the order items initially displayed. So i'm guessing I need to use orderby="ID" but I'm having a problem setting up a string for the post id's.

    Something like orderby="ID(60,57,58,59,61,105)" doesn't work and the WP codex page (http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters) isn't help much.

    Appreciate any help, thanks.


  2. John Gardner
    Plugin Author

    Posted 3 years ago #

    ordering by ID will only sort by the Post ID, so either smallest ID to largest, or largest to smallest (based on the order param)... it doesn't actually allow you to select what that order is

    This plugin may help you do what you're looking for (just remove your sort overrides from the shortcode on your portfolio page) http://wordpress.org/extend/plugins/post-types-order/

  3. Fandabydozy
    Posted 3 years ago #

    Thanks John, that works perfectly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Arconix Portfolio
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic