Title: Selfmade Social Button
Last modified: August 21, 2016

---

# Selfmade Social Button

 *  [caylean](https://wordpress.org/support/users/caylean/)
 * (@caylean)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/selfmade-social-button/)
 * Hello together, i have a Problem, again.
 * This time my Social Facebook Button is messing with me.
 * I have a Gallerytheme created that i really like and I hardcoded myself some 
   Social Buttons, one of them is the Facebook one.
 * The code on the Homepage is:
    `<a class="facebook" href="http://www.facebook.
   com/sharer.php?u=http://<?php echo $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]?
   > - <?php bloginfo('name'); ?>" onclick="javascript:window.open(this.href, '','
   menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return
   false;" title="Facebook Like">facebook</a>`
 * Homepage:
    The Popup comes, facebook shows up, i get a Pic chosen and then comes
   the problem i think: “Site not found « Caylean’s Blog” instead of my normal Site
   Title.
 * —————————-
 * The code on the Posting is:
    `<a class="facebook" href="http://www.facebook.com/
   sharer.php?u=<?php echo get_permalink(); ?> - <?php echo get_the_title($ID); ?
   > " onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable
   =yes,scrollbars=yes,height=600,width=600');return false;" title="Facebook Like"
   >facebook</a>`
 * Posting:
    The Popup comes, facebook shows up, i get NO Pic and it still says “
   Site not found « Caylean’s Blog”
 * Does someone has any idea where my problem is?
 * Kind Regards

The topic ‘Selfmade Social Button’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [caylean](https://wordpress.org/support/users/caylean/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/selfmade-social-button/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
