Shortcode Parameters
-
If anyone is wondering how to add multiple instances of the feeder on their blog using shortcode…I figured out. He mentions it in the description, and he gives us the basic shortcode to use, but never gives us any parameter IDs to override the default settings you can set for the plugin. If you dig into /wp-content/plugins/youtube-feeder/youtube-feeder.php and look through the <input> classes name=”any of the parameters”, you can figure it out. Here is a list of some of them, you can go in there and figure out the others on your own.
Feed ID = feedid
Example: [youtubefeeder feedid=PLKX8hxHZV0r8ik7Axl3hlXhuc82xiCYRE]Feed Type = feedtype
Accepted Values = uploads, favorites, subscriptions, playlist, standard, category, search
Example: [youtubefeeder feedtype=playlist feedid=PLKX8hxHZV0r8ik7Axl3hlXhuc82xiCYRE]Also, I figured out that if you don’t want your videos to take up the full width of the page, you can simply leave the width and height fields in the settings blank, then use the following css identifier to manually set the width and height via css: .youtubeVideo .iframe-embed iframe {}
So, in conclusion, this plugin is not limited to just one feed. And the videos don’t always have to be full size of the page as it does by default. If you know some CSS/Javascript/PHP, you can actually do some pretty cool stuff with the Simple List style. I hope someone finds this information useful!
- The topic ‘Shortcode Parameters’ is closed to new replies.