]> Comments | Web Developer Reference Blog

Publish to Facebook from WordPress using Wordbooker

Wednesday, June 9th, 2010

I have installed Wordbooker on my WordPress blog to post to my Facebook wall when I make a new post.

Upon installing and activating the plugin, visit its settings page under Settings >> Wordbooker. Click the connect with Facebook button and allow the requested permissions. You will then be directed back to your blog administration panel where you are given a set of configuration options. The ‘Blog Level Customisation’ allows you to define the default settings for all users of your blog. The ‘User Level Customisation’ allows the logged-in user to customise their own settings.

(more…)

Open comment authors website link in a new window

Tuesday, June 8th, 2010

When a user posts a comment on your blog, they are given the option to have their name linked to their own website by supplying the URL when they post. To make these links open in a new window:

find in wp-includes/comment-template.php (~line 148):

$return = "<a href='$url' rel='external nofollow' class='url'>$author</a>";

replace with:

$return = "<a href='$url' rel='external nofollow' class='url' target='_blank'>$author</a>";

And that’s it. If you have difficulties implementing this, contact me for paid support.