Hi
I am struggling getting this right. I would like to display a different slider on different pages. I have tried many solutions found on the knowledge base but none work.
So far, for testing purposes, I have this very basic code in “Before Header Content”. But it displays the slider on all pages. Why?
Note: “Excute PHP code” is not checked. Is it required? (When I enable it, I get a 500 server error – what is it for?)
*******
<?php if ( is_home() ) : ?>
[metaslider id=43]
<?php endif; ?>
*******
Thanks!