Strength format is not effective in WP KeywordLink

Table of Contents

Problem

WP KeywordLink is a great WordPress Plugin that can also generate related posts at the end of a post. In auto display mode, it can display the strength of the similarity, but failed to display as the format we set.

Reason

In auto display mode, the variable of format is receiving a non-existing parameter in POST data scope. So it always use the default format “value” to display the strength.

Solution

In plugin file wp_similarity.php, locate the line as below

$options['auto_format'] = $_POST['auto_format'];

Change to

$options['auto_format'] = $_POST['format'];

Done. The strength format will be effective for auto display mode.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

Back to Top