New Topic

Reply To: Video Instead of Slider?

Home › Forum › Customization › Video Instead of Slider? › Reply To: Video Instead of Slider?

#686

StartupWP
Support

Try this method instead:

<?php if (is_home()) { ?>
WHATEVER YOU WANT HERE
<?php } ?>

Quick tip, before trying it with the video code, just try plain text “abc” or “123” for example just to make sure that it appears.

If it does, but then the video code doesn’t work you’ll have pinpointed that something is wrong with the video embed code. It is also recommend to use the full URL paths instead of relative ones as you’re using when it comes to WordPress.

If you’re still having issues with your video code, a great error checking tool for HTML can be found here:

http://validator.w3.org/#validate_by_input