Support » Plugin: Featured Posts Slideshow » Show Pages featured image rather than posts

  • Hey..Really Sorry, for this.
    I asked everyone, but no one has answered it.

    I have this theme set up that takes images from posts that has featured image and displays on home page slider. Instead of that I wanted to have 3 custom images that i want to display ( or if not possible images from pages and not posts )

    Here is the code that i think is responsible for it.

    <?php get_header(); wp_enqueue_script( 'slider-main', get_template_directory_uri() . '/js/slider.js' ); ?>
          <div id="slider">
             	<div id="slideshow"><ul class="bjqs">
    			<?php $sbargs = smallbusiness_ppp(); query_posts( $sbargs );
    			if (have_posts()) : while (have_posts()) : the_post();?>
                <li><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('slide-thumb'); ?><div class="post-slide"><h2><?php the_title(); ?></h2><?php  $sbExcerptLength=30; the_excerpt(); ?></div></a></li>
    			<?php endwhile; endif; ?>

    Please tell me what changes in code should I make to accomplish this. I would be really thankful to you. No one has helped me in this regard. I hope you can cause you have made so many slideshow plugins. Please..please..please..

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show Pages featured image rather than posts’ is closed to new replies.