GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is there a wordpress plugin that does this? (https://gfy.com/showthread.php?t=1100867)

nexcom28 02-22-2013 12:01 PM

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 02-22-2013 12:34 PM

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/

fris 02-22-2013 01:09 PM

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

nexcom28 02-22-2013 01:56 PM

Thanks guys

just a punk 02-22-2013 02:06 PM

I'll write it for a few bucks for you :)

tfs 02-22-2013 04:32 PM

Quote:

Originally Posted by CyberSEO (Post 19495648)
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


All times are GMT -7. The time now is 01:33 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc