Conditional Display
-
Hi,
I’d like to add a button to my post header that would launch the video pop-up on click. I’ve tested it and it works great. However, my headers are added dynamically meaning every post header would get the button, however not every post will have a video on it.Is there anyway to check to see if the post has the WP Video Popup shortcode, and if it doesn’t then not display the button trigger?.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Conditional Display’ is closed to new replies.