Post signatures

I am very tempted by the Post Signatures add-on.

This would allow me, among other things, to mention my Mastodon account at the end of each post, so I will be directly notified on Mastodon of any replies from readers. This would be a first step to interact with my readers. At least until is available :slight_smile:

I still have a question before giving in to the temptation: if I activate the add-on now, will it impact my already published posts? Or will the signature only be added at the end of new posts, those published after the add-on has been activated?

The signature will be added to already published posts as well as newer posts. Hope that clarifies things!

1 Like

Great! Thank you for responding so quickly! It’s very clear and it’s exactly what I was hoping for! Let’s go and buy this nice add-on :slight_smile:

Can we get this option implemented? Or at least a shortcode that I can add to my pinned pages so the post signature won’t show up.

1 Like

I am with @dino though on removing them from pinned posts entirely. Totally open to use cases where people want the signatures.

Maybe one way to give people options is to give Post signatures their own div when added to posts, something like:

<div id="signature"><p>This is my signature</p></div>

That way you can target it for custom JavaScript. I know it’d be yet another JavaScript hack but it’d be an easy workaround to allow flexibility.

1 Like

This works for me too. Part of the reason I cannot remove the signature from my pinned pages is because I cannot target it with Javascript. I believe it renders as just a <p> element. And because of that, I’ve stopped using it.


Do you still plan to make this part of pro?

Just to say, I’m in favour of not displaying signatures on pinned post at all. We all used pinned post to create a dedicated page like “contact”, “about”, etc. where signatures do not have much sense.

And even if it would, then nothing would prevent to add it manually at the bottom, like it was before. Is it that hard to remove signatures from pinned post ?

Otherwise, I’ll just stop using it as @dino. But seems a little bit unfair to have paid for this feature (which I did it mostly to support which I found really cool, both the environment and community), and ending not using it…

Thank you in advance :slight_smile:

I managed to figure out how to target it, so I have a workaround to this. I was going to write a post about it, but haven’t gotten to it yet. But yes, I would still like the option to just not have it show up on pinned pages.

Anyway, here is my workaround.

First of all, this is my post signature:

<div id="post-signature">
<div class="alert-info">
Find me on Mastodon ( or (<a href="" target="_blank">@Dino</a>)

Note the post-signature id on the div.

This is the custom JavaScript I wrote to hide it.

/* Remove Post Signatures on Pinned Pages */
var y = document.getElementById("post-signature");
if (y && isArchivePage || isSearchPage || isCommentsPage || isSeriesAndTagsPage || isAboutPage) {
    y.setAttribute("id", "post-signature-hidden");

/* Remove Post Signatures on Home Page posts */
if (!document.getElementById("post-body")) {
    var sigs = document.querySelectorAll("#post-signature");
    var i;
    for (i = 0; i < sigs.length; i++) {
      sigs[i].setAttribute("id", "post-signature-homepage-hidden");

And finally, these are the custom CSS settings to hide it on the homepage and pinned pages:

#post-signature-hidden {
    max-height: 0;
    margin-top: -3em;
    visibility: hidden;
#post-signature-homepage-hidden {
    max-height: 0;
    margin-top: -2em;
    visibility: hidden;

Taken all together, the custom JavaScript finds the post-signature div, then changes its class attribute to one where I can hide it via CSS.

1 Like

Wow, you’re just making too much for my blog these last days ! Thank you for this hack, which I’ll try right away :+1:

1 Like

Thanks for the discussion, everyone. With this, I agree it makes sense to just hide the post signature on all pinned posts. So I think that’s what we’ll do. Will keep you updated on when that’s live!


I wouldn’t completely rule it out for some time in the future, but as of today, we don’t have any solid plans to do that.

We’ve just made a few updates to Post Signatures!

  • Signatures are automatically excluded from pinned posts
  • You can manually exclude the signature in a post by including this special code anywhere in your post: <!--nosig-->

Also, Post Signatures are now included in our Team plan at no additional cost (along with eBook Exports).

These changes are all live on, and you’ll find them in our next WriteFreely release (see PR #437).