WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sharing on Facebook (3 posts)

  1. leonardogsouza
    Member
    Posted 10 months ago #

    Hi, after trying everything and still no sucess, I had to come here.

    At the end of every post I use the following:

    <center><img src="http://www.zunkabitz.com/wp-content/uploads/2013/05/CompartilharFacebook.png"></center>

    The thing is, the address "zkbtz.tk/1012HO6" I only get AFTER I post the article, so, if I schedule a post, I can not use this function.

    How can I use something like "the_permalink" so I don't have to put manually the post URL?
    And also, is it possible to put this code, I don't know, maybe inside single.php so I don't have to always put manually?

    Thank you!

  2. Pioneer Valley Web Design
    Member
    Posted 10 months ago #

    //http://www.facebook.com/sharer.php?&u=http://zkbtz.tk/10l2HO6 is the link behing your text - please explain...

  3. leonardogsouza
    Member
    Posted 10 months ago #

    sorry, didn't see that it was missing something.

    it is "http://www.facebook.com/sharer.php?&u=http://zkbtz.tk/10l2HO6" target="_blank" etc

Reply

You must log in to post.

About this Topic