WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. DaniSatria
    Member
    Posted 2 years ago #

    Hi,

    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.

    http://wordpress.org/extend/plugins/related-posts-via-taxonomies/

  2. TheBlakePetersen
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Hello!
    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

About this Topic

Tags