This topic has 15 replies, 5 voices, and was last updated 10 years, 7 months ago by Anonymous.
Tagged: random
Viewing 16 posts - 1 through 16 (of 16 total)
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!
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 🙂
Can you provide which shortcode it doesn’t applies. I have tested and it worked fine.
[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.
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.
I have just noticed its not there for ordering option. We add the ordering option in the next updates and will let you know.
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?
@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.
@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.
I have added that shortcode, I’m sorry but it’s still the same, not random?
Sorry. Now it’s working.
Edited File: musicplay/framework/shortcode/music_video.php
Great, thank you, that works now. Cheers.
Viewing 16 posts - 1 through 16 (of 16 total)
You must be logged in to reply to this topic.