![]() |
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. |
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> Example page from a site I am currently rebuilding: http://www.ytunc.com/2011/01/28/fuck-and-a-facial/ |
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 |
Thanks guys
|
I'll write it for a few bucks for you :)
|
Quote:
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