Your Time:
Our Time:
← Back to discussions

Random artists / albums / videos

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 15 replies, 5 voices, and was last updated 10 years, 7 months ago by Anonymous.

Tagged: 

  • 2015-06-04 at 6:38 pm
    Support Expired
    #8106
    eitanshavit
    Participant
    • Topics: 1
    • Replies: 6
    • Total posts: 7
    • Post count: 10

    Hi,

    Is it possible to show random artists / albums / videos in shortcode?
    If I set it to 3 columns, I always get the same three post id’s.

    Thanks!

    2015-06-05 at 4:49 pm
    #8122
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Yes its possible 🙂 you can set that from theme options panel.

    • This reply was modified 11 years, 3 months ago by Fem.
    2015-06-07 at 1:43 pm
    Support Expired
    #8135
    eitanshavit
    Participant
    • Topics: 1
    • Replies: 6
    • Total posts: 7
    • Post count: 10

    Hi,

    Thank you for your answer.
    Option Panel settings only apply to the pages themselves, not the shortcode.
    BTW, I had to add to the code the rand option myself to some of the options, as they were not available.
    Maybe you can send me the code for the shortcode, until it will be added to future releases.

    Thanks 🙂

    2015-06-07 at 2:16 pm
    #8136
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    Can you provide which shortcode it doesn’t applies. I have tested and it worked fine.

    2015-06-07 at 2:22 pm
    Support Expired
    #8139
    eitanshavit
    Participant
    • Topics: 1
    • Replies: 6
    • Total posts: 7
    • Post count: 10

    [artist cat=”Helicon-Songs” columns=”3″ limit=”3″ pagination=”false”]
    I want to show three artists on the main page. I have 8 artists and it always shows the first three, even if the limit is 8.
    On the artist page I show 8 artists alphabetically, but with the shortcode I want to show 3 randomized artists from the 8 I have.

    • This reply was modified 11 years, 3 months ago by eitanshavit.
    2015-06-07 at 2:39 pm
    #8144
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    If you can provide us WP Logins to your website with URL then we can take a closer look at it. Make sure you set the post as private reply so that only admin can see your wp-logins.

    2015-06-07 at 3:08 pm
    Support Expired
    #8150
    eitanshavit
    Participant
    • Topics: 1
    • Replies: 6
    • Total posts: 7
    • Post count: 10
    This reply has been marked as private.
    2015-06-08 at 12:02 pm
    #8158
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    I have just noticed its not there for ordering option. We add the ordering option in the next updates and will let you know.

    2016-01-18 at 10:44 am
    Support Expired
    #12245
    mrmagoo2012
    Participant
    • Topics: 2
    • Replies: 11
    • Total posts: 13
    • Post count: 11

    Did this ever get resolved?

    I need the following shortcode used on my homepage to be random

    [musicvideo columns=”3″ limit=”3″ pagination=”false”]

    How can this be done please?

    2016-01-19 at 10:25 am
    #12289
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    @eitanshavit: Please provide the correct logins.

    @mrmagoo2012
    : We didn’t added that option but if you can provide us WP Logins to your website with URL then we’ll add it for you. Make sure you set the post as private reply so that only admin can see your wp-logins.

    2016-01-19 at 10:42 am
    Support Expired
    #12290
    mrmagoo2012
    Participant
    • Topics: 2
    • Replies: 11
    • Total posts: 13
    • Post count: 11
    This reply has been marked as private.
    2016-01-19 at 12:13 pm
    #12293
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    @mrmagoo2012: Added random option for video shortcode. You have to generate like this [musicvideo columns="2" limit="8" cat="80s-music-videos" orderby="rand" order="ASC" pagination="true"]
    Check it and let me know whether it’s working correct or not.

    2016-01-19 at 12:41 pm
    Support Expired
    #12294
    mrmagoo2012
    Participant
    • Topics: 2
    • Replies: 11
    • Total posts: 13
    • Post count: 11

    I have added that shortcode, I’m sorry but it’s still the same, not random?

    2016-01-19 at 2:00 pm
    #12300
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Sorry. Now it’s working.
    Edited File: musicplay/framework/shortcode/music_video.php

    2016-01-19 at 3:08 pm
    Support Expired
    #12303
    mrmagoo2012
    Participant
    • Topics: 2
    • Replies: 11
    • Total posts: 13
    • Post count: 11

    Great, thank you, that works now. Cheers.

    2016-01-22 at 4:21 pm
    #12389
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Topic is set to be resolved. If you wish to update this topic please reply here instead of creating another topic.

You must be logged in to reply to this topic.