Your Time:
Our Time:
← Back to discussions

Soundcloud audio in new window

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

This topic has 3 replies, 2 voices, and was last updated 10 years, 11 months ago by Anonymous.

  • 2015-10-07 at 7:31 pm
    Supported
    #10069
    pamezamboni
    Participant
    • Topics: 2
    • Replies: 4
    • Total posts: 6
    • Post count: 4

    Hello, can you tell me how to open an audio soundcloud in a new window? Thanks!
    This is the page with the audio posts. http://lacolifata.com.ar/audios/

    2015-10-08 at 1:50 pm
    #10073
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    To open in a new window, use target=”_blank”.

    So, you can edit this in shortcodes/music_djmix.php file, go there and add target=”_blank” for all the audio posttype options.

    Like this, $out .='<div class="play mediamx"><a class="hoverdjmix fap-single-track no-ajaxy " data-meta="#single-player-meta'.$start.'" class="no-ajaxy" href="'.$djmix_externalmp3url.'" rel="'.$image.'" title="'.$djmix_externalmp3urltitle.'" target="_blank"></a><div class="hoverdmix"></div></a></div>';

    2015-10-08 at 8:35 pm
    Supported
    #10095
    pamezamboni
    Participant
    • Topics: 2
    • Replies: 4
    • Total posts: 6
    • Post count: 4

    Great, works fine so far.
    Last question, my musicplay version is 2.8.4 do I have to update? What will happen whit this changes?

    2015-10-09 at 10:30 am
    #10098
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    You are using too older version. We have added some new features and functionalities in the latest versions.
    I suggest you to update to latest version which is v3.3.0.

    Musicplay – v3.3.0 – Updated – 11th September 2015 – is available for download. Make sure you take a backup of the old version before updating to the latest version of the theme. Please do check the theme ChangeLog.txt file provided in the full package downloaded from themeforest/codecanyon.

You must be logged in to reply to this topic.