Is there a wordpress plugin that does this?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nexcom28
    So Fucking Banned
    • Jan 2005
    • 3716

    #1

    Is there a wordpress plugin that does this?

    So you have written a post and you want people to link back to it. Is there a plugin that will create something to the below on each post?

    Code:
    Like this Post? Embed it on your site.
    <a href="http://www.site.com/site/post-name">Some Shit</a>
    Make sense?
  • tfs
    Confirmed User
    • Dec 2005
    • 624

    #2
    Someone is going to post a more coherent example, but I do this all the time. I usually use an input box so its a simple Cut & Paste affair - and people are familiar with text boxes from Youtube, etc.

    Add this code (modify it for your site) to your single.php or child theme:

    Code:
    <p><strong>Share This Post:</strong> <input type="text" name="linking" style="width: 474px; margin-left: 2px; padding-left: 4px; background-color:#fff; border: 1px solid #c0c0c0;" readonly value="<?php echo the_permalink() ?>"></p>
    That will put a text box on your page that your visitors can copy just like on Youtube.

    Example page from a site I am currently rebuilding: http://www.ytunc.com/2011/01/28/fuck-and-a-facial/

    Comment

    • fris
      Too lazy to set a custom title
      • Aug 2002
      • 55679

      #3
      the way tfs says, or another method via shortcode, or running a filter on the_content.

      i did this recently for someone who wanted to share videos and images, but didnt want to edit the actual template code or post content, ran a filter on the content and added it after the images or videos
      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

      Comment

      • nexcom28
        So Fucking Banned
        • Jan 2005
        • 3716

        #4
        Thanks guys

        Comment

        • just a punk
          So fuckin' bored
          • Jun 2003
          • 32393

          #5
          I'll write it for a few bucks for you
          Obey the Cowgod

          Comment

          • tfs
            Confirmed User
            • Dec 2005
            • 624

            #6
            Originally posted by CyberSEO
            I'll write it for a few bucks for you
            Its already listed for free. C'mon, man! Really I already wrote it for free.

            Like FRIS said ( and I thought - hoped!!! - that he would share a better example) - it works fine. It just needs formatting.

            I usually make child themes. Maybe take Fris' advice if you don't
            Last edited by tfs; 02-22-2013, 02:34 PM.

            Comment

            Working...