I hope you get the gist of the problem from the title.
I want to add a Facebook like button on the front page of my wife's site, but I don't want it to like the page people are on, but they'd be liking her Facebook page. All the WordPress plugins I can find work to like the page the user is on.
Maybe I just need a widget with a bit of code in it instead of a plugin?
Thanks if you can help.
I would use the generated code from this site - https://developers.facebook.com/docs/reference/plugins/like/ - but it requires code to be placed in the body of the html, so I don't see how I'd use that with WordPress.
Cbas23
Member
Posted 5 months ago #
I'd like to know how to do this as well. Haven't found anything yet
Cbas23
Member
Posted 5 months ago #
Figured it out.. Use the iFrame code from that facebook dev link. I put it straight into my homepage php code and it worked nicely. Check it out here: http://dazestate.com/
Cbas23
Member
Posted 5 months ago #
One question though: what should I do to change the color of the iframes text?
How do I figure out which php file to put the code in?
Cbas23
Member
Posted 4 months ago #
It should be home.php, but it may be different on your site - try to find the readme or info file for your theme. This may help too. Otherwise, just look through the php code until you find a file that matches your homepage layout.