Title: [Plugin: Related Posts Thumbnails] (help-question)Adding custom code to work in plugin
Last modified: August 19, 2016

---

# [Plugin: Related Posts Thumbnails] (help-question)Adding custom code to work in plugin

 *  [himanshu88](https://wordpress.org/support/users/himanshu88/)
 * (@himanshu88)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-help-questionadding-custom-code-to-work-in-plugin/)
 * I use ratings for posts (**PLUGIN : wp-postRatings **). which are shown in my
   short posts as well .
 * Now i also want to show ratings of posts (which are managed by a plugin wp-postRatings)
   in related posts plugin . Below the title .
 * **How can i use the code of ratings plugin in Related posts plugin . **
 * And let me thank u for your wonderful plugin which works absolutely as it should.
 * Pls help me with this .Thanks

Viewing 1 replies (of 1 total)

 *  [marynixie](https://wordpress.org/support/users/marynixie/)
 * (@marynixie)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-help-questionadding-custom-code-to-work-in-plugin/#post-1814362)
 * Hello himanshu88,
 * As I checked plugin wp-postRatings provides the function:
 * the_ratings($start_tag = ‘div’, $custom_id = 0, $display = true) (line 75)
 * which I guess can be used in output of related posts plugin. The output is forming
   on lines 303-329 for each post in a cycle in current version of related posts
   plugin.
 * I hope this will guide you in the right direction, however, I can’t tell exact
   code and how this will affect general performance of website.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Related Posts Thumbnails] (help-question)Adding custom code 
to work in plugin’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [marynixie](https://wordpress.org/support/users/marynixie/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-help-questionadding-custom-code-to-work-in-plugin/#post-1814362)
 * Status: not resolved