Pages Menu
Categories Menu

Posted by on Mar 16, 2008 in WordPress Hacks | 56 comments

Please Link 2 Me WordPress Plugin

Please Link 2 Me WordPress Plugin

Introducing my next WordPress plugin: Please Link 2 Me

I’ve personally wanted this for quite a while, and I’ve seen it on other blogs before, but when I looked for it, I just couldn’t find it.

So i created it myself… That’s the beauty of WordPress

What does this plugin do?

This plugin adds a little text box below each post on your WordPress blog containing the code required for somebody to just copy and paste it to their blog or website, and create a link back to your article.

This means the reader doesn’t have to know how to get the URL of the article, or even have to know how to make a link out of it.

An example?

Here is a screen shot of this plugin in action (just in case I’ve disabled it on this site for whatever reason, like testing something):

Please Link 2 Me Plugin in action

And, here’s a screenshot of the admin page (in WordPress 2.8.5). Click on it to see the full shot…

Please Link 2 Me Admin Page

Where can I get it and what do I do?

You can just go to the plugin repository to download this plugin. Here’s the link: “Please Link 2 Me Download

Then, just upload the zip file into your “plugins” directory, unzip it, and activate it…

Then all that’s left is to enter the settings in the plugin’s admin page.


To get notified of updates, just subscribe to the comments feed of this specific blog post. If there are other comments here as well and you decide to unsubscribe, then you’ll still be able to see the update requirements via your admin “Plugins” page…


  1. Great idea!
    Unfortunaly, the plug dosn’t display anything. I have no clue why (no alertes, nothing).

    WP2.5.1 + Hemingway international theme.

  2. Hi logicalnot. Did you place the required code in your template? Here’s the code you need to place where you want the box to display:

    <?php if(function_exists(‘pl2mAddLinkBox’)) {pl2mAddLinkBox();} ?>

    For more info on how to install it, you can take a look at the instructions in the readme.txt file, or on this page:

    Please Link 2 Me Installation

  3. Hi,

    just a note to anybody subscribed to this page: I’ve updated the plugin. It now looks a little friendlier and doesn’t require you to edit your theme…

  4. Hi,
    Awesome plugin though it wasn’t able to find ‘the_title();’ so I had to specify the first line of $theHTMLCode manually ๐Ÿ™‚


  5. hmmm… that is strange. I have an idea of what went wrong, so I’ll work on fixing it.

    Good thing my “New version of this plugin” functionality isn’t working ๐Ÿ˜›

  6. Ok, just in case you want the latest version, I did upload a new one that SHOULD fix this. If it doesn’t, please let me know…

  7. The Please link 2 Me box is too big extending into the second column of my 2 column layout. Can someone help me fix it?



  8. Hmmm… I guess I’ve made it too wide. I will have to see about adding the ability to change the text area’s width and height via settings.

    But, in the meantime, if you open up the “pleaselink2me.php” file and scan for cols=”60″, (around line 260) you can change the number to something like 40…

  9. Hi james!

    it’s possible to choose where to put the link2me box?

    I have a multilanguage blog… how do I use the “” to translate the description text function?



  10. Hi Morgan.

    Yes it is possible to choose where to put the box, but only if you edit your theme. If you take a look at the plugin options page, there’s an option to “Show below the post?:”. Leave this blank, and then manually place the appropriate code (just above the “More Info” title on the options page) anywhere you like in the theme.

    Let me know how it goes.

    Regarding translations, currently the plugin doesn’t have the ability to have more than one language at a time (though I’m not sure what the โ€œโ€ in your post comment is).

  11. hi james…

    wich code should i usu to show the link2me box where i want? this one:

    i wrote the code I use to translate… i use the qtranslate and the code is:

    if I change the plugin php file in the descriptio-text function will it work? how do I do this?

  12. hi jamesโ€ฆ

    wich code should i usu to show the link2me box where i want? this one:[code][/code]

    i wrote the code I use to translateโ€ฆ i use the qtranslate and the code is:[code][/code]

    if I change the plugin php file in the descriptio-text function will it work? how do I do this?


  13. how do i write the code here?

  14. Hi. I don’t think you can write code in here as WP is cleaning it out.

    Rather send me a mail directly to james at geniosity dot co dot za

    and I will try take a look at what you’re talking about.


  15. Excellent plugin, works perfectly with a little amend to the text area width as stated on the post by Shasta McLaughlin.

  16. Thanks for the compliment Baz. I definitely have to get cracking on updating my code to make it easier for people to use…

  17. Hey… This is a great plugin. Although, installing on WP 2.6 I am not able to get the settings to save. Settings page always comes back blank.

  18. Hmmm… I’ll have to take a look at that. If you still have it installed, expect an update very soon ๐Ÿ™‚

  19. I’ve been able to install this, and activate it, and get it to come up in post…..but much of my content is located in pages(90% of my content).Is there a way to get this plugin to work on pages as well.Great plugin by the way!!!

  20. Thanks for the compliment.

    For now, I’m afraid you’ll have to manually edit the plugin and your theme. In your theme, hopefully you’ve got a template specific to pages, then you can just add the following where you want the box to appear:

    <?php if(function_exists(‘pl2mAddLinkBox’)) {pl2mAddLinkBox();} ?>

    If you don’t have a template specific to pages, you’ll need to ensure you “uncheck” the option in the plugin options page that will automatically display the box on posts. Otherwise you’ll end up having 2 of these boxes on your posts.

    Now, on line 231 of the pleaselink2me.php file (in the wp-content/plugins/please-link-2-me/ folder), change this:

    if (is_single()) {

    To this:

    if (is_single() || is_page()) {

    I’ll try update my plugin as soon as I can to put the option on the options page… Let me know how it goes, and thanks for using it.

  21. I’ve just updated this plugin (yes, FINALLY)!

    Hopefully your WordPress plugins admin page will start to notify you asap so you can download it.

    Let me know if there are any issues with this and if it now has everything you need…

  22. Neat concept.

    OK: I’d like the “link to us” text to be larger. I can get a <strong> code to work. But anything that calls another size, such as is deleted when I save the setting.

    Am I missing something?


  23. One more thing: In my setup, it won’t work when a full post is on the home page in our second linked blog, at You have to click on the title of the article to bring up the page where the link box shows.


  24. Any chance you can resize the text using CSS modifications? Take a look at the Admin page for more details (under styling). That should be a “quick fix” for now.

    Regarding putting this on your front page, that wouldn’t work so well. It would mean putting the link box under every article. So, it might be fine for you if you only have 1 article on your home page, but if you have more, you’d see this under every article, and it “could get ugly”.

    Is that what you’re actually looking for? (Not the ugly part, the “putting the box under every post on every page of your site” part). Do you have any ideas?

  25. Well, the main page of only contains the introduction to the stories, with links to the full post. That’s where the link box appears and it works fine. However, this would be something I’d like to control on a case by case basis.

    We have a related blog installation at There is consists of one announcement block and one traditional posting. We’d like to have the link box at the bottom of the post.

    As to CSS: My skills aren’t too good at that. Maybe some more guidance?


  26. Can you please make a widget out of this so I can simply put it into the sidebar?

  27. That’s not a bad idea.

    It would give me something new to learn though.

    Now,,,, where did my time for learning go……? I just need a little… ๐Ÿ™‚

  28. When I enable the plugin and select “Show below the post?” in the options it appears just fine, but when I uncheck that and simply place the following code in my single.php file, it doesn’t appear. Any ideas? Thanks!

  29. I see where the issue is. I’m trying to fix it now… Thanks for pointing it out.

  30. Ok, I’ve just released a new version of the plugin.

    Just make a note of the fact that I changed the code you need to put in your template to make this work.

    Let me know if you have any issues.

  31. It still doesn’t appear to be working. Is the correct code listed under the “Usage” section of the plugin after upgrading?

  32. Also, one suggestion that I think would be awesome would be to add the following code to make the text area field read only and on click automatically highlight and copy the code in the box. I’ve changed the code slightly (example at the link below), but unfortunately it copies over the changes on upgrade so an option within the plugin for this would be helpful.

    readonly=”readonly” onclick=”this.focus();;

    White House Emails

  33. The template tag definitely works for me. Make sure you’re putting it in the right template (i.e. “single.php if you have one).

    I’ve also added your 2 suggestions. I quite like them.

  34. I can get the text box to show on the page and in preview on the blog post but it wont show up on the blog

  35. That is REALLY strange. Maybe send me a screenshot of your settings screen, and a screenshot of your “Preview” where it works.

    I’d really like to take a look at that.

    (You should be able to reply to the email you get notifying you of new comments, otherwise let me know via the contact form, and I will mail you directly)

  36. I got it to work on the individual page and post.. I would like to see how it appears on the home page… I know a previous person asked that as well. You mentioned it may look messy but would like to give it a try if you can tell me how. Thanks for the quick response!!

  37. I’m still not seeing the answer. So how do we change the size of the “link to us” label. As I wrote long ago, the standard styling isn’t working.


  38. In response to Tanya, you should be able to edit your template and just put the Template Tag (see the bottom of the settings page for more info how) and it should work for wherever you need it (and wherever you put it).

    In response to Gene, you can manage the style of the various parts of the box and labels. For example, for the “link to us” label you can just change the style of the CSS ID “please_link_to_me_title” in your theme’s stylesheet. (You’ll obviously need to add it as it isn’t there by default).

  39. My css is rather lame.

    Suggest something to cut and paste, using, say, h3 head size. I do that well. ๐Ÿ™‚


  40. Thought I posted this.

    My css is pathetic.

    Suggest a way to change the title to use the h3 size/style tag. ๐Ÿ™‚

    I copy/paste well.


  41. Sorry for the duplicate post. It didn’t seem to post the first time.

    Anyway I tried this one in our theme’s CSS file:

    please_link_to_me_title {
    font-size: 1.4em;
    font-weight: bold;

    Didn’t work. What did I miss?

  42. Almost there, try adding a hash/pound behind the please_link_to_me_title so it looks like:

    #please_link_to_me_title {
    font-size: 1.4em;
    font-weight: bold;

  43. Yes, now we’re talking. Of course, if only you could do this in the WP Dashboard directly. ๐Ÿ™‚


  44. That would be a nice feature, but will take a little time to add, considering how basic or how advanced I’d need to make it.

    Would it be a case of having a place there to add CSS code?

    Or would it be a case of adding a field for size, color, style, etc…

  45. Hello…if u take a look at my site, on the left side, scroll down and u will see “Grab my button” with an image under it. I want to ad this “link to me” thing under it. I have NO clue what I am doing. I’ve been told to paste stuff into my template etc, but no one seems to know exactly where I am saposed to paste it…I am using “wasteland” template on if that helps…My Site:

    Please Please can I have detailed instructions for someone who knows nothing about html/css etc?????

    I’d so appreciate it.

    Thank You,

  46. Hi Amber

    I’m afraid this plugin wouldn’t really be good for you because it creates a link to an actual post/article, as opposed to a link to your entire website.

    Your best bet would be to check out the source code for adding a “text area” under there as you want, and putting the desired link code in there for people to use.

    Good luck.

  47. Hello,
    I have a one question. Right now plugin wonโ€™t work in a full posts shown on home page. Is working only when you click title of the post and jump to the post page.
    Is there any chance to make link box visible in each post on front page?



  48. I’ll have to look at this. I reckon the whole plugin needs a little re-write. I’ve been a little TOO slack with this. My apologies.

  49. It would be great if you add second textbox with bb code for forums! Hope it will be done before next version release.

  50. wait… how to tune the plugin? Readme says “Go to the “Please Link 2 Me” plugin options page”. Where is options page?

  51. Hi Elijah

    Do you not see the menu option under the “Settings” menu?

  52. I just activated the plugin through the ‘Plugins’ menu in WordPress, but I don’t even know how to find “Please Link 2 Me” plugin options page. Where is it?

  53. It works! Hallelujah! But it really needs a bb-code textbox for more effective link-building.

  54. I just made a little upgrade of your plugin. It seems it works well. Now people can easily link from forums too. Could I add my contact information to admin menu as an assistant?

  55. Sure thing ๐Ÿ™‚


  1. Customizing This Wordpress Blog | - [...] Please Link 2 Me - this will let readers to easily create link backs to my articles via their…
  2. Mijn Wordpress plugins (bijgewerkt) | WeGoPro - [...] Please link 2 Me Stem of voeg toe aan :  …
  3. A Random Walk Through Wordpress Plugins | Stephan Miller - [...] plugin presents a context sensitive tag cloud. Please Link to Me This plugin gives your visitors the…
  4. geniosity » Please Link 2 Me Plugin updated to version 1.5 - [...] can read more about it the plugin here: Please Link 2 Me WordPress Plugin Please link to this articleIf…

Post a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This