WordPress.org

Forums

Shortcodes Ultimate
[resolved] Youtube Shortcode problem (14 posts)

  1. EdgeRayner
    Member
    Posted 1 year ago #

    Hey,

    Thanks for this amazing plugins. I decided to put the version 4.1.0 but I have a problem with my youtube shortcode :

    [youtube id="Enter video ID (eg. Wq4Y7ztznKc)" width="600" height="350"]

    All of my videos are replaced by this video : http://www.youtube.com/watch?v=DR2c266yWEA&feature=player_embedded

    I have trying the Compatibility mode and Disable custom formatting but this doesn't works.

    Thanks,

    http://wordpress.org/plugins/shortcodes-ultimate/

  2. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    Hi EdgeRayner,

    try to use shortcode generator to generate this shortcode. There is no parameters called ID. This shortcode accepts video URL.

  3. EdgeRayner
    Member
    Posted 1 year ago #

    Ouch...I have about 500 posts with this shortcode :/

  4. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    You can use plugin API to overwrite default URL parameter with your custom.
    http://gndev.info/kb/shortcodes-ultimate-api-overview/

  5. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    Also, you can create your custom shortcode with premium addon "Maker" and overwrite default youtube shortcode with it.

  6. JuaninLAdP
    Member
    Posted 1 year ago #

    Is it possible to remove the Youtube shortcode? If so, how can I do it?

  7. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    What do you mean by "remove"?

  8. JuaninLAdP
    Member
    Posted 1 year ago #

    Remove or deactivate the Youtube shortcode from the plug-in.

  9. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    Sure. You can do it with API.

  10. PATWIST
    Member
    Posted 1 year ago #

    I have the same problem, I using WordPress Jetpack and using shortcode:
    [youtube=http://youtube...etc...]

    and your plugin starts with:
    [youtube url="

    Compatibility mode helps with video problem but all previously used shortcodes dont work

  11. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    I'll help you today, a little later.

  12. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    How to remove shortcode from Shortcodes Ultimate
    1. Add this code to your theme's functions.php file

    function su_remove_youtube_shortcode( $shortcodes ) {
    	unset( $shortcodes['youtube'] );
    	return $shortcodes;
    }
    add_action( 'su/data/shortcodes', 'su_remove_youtube_shortcode' );

    2. Reactivate the plugin.

  13. JuaninLAdP
    Member
    Posted 1 year ago #

    Awesome, thanks!

  14. PATWIST
    Member
    Posted 1 year ago #

    Thanks, It works, I dont used this code, but have activated Compatibility mode ang updated to latest version

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shortcodes Ultimate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.