Conditional Code for when your in a Sidebar
-
Hello,
So I need a way in php to find out if you are in the sidebar. Basically how the is_home() command will tell you if your at the homepage. I have a shortcode script that will embed videos but I need it to embed the video into the sidebar with different coding. Can this be done?
- The topic ‘Conditional Code for when your in a Sidebar’ is closed to new replies.