What you can do is put an if statement to check if its on the correct page then execute the code
so:
<?php
if(is_page(5)){
echo "I'm on a WP page that has the id 5";
}
?>
Related Posts:
- Generating Thumbnails for video
- Managing and Playing Large videos
- WordPress 3.1: Videoplayer implemented?
- oEmbed vimeo with add_query_arg parameters not inserted to HTML
- Add video from youtube in post
- Vimeo videos not working
- Adding a video description in a similar way to a image caption
- Best Practices for Video Uploads to WordPress
- How to use the new wp_read_video_metadata function
- oEmbed not working in WordPress
- How to play amazon S3 videos in wordpress 3.6?
- Viddler oEmbed not working with specified width
- How to create thumbnails in wordpress with jwplayer
- Problem with JWplayer. Video is missing?
- WordPress 3.6 Video shortcodes in template
- How to play a video without using plugin?
- How to embed local video in a wordpress post
- Adding video to a WordPress website [closed]
- tags disappear on pages (but not on posts!)
- Are self-hosted videos a good idea? [closed]
- VideoJS in a Widget?
- How to add a download link to a video from WP media library?
- Optimal method for organizing videos by topics discussed?
- Uploaded video store in video folder
- How do I add “live thumbnails” or slideshow like thumbnails?
- WordPress 5.2.1: Embed video is not working. Showing video link on fronted
- Problem with video url from ad manager
- Cant play videos
- Slider Revolution video on autoplay doesn’t start
- Video link not working in Internet Explorer
- Hide video & make a clickable play button icon on header
- Update a Post after a user uploads a video
- mp4 video preview
- Page will only display first 6 videos
- Find Videos Inside a Post
- How to fetch all videos in custom page which uploaded in wp-admin (Media) in wordpress
- How to Insert Self-Hosted Video in WordPress Post
- Videos in posts are not rendered
- Resizing built-in wordpress video not working! [closed]
- Remove lines in video
- Strange video appears in background on Safari only [closed]
- Video header works only on previews, but not on published pages
- videojs – No compatible source was found for this media in wordpress app
- My website suddenly won’t play any videos
- Setting a post’s featured image from an embedded YouTube video
- Do_Shortcode not working for Embed
- How can i get the name parameter defined in get_header?
- How to get the custom header image’s alt text?
- When cropping a header image, retain meta data (i.e. name, description, etc.) from original image?
- Get first video from the post (both embed and video shortcodes)
- Replace audio/video enclosure with player?
- Implementing “Video of the Day” Feature?
- Make a video post redirect to next post after completion
- Adding custom fields to the header.php
- Additional Option on Custom Header admin
- getting video dimensions
- Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer
- How to edit codes of an individual page/post?
- Videos via the video shortcode are always 640px wide?
- Show Video in Excerpt
- How to add new embed handler not supported by oembed
- How to handle valueless attributes in shortcodes?
- How to overwrite youtube embed?
- Custom text-only header
- WP REST – video and audio players
- How can I add a custom header to a custom template in a plugin without using the theme folders
- How to Handle CSS for Multiple Header header.php Files?
- Protecting HTML5 video [closed]
- How can I get the [video] shortcode to allow query string parameters?
- How do I control video media display sizing with native wordpress player
- Get a sidebar at the top of the page
- add_theme_support( ‘custom-header’ ) does not add option menu in dashboard
- Display different header images based on current page
- How to remove header images from all pages except the home page? skeleton theme
- How to Replace the WordPress Featured Image with a Video?
- How to use a svg as custom header?
- Different custom header image on different page
- How to change default header image dimensions in twentyfourteen child theme?
- how to add new .webm mime types
- How to change the height of featured image in Twenty Eleven child theme
- Should I use custom post types for a front page video feature (vimeo)?
- How can I use a video header that’s over 8MB?
- How to generate a featured image from a video embeded in a metabox
- Displaying all Video Post Formats to Page
- Custom header images won’t appear when set to random
- how to use preg_replace for wordpress video?
- Use Video as Featured Image
- How to get Poster (thumbnail) Image of Video
- Loss of sharpness in jpg imported as header in twentyeleven
- Mysterious HTTP 404 header in my own scripts
- wp_insert_post iframe missing
- What is the advantage of using header-catname.php over is_category(‘catname’);?
- Escaping Quotes
- Getting a thumbnail for an external video as the thumbnail for a custom post type?
- How to check If Oembed is empty or not
- Change location of header.php and footer.php
- Embed YouTube video from custom field value
- How to Edit the style of header title of Twenty Eleven Theme?
- disable video URL auto-embedding for a part of the post
- Video shortcode – autoplay all videos