Tagged: single.php
Hi,
i want to add a LayerSlider above every post.
I tried to get this done with:
<?php while ( have_posts() ) : the_post(); ?>
and my slider is:
[layerslider id=”5″]
But i don´t get it. :-(
I didn´t know how to put the code in to the single.php and where.
Cheers
David
Hi David!
I don’t think that is going to work but you can try adding it around line 29 in the single.php file.
<?php echo do_shortcode("[layerslider id = '5'"); ?>
Best regards,
Elliott