This version fixed the duplicated tags problem that caused by plugin hook 'action_add_template_vars()' called several times and output is always appended to template variable '$related_tags' due to no initialization is done. And plugin option 'Tag(s) to be hidden' has been changed to use TextMulti of FormUI. You can grab the updated version from the original post.
This version fixed the bug of duplicated posts that appeared in a scenario that
echo $related_posts;
is placed in a separate template and use
$theme->display( 'foo' );
to display that template.
The problem was caused by plugin hook 'action_add_template_vars()' called several times and output is always appended to template variable '$related_posts' due to no initialization is done.
Thanks Brando and miklb for reporting this problem. You can grab the updated version from the original post.
This version is just a minor release that clear the cache during deactivation. You can grab the updated version from the original post.
This version changed from using theme variable to theme function. Better memory utilization by using theme function now. You can grab the updated version from the original post. Please note the change of the usage.
This version changed from using theme variable to theme function. Better memory utilization by using theme function now. You can grab the updated version from the original post. Please note the change of the usage.
Latest Comment
天佑, 五師兄
天佑, 天佑, Chap, sfong15, Brando, fireyy [...]
Ryan, Rossi 千斤田, Ryan, Rossi 千斤田, Cable
天佑, eliza, 天佑, Brando, 天佑, Brando [...]
亿城雪, 天佑, mad dog, 天佑, mad dog