Header slider
-
I have meta slider Version 3.7.1
I have put this code in header.php in the child theme of tewentyfourteen<body <?php body_class(); ?>>
<div id=”page” class=”hfeed site”>
<?php if ( get_header_image() ) : ?>
<div id=”site-header”>
<!–
” rel=”home”>” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” alt=””>
–>
<?php echo do_shortcode(‘[metaslider id=”19004″]’); ?></div>
<?php endif; ?>
As you can see, I had to comment out some code to get the slider to work
It works and it also works in /Appearance/Header/ but for a split second all the images are displayed – you can see this if you refresh the page
All the images are 1260 × 240
Have I done something wrong?The page I need help with: [log in to see the link]
- The topic ‘Header slider’ is closed to new replies.