Can’t get it to work. Partly. tried everything. Help?
-
Hi there! First of all; great plugin!
Got a question though. I got it working on one site (https://www.eamel.net/blog/), very satisfied with it!, but not on 3 other sites with another kind of theme (The Night Watch theme). One of them is https://photo.eamel.net/.
The Night Wacth theme is set up as a one column blog and whatever I try, I can’t find out how to get the videoheading replacing the image heading. I even tried all the suggestions made in this support section here.
I’ve tried, of course, the functions.php code by adding this to it at the bottom:
__________________________________________________________________________________
function nightwatch_header_vidbg() {
echo do_shortcode( ‘[vidbg container=”masthead” mp4=”https://*****.mp4″ webm=”https://*****.webm” poster=”https://https://*****.jpg” loop=”true” overlay=”false” overlay_color=”#000″ overlay_alpha=”0.3″ muted=”false”]’ );
}
add_action( ‘wp_footer’, ‘nightwatch_header_vidbg’ );
__________________________________________________________________________________That didn’t work. I’ve changed the containername, using a different header id’s: masthead, #masthead, site-header,.site-header and even ‘header’. None of it helped.
Then I tried to change the header.php code adding this:
__________________________________________________________________________________<?php echo do_shortcode(‘[vidbg container=”.site-heading” mp4=”https://*****.mp4″ webm=”https://*****.webm” poster=”https://*****.jpg” loop=”true” overlay=”false” overlay_color=”#000″ overlay_alpha=”0″ muted=”false”]’); ?>
__________________________________________________________________________________
* for security reasons i replaced the original directories with asterisks, btw ??Guess what; that didn’t function either.
Last but not least, I’ve added the last code to a custom CSS but that also didn’t work.
In short; what am I doing wrong? Please help. I like consistency in all of my websites so it would be nice this marvelous video heading would work as nicely as it does on my aformentioned blog ??
Keep up the good work (and please forgive me my English; it’s a bit rusty and not my native language)
- The topic ‘Can’t get it to work. Partly. tried everything. Help?’ is closed to new replies.