I wish to make use of the facebook like button us an if statement. before show a publish i would like first the consumer click on the like button to be able to begin to see the publish. the way i can perform this?

I do not believe that's possible. Actually, it could violate Facebook's Tos. Rather, attempt to add the Facebook like wordpress plugin and also have it display towards the top of the publish.

There is a PHP script available on CodeCanyon that does just that: http://codecanyon.net/item/wordpress-like-locker-like-to-read-plugin/166051

Note to Visitors: If you're searching for the download for this file you are able to snap it up here: http://codecanyon.net/item/wordpress-like-locker-like-to-read-plugin/166051?ref=tylerquinn

I'm the developer of the premium WordPress wordpress plugin, I simply wanted to show you you will get instant accessibility wordpress plugin, support, and free updates when download it through CodeCanyon.

It will adhere to Facebook's TOS, and isn't an approach to click jacking that is what facebook frowns upon.