Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi. By any chance have you managed to resolve this issue?

    Thread Starter domainpubber

    (@domainpubber)

    Hi Neil. Unfortunately not. As an interim workaround I have removed the excerpts for now by editing the plugin files, but this is certainly not optimal. I wish the author would update the plugin so that this functionality works correctly. It really is a nice plugin otherwise.

    Tom

    (@jeffreeeeey)

    I too would be interested in using this plugin if this issue is resolved. Sorry for jumping on your thread but I wanted to subscribe to it 🙂

    OK. I managed to resolve the issue with a change in the code in the feature_slideshow_body.php

    $fs_height = ($feature_slideshow_settings['numberposts'] * 81) - 1;
    $fs_width = $feature_slideshow_settings['width'] - 287;
    
    $posts = get_posts("numberposts=" . $numberposts . "&orderby=" . $orderby . "&post_parent=" . $post_parent . "&post_type=" . $post_type . "&category=" . $category . "&tag=" . $tag);
    								$my_query = new WP_Query('category_name=featured&posts_per_page=4'); 
    
    if($posts) {
    while ($my_query->have_posts()) : $my_query->the_post();
            setup_postdata($post);
    	$return .= '<li>
    	<a href="' . get_permalink($post->ID) . '">
            <h3>' . get_the_title($post->ID) . '</h3>
            <span>' . feature_slideshow_excerpt(12) . '</span>
            </a>
            </li>';
    endwhile;
    }

    As you can see I have replaced the foreach loop with a while loop which gave me better control over the presentation. I also had to hard code the category name featured into the WP_query

    Let me know if this works for you’ll guys as well. Good luck. Thanks.

    domainpubber – Don’t forget to resolve this topic

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Feature Slideshow] Featured Slideshow excerpts being duplicated.’ is closed to new replies.