WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Fandabydozy
    Member
    Posted 2 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.

    http://wordpress.org/extend/plugins/arconix-portfolio/

  2. John Gardner
    Member
    Plugin Author

    Posted 2 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
    Member
    Posted 2 years ago #

    Thanks John, that works perfectly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic