• Resolved Ramakrishna

    (@ramakrishna_nyros)


    I used the following short-code in my header.php:

    <?php
    if (is_front_page() || is_home()) {
    echo do_shortcode(‘[tribulant_slideshow featured=”true” featurednumber=”10″ featuredtype=”post”]’);

    } ?>

    It displays the the featured post’s from second post.But when I used In page it shows from first post.what is the issue here.

    https://www.ads-software.com/plugins/slideshow-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ramakrishna

    (@ramakrishna_nyros)

    I got the solution for this.
    In slideshow-gallary.php file(line no 288)contains ‘exclude’=>$post->ID.
    So it excludes current post from slide-show.I changed it as following:
    ‘exclude’=> $exclude

    Any way Thanks for the great plug-in.

    Plugin Author Tribulant Software

    (@contrid)

    Thank you for your post and for posting your solution as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘featured posts shortcode not display correctly in header.php file?’ is closed to new replies.