Support » Plugin: SoundCloud Is Gold » Sorting Items

  • Hello,

    Is it possible to provide an shortcode attribute to sort the embeds by a particular order such as release date or title?

    Thank

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TM

    (@realtm)

    Hi @nate1,

    There isn’t an option at the moment to sort players with a particular order.

    Are you talking about tracks in a playlist or just multiple individual tracks embedded in a post?

    Are you looking into automating embedding tracks? Or is it to give people the option to filter all your tracks?

    Cheers

    Thread Starter Nate1

    (@nate1)

    Thanks for Getting back to me.

    It is simply for the purpose of presentation. Sorting the players/tracks based on some criteria.

    I havn’t looked at how you are loading the items, but if they are provided in a list in PHP for display then they could be made sortable.

    $items = get_soundclouditems(INFO);
    if(SORT){
    // Title
    // Date of release if available
    }
    return $items;

    Regards

    Plugin Author TM

    (@realtm)

    Hi @nate1,

    Thank you for the example.

    I’m still not sure I understand you where you need the sorting. Do you mean sorting the tracks in the back-end (when you are looking at your tracks to insert one) or in your front-end (what your visitor see on your website)?

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sorting Items’ is closed to new replies.