Title: [Plugin: Smart YouTube] Code string to embed in conditional sidebars
Last modified: August 19, 2016

---

# [Plugin: Smart YouTube] Code string to embed in conditional sidebars

 *  [tsalzer](https://wordpress.org/support/users/tsalzer/)
 * (@tsalzer)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-smart-youtube-code-string-to-embed-in-conditional-sidebars/)
 * I’d like to show different videos in the sidebar on different pages using the
   is_page conditional. What would be the code string to call Smart YouTube in a
   hard-coded sidebar.php with a bunch of elseif statements?
 * [http://wordpress.org/extend/plugins/smart-youtube/](http://wordpress.org/extend/plugins/smart-youtube/)

Viewing 1 replies (of 1 total)

 *  [Rhand](https://wordpress.org/support/users/rhand/)
 * (@rhand)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-smart-youtube-code-string-to-embed-in-conditional-sidebars/#post-1374776)
 * Did you ever find out? I am trying to add Youtube videos to Slidedeck which is
   being loaded on index.php, but the code is just printed, not parsed..

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Smart YouTube] Code string to embed in conditional sidebars’
is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Rhand](https://wordpress.org/support/users/rhand/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-smart-youtube-code-string-to-embed-in-conditional-sidebars/#post-1374776)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
