WordPress.org

Support

Support » How-To and Troubleshooting » Facebook LIke and Article Title

Facebook LIke and Article Title

  • blckenedicekaj
    Member

    @blckenedicekaj

    I have tried a variety of plugins and code to try to make my blog appear in this format when someone likes the page:

    ‘Username’ likes ‘Article Title’ on writersblockmedia.net

    Instead it always appears as ‘Username’ likes writersblockmedia.net.

    I have tried the opengraph method with no success. This is the code I am using:

    // start of fb like code

    <iframe src=”http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:60px”></iframe>

    // end of fb like code

  • The topic ‘Facebook LIke and Article Title’ is closed to new replies.