WordPress – Fb Like Button Content Locker

Hi, im using the latest wordpress version 3.2.1.

I need to hide content on my wordpress blog untill it’s liked. My facebook page would be the one which is liked.
So basicly, visitor will come to my blog and will see the FB Like button and explanation that he’ll get the content once he clicks Like. So if he’s not logged into facebook, click on the Like button will popup the facebook login. Once he is logged in he can click like and the page will reload showing the content.
Next time he visits the site (if he’s logged into facebook), content should be available for him right away without content locker.

I would hide the content using html tags for example [hide]hidden content[/hide].

This script must work for all future wordpress updates.
This script must work for all browsers.

Leave a Reply

Your email address will not be published.