Related Posts via Taxonomies
How To Hide The Score (3 posts)

  1. DaniSatria
    Posted 4 years ago #


    Is there any way to hide the score in the end of each related post title.

    This is the best related posts plugin I've ever used anyway.

    Kudos and thank you.


  2. TheBlakePetersen
    Posted 4 years ago #

    In the display portion of the support website, it shows that the plugin will, by default, hide the relevancy score if the user viewing the page not logged in. But, this clearly isn't the case.

    The good news is, the fix is pretty easy, the bad news is, if its not patched up and you update, you'll have to make the change again.

    Head over to /wp-content/plugins/related-posts-via-taxonomies/includes and open the display.php file. Comment out (//) line 92, save, reupload, and you're golden.

    // $entries .= " ({$relevancy_score})";

    Now, it works as advertised. Hope this helps!

  3. vailobox
    Posted 3 years ago #

    This is easier achieved with CSS so you don't have to edit the plugin. If you specify a custom class in the plugin settings such as <div class="related-posts"> you may add the following to your theme's Custom CSS theme option or stylesheet:

    .related-posts li a{display: block; width: 100% !important;}
    .related-posts li{height: 20px; overflow-y: hidden; margin-left: 0px;}

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Related Posts via Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic