Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.3   Updated Saturday, September 22nd, 2007 at 7:19pm

Add Signature Plugin for WordPress

This plugin lets you display a custom signature at the bottom of your posts. Simply type the text you want in the options page and configure it to display on every post, or manually display it by adding the trigger text wherever you like. You can also add in author information using the included variables - login name, first name, last name, nickname, email address, website, and description/bio. It get this information from the author’s account settings. It currently supports up to three different signature templates.

Download

Instructions

  • Download the above file, rename it from .txt to .php, and upload it to your plugins directory.
  • Enable the plugin.
  • Configure the plugin options (under DDAddSig).
  • Test it out by viewing a post.

Change Log

  • 09-22-07 Version 1.3 - Added two extra signature fields. Added ‘Load Default Options’ button. Added option to display signature on search pages.
  • 11-27-06 Version 1.2 - Added option to show the signature on date/category archive pages.
  • 07-26-06 Version 1.1 - You can now choose to show the signature on the index, posts, and/or pages.
  • 07-23-06 Version 1.0 - First release.

Signatures

You can use HTML and CSS in your signatures. The following variables can also be used to display author information (they are case-sensitive):

  • %LOGIN% - Login name
  • %FIRST% - First name
  • %LAST% - Last name
  • %NICK% - Nickname
  • %EMAIL% - Email address
  • %URL% - Website
  • %DESC% - Description/Bio

Standard Usage

To show the signature on a post or page, simply type in the proper trigger text.

Primary signature:
<!-- ddsig -->

Signature 2:
<!-- ddsig2 -->

Signature 3:
<!-- ddsig3 -->

Note: Be sure you enter the trigger text using the ‘Code View’ in WordPress - not the new visual text editor.

Automatic Usage

If you prefer, you can have the plugin automatically display the signature on the pages you specify with the options below. Note: These options only apply to the primary signature.

Display on index page
When enabled, this option will show the signature after each post on your index page.

Display on posts
When enabled, this option will show the signature on each single post page.

Display on static pages
When enabled, this option will show the signature on each static page.

Display on archive pages
When enabled, this option will show the signature on each archive page. This includes both date and category archives.

Display on search pages
When enabled, this option will show the signature on each search results page.

Other Uses

What if you want to show an image of the author at the bottom of the posts? Standard WordPress profiles do not include an option for an author image, but it is easy to do with this plugin.

Just add something like this to your signature field:

<img src="/authors/%NICK%.jpg" />

Then all you have to do is create an ‘authors’ directory on your server, containing an image for each author (with their nickname for the filename).

Pages: « 9 8 7 6 5 [4] 3 2 1 » Show All

  1. [...] Add Signature,自动在每篇文章后添加预先设置的签名,有逛论坛习惯的朋友会有用。 上传激活。Options => DDAddSig中设置签名即可,如果有特殊需要可以直接使用<!– ddsig –>来调用。 [...]

  2. Hey, thanks for the download file. Grat work, guys. Jürgen :-)

  3. Great plugin. Makes it simple for members and visitors to get to know a little bit about the authors–and perhaps encourage authors to contribute more!

    Is there a way to automatically use a default image if the user hasn’t uploaded one?

    Right now I’m using Dan’s Avatar Thingy plugin to allow users to upload a picture in the profile. A default image is otherwised shown in comments. Currently, I am simply calling the avatar in at the end of the post under the signature. Would be nice if I could somehow do it as a part of the Add Signauture plugin (I tried but couldn’t get it to work)to have more control over where the picture falls in relationship to the signature.

    Thanks

  4. I don´t find the Plugin in my Plugin Overview in the Admin Section of Wordpress. Is this Plugin may be not compatible with the new version of wordpress?

  5. Jim: That is because there is no ‘author’ of the category pages - they are generated by WordPress. In order for this plugin to add the signature, it gets the author information from the current post/page being viewed. It will not work properly for generated pages such as category lists.

  6. Reference my previous post: What I should have said is that the %URL% on the category pages only, results in the proper text, but the link isn’t pulled nor live. All other page types are fine. Test site in website link above.

  7. 54
    Jim Kimmons

    Plugin showing up on all page types, as elected in setup. However, there is a link in the signature. For some reason, only on category pages, the link is dead.

  8. Donna: Absolutely.

  9. Does this work with multiple authors?

  10. [...]   Add Signature,自动在每篇文章后添加预先设置的签名,有逛论坛习惯的朋友会有用。   上传激活。Options => DDAddSig中设置签名即可。 Tags: post, signature [...]

  11. Cris: This plugin was not really designed to do that sort of thing. It could be done easily in your template files though with a little PHP. Contact me if you are interested in having this done.

  12. What if i want my sig to include my adsense code automatically?
    For example , I have 10 contributors to my blog and i’d like each one to automatically have their own adsense code appear in all their posts in their sigs…

    Possible?
    Thank you!

  13. Kris: I was not aware of any problems with this plugin in WordPress 2.1 - is it not working for you?

    (btw, the nofollow tag is added to URLs in comments - so it does not give you extra links ;) )

  14. I was looking for a wordpress signature plugin for one of my sites.
    At last I found one. Tx a lot.

  15. I love this plugin. But would like to have the updated version for wordpress2.1

Pages: « 9 8 7 6 5 [4] 3 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.


Be sure to wrap all code in <code></code> tags.