• I’m using this plugin to shows related products on my website. I’m using the template function to display the output.

    <?php get_related_posts_thumbnails(); ?>

    However when i use this, no title is shown i.e. related products, above the thumbnails. So i put it in html above the function to display the title.

    The above function and the title are contained in a div. Is it possible to hide this div if there are no related products?

    Thanks

    https://www.ads-software.com/extend/plugins/related-posts-thumbnails/

Viewing 1 replies (of 1 total)
  • I am in the same boat as Corbula. I use the template function and had to manually include the HTML for the Top Text.

    So when there is no related posts, my hardcoded Top Text shows.

    What’s a good workaround?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Related Posts Thumbnails] Using template tag, possible to hide if no related posts?’ is closed to new replies.