• 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="https://www.facebook.com/sharer.php?u=https://<?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="https://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.