Support » Plugin: Pods - Custom Content Types and Fields » Ordering by Alphabetical Order

  • Resolved Joseph


    I created a CPT and called it Music, where I can create a place on my site for my client’s discography. I included a field where I can upload an image, and then added a WYSIWYG editor to it.

    I created 3 different items, one for each of his albums. Then I used the shortcode to add each of his albums onto my Music Page.

    Question: Can I change the order that these albums are displayed in? It looks like it defaulted to alphabetical order according to the Title of each album.


    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Josh Pollock


    You need to add a “orderby” parameter to the shortcode.

    orderby = "title.meta_value ASC " should do it.

    Plugin Author Scott Kingsley Clark


    'orderby' => 't.post_title ASC' should actually do it in this case, assuming title isn’t a custom field but the built-in Post Title field.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ordering by Alphabetical Order’ is closed to new replies.