Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Baden

    (@baden03)

    can you post an example of your exact shortcode?

    Thread Starter protohominid

    (@protohominid)

    Here’s the relevant php from the template:

    $attachments = do_shortcode('[list-related-attach orderby="title"]');
    if ($attachments != '') {
    	echo '<h4>Downloadable PDF Files:</h4>';
    	echo $attachments;
    }

    Plugin Author Baden

    (@baden03)

    hmmm, are you using numbers in your titles?
    what do the slugs look like?
    share a link to your page, please.

    Thread Starter protohominid

    (@protohominid)

    The page in question has a listing of pdfs attached to the post, all of which start with a letter, but some have numbers in the middle. It’s for a client’s site so I’m not comfortable posting a link to it here… I could send it to you privately if that’s possible.

    Plugin Author Baden

    (@baden03)

    Yes, let’s take this off line, as we are curious as to what is causing this issue. For those playing along at home, we’ll post back the resolution here. please contact us at info [at] twinpictures [dot] de and be sure to include a link back to this thread.

    Thread Starter protohominid

    (@protohominid)

    Massive apologies, it was a plugin conflict. It’s working now after I disabled the “Post Types Order” plugin. That plugin was messing with WP_Query in nasty ways, apparently.

    Thank you for your help and work in the WP community!

    Plugin Author Baden

    (@baden03)

    Turns out it was a plugin conflict with Post Types Order that was messing with the query. Issue resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘orderby parameter in shortcode not working’ is closed to new replies.