Title: [Plugin: Related Posts Thumbnails] Top Text (Title) when using PHP Tag
Last modified: August 19, 2016

---

# [Plugin: Related Posts Thumbnails] Top Text (Title) when using PHP Tag

 *  [brisimmons105](https://wordpress.org/support/users/brisimmons105/)
 * (@brisimmons105)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-top-text-title-when-using-php-tag/)
 * Hello,
 * This plugin is great.
    However, I’ve recently changed the setting from automatically
   append to the post, to using the php tag in the loop.
 * I realized shortly afterwards that the title (or Top Text) does not get displayed
   if you use the php tag.
 * Now, I put my own title in the loop, right before I call the related posts plugin,
   but the problem with this is that it still displays the title even if there is
   no related post.
 * I’d like to display title ONLY if there are related posts to display.
 * Can you help me do this? I’m sure I can edit the plugin to do this, I’m just 
   not sure how to do it.
 * Thanks!
 * [http://wordpress.org/extend/plugins/related-posts-thumbnails/](http://wordpress.org/extend/plugins/related-posts-thumbnails/)

The topic ‘[Plugin: Related Posts Thumbnails] Top Text (Title) when using PHP Tag’
is closed to new replies.

 * ![](https://ps.w.org/related-posts-thumbnails/assets/icon-256x256.png?rev=1602092)
 * [Related Posts Thumbnails Plugin for WordPress](https://wordpress.org/plugins/related-posts-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-thumbnails/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [brisimmons105](https://wordpress.org/support/users/brisimmons105/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-top-text-title-when-using-php-tag/)
 * Status: not resolved