Slider is created using Meta Slider Lite v2.2.1.
Meta Slider shows it usage as
` Shortcode
[metaslider id=449]
Template Include
<?php echo do_shortcode(“[metaslider id=449]”); ?>`
Pinboard theme is used.
Text module is added to its header element.
Text element contains
[metaslider id=449]
<?php echo do_shortcode(“[metaslider id=449]”); ?>
slider does not appear. View source shows that
[metaslider id=449]
<?php echo do_shortcode(“[metaslider id=449]”); ?>
are rendered literally.
How to show slider in header ?
Hi kobruleht,
Paste this code
<? php echo do_shortcode (“[id = metaslider 449]”);?>
in the index.php file of the template immediately after the code
<? php get_header ();?>
example:
<? php get_header ();?>
<? php echo do_shortcode (“[id = metaslider 449]”);?>
<? php if (is_home () &&! is_paged ()):?>
<? php if (pinboard_get_option (‘slider’)):?>
<? php get_template_part (‘slider’);?>
<? php endif;?>
…
Hi!
I found this description of you, because I wanted to implemet the slider on my site.
Thank you very much!
Greetings from Vienna!
Geri