WordPress.org

Ready to get started?Download WordPress

Forums

YouTube Channel
Bug! Shortcode function should not produce output (4 posts)

  1. amellie
    Member
    Posted 2 years ago #

    Hello there,

    Thanks for the great plugin. However, I found a bug when I run this shortcode along with other shortcodes (that are supposedly displayed BEFORE youtube channel plugin).

    I looked at your code, it turned out that at the end of ytchannel function, you produce an output (echo $output) rather than returning the value (return $output). If you could fix it, thanks!

    That's all!

    http://wordpress.org/extend/plugins/youtube-channel/

  2. urkekg
    Member
    Plugin Author

    Posted 2 years ago #

    YTC right now does not support shortcodes (multiple echo's in widget print out routine).

  3. Bill Addison
    Member
    Posted 2 years ago #

    I was looking for this also. Would like to use as Shortcode without widgets.

    Thanks for the great plugin

  4. urkekg
    Member
    Plugin Author

    Posted 2 years ago #

    I added shortcode in TODO. Now I need some free time to imeplement it :) Stay tuned ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic