WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Related Posts via Taxonomies] How To Hide The Score

[Plugin: Related Posts via Taxonomies] How To Hide The Score

Viewing 2 replies - 1 through 2 (of 2 total)
  • TheBlakePetersen
    Member

    @theblakepetersen

    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!

    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;}

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Related Posts via Taxonomies] How To Hide The Score’ is closed to new replies.