[Plugin: Meteor Slides] slideshow not showing
-
HI there,
My apologies for not having the code up before, but I have reinstalled the slideshow.
I used this code from a previous post inside the header.php file to replace the image code. You can see here that it isn’t showing up, but the slideshow is there.
Thank you!
<?php if ( is_front_page() ) { if ( function_exists( ‘meteor_slideshow’ ) ) { meteor_slideshow(); } } else {
// Check if this is a post or page, if it has a thumbnail, and if it’s a big one
if ( is_singular() && current_theme_supports( ‘post-thumbnails’ ) &&
has_post_thumbnail( $post->ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘post-thumbnail’ ) ) &&
$image[1] >= HEADER_IMAGE_WIDTH ) :
// Houston, we have a new header image!
echo get_the_post_thumbnail( $post->ID );
elseif ( get_header_image() ) : ?>
<img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />
<?php endif; } ?>
The topic ‘[Plugin: Meteor Slides] slideshow not showing’ is closed to new replies.