WordPress.org

Ready to get started?Download WordPress

Forums

adding the like button TO THE LOOP/ not posts (1 post)

  1. miketopher
    Member
    Posted 1 year ago #

    I'm trying to add the Facebook Like button under each featured image on a magazine style Grid Layout....

    I want the like button to reflect the Like Count of the post which the like button is next too....

    I am not trying to add the like button to post pages..

    I am using the iframe
    <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2FEXAMPLE.com&send=false&layout=standard&width=450&show_faces=false&action=like&colorscheme=light&font&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>

    i put the code to GET PERMALINK in replace of the actual url in the iframe code... and used several examples found online.

    nothing works.
    it keeps likeing the actual text that makes up the get permalink string and does not pull like data from the url of each posts..

    Would love to get some help on this.

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic