Accessing the Current URL in a Text Widget for a Facebook Share Button?
@user653 is correct, you can’t do it in a text widget with PHP but you can do it in a text widget using JQuery/Javascript. Here’s how. Starting with the Facebook Share Button HTML I assume you plan to use use the Facebook Share Button and thus will have HTML code in your widget that will … Read more