Forums

SoundCloud Is Gold
Jetpack shortcode compatibility fix: how to (6 posts)

  1. realtm
    Member
    Posted 5 months ago #

    Solution 1:

    You can disable jetpack shortcode options but it will disable all jetpack shortcodes: In your dashboard, click jetpack in the sidebar, click deactivate on the Shortcode Embeds box.

    Solution 2:

    Comment one line in the jetpack plugin. This has to be done every time you update jetpack: In your dashboard, click editor under plugin in the sidebar, on the top right corner select jetpack by wordpress.com in the dropdown menu, click select. Click on jetpack/modules/shortcodes.php in the list below, then click on jetpack/modules/shortcodes/soundcloud.php. In the editor find this line add_shortcode( "soundcloud", "soundcloud_shortcode" );
    and replace it with
    //add_shortcode( "soundcloud", "soundcloud_shortcode" );.

    The jetpack plugin basically bring many shortcodes with itself. It's great if you're only using jetpack and if you're happy with their basic shortcodes.

    This fix can work for any of the shortcodes. you just need to select jetpack/modules/shortcodes/vimeo.php for vimeo, jetpack/modules/shortcodes/youtube.php for youtube, etc... and comment the line that add the shortcode.

    http://wordpress.org/extend/plugins/soundcloud-is-gold/

  2. djgmani
    Member
    Posted 2 months ago #

    HELP i tried to do this but instead of changing it to jetpack it was still on akismet

    now my site says

    Parse error: syntax error, unexpected $end in /home/djgmani/public_html/wp-content/plugins/jetpack/modules/shortcodes/soundcloud.php on line 59

    i can't undo or reload or login to my adin... please help

  3. djgmani
    Member
    Posted 2 months ago #

  4. Tim Moore
    Code Wrangler
    Posted 2 months ago #

    djgmani, try deleting the Jetpack folder via FTP. Then reinstall.

    What exactly are you attempting to do? If you'd prefer Jetpack's shortcode over Soundcloud is Gold's, then you should be able to disable Soundcloud is Gold rather than modify Jetpack's code.

    Please let me know how I can help further.

  5. realtm
    Member
    Posted 2 months ago #

    Thanks Tim for taking the time to reply to djgmani. I love it when people help each others :)

    @DJGmani
    This post is about disabling jetpack's soundcloud shortcode so it doesn't conflict with soundcloud is gold plugin. By the way I think I found a fix for that and I will implement it in the next release.

  6. Evnmove
    Member
    Posted 1 month ago #

    Thank you Realtm, great solution!!! I had the same problem since installing statistics for wordpress and then jetpack after Joomla recommendation. Thank you for replying to the request

Reply

You must log in to post.

About this Plugin

About this Topic