I am using the socializer plugin by Anders Bergman. If I want to show an image, as opposed to the text 'Social bookmark this post,' what is the PHP code that I put in?
Here is the original plug-in script:
I experimented with inserting an <img> element, but I can't seem to get it to work. I keep getting 'unexpected T_STRING.' Or that it expected a ) in place of a ". Obv I am a total rookie to PHP.
Thanks in advance
note:this info is obv available for use in general php, but I am not sure if what I have found is relevant, considering that this goes in the $text_adb
Here is the original plug-in script:
Code:
<?php
// add socializer link
function socialize_adb($text_adb) {
// default
if ($text_adb == '') {
$text_adb = "Social bookmark this post";
}
$link_adb = "<a href=\"http://ekstreme.com/socializer/?url=".get_permalink()."&title=".get_the_title($id)."\">".$text_adb."</a>";
// display link
echo ($link_adb);
}
?>
Thanks in advance
note:this info is obv available for use in general php, but I am not sure if what I have found is relevant, considering that this goes in the $text_adb