WordPress.org

Ready to get started?Download WordPress

Forums

Related Posts Thumbnails
(help-question)Adding custom code to work in plugin (2 posts)

  1. himanshu88
    Member
    Posted 3 years ago #

    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

  2. marynixie
    Member
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic