Auto convert WordPress post content URLs to Hyperlinks and open in a new window
I needed to have all of my post content plain text URLs converted to Hyperlinks, but it needs to open in a new window when clicked. The make_clickable() function in wordpress doesn’t allow to specify any option for the target. function make_clickable2($content) { $content = preg_replace("/http:\/\/[a-zA-Z.&\-\/]+[a-zA-Z&\-\/]+/", "<a href=\"\${0}\" target=\"_blank\">\${0}</a>", $content); return $content; } add_filter('the_content', 'make_clickable2');
Display Comments Statistics Adopted
Taking the spirit of open-source and to maintain something that I use in my blog / personal website, I’ve adopted Display Comments Statistics plugin for WordPress. Display Comments Statistics was originally created by Mário Gamito (R.I.P). I think he deserves someone to maintain it. ” This plugin shows the total number of articles and comments [...]


1128
21
3
0
0
1059
57
55
15
11
1
0
0
0
0
0
0