Feature Slideshow
Featured Slideshow excerpts being duplicated. (6 posts)

  1. domainpubber
    Posted 5 years ago #

    I love this plugin! But there are a couple of issues I have run into:

    1. The excerpts are being duplicated for all of my featured posts. You can see on this site what I'm talking about: http://www.raftertales.com/

    2. The plugin generates a number of errors when you run the W3C validator. I'm wondering if this can be remedied in an upcoming version?

    Thanks to anyone for help you can provide in troubleshooting the 1st issue.


  2. Neil De Souza
    Posted 5 years ago #

    Hi. By any chance have you managed to resolve this issue?

  3. domainpubber
    Posted 5 years ago #

    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.

  4. Tom
    Posted 5 years ago #

    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 :)

  5. Neil De Souza
    Posted 5 years ago #

    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();
    	$return .= '<li>
    	<a href="' . get_permalink($post->ID) . '">
            <h3>' . get_the_title($post->ID) . '</h3>
            <span>' . feature_slideshow_excerpt(12) . '</span>

    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.

  6. Neil De Souza
    Posted 5 years ago #

    domainpubber - Don't forget to resolve this topic

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic