Skip navigation

Adding Post to Spurl Button on Your WordPress Posts

Leslie Russell writes about how to add a Spurl Button to your WordPress posts to help visitors tag your post to .

Bascially, the technique involves using the following – replacing the capital letters with the proper text – and wrapping the link around an Add to Spurl button:

<a href=" TITLE &url=http://YOUR.BLOG.COM &blocked=YOUR DESCRIPTION">

For this blog it would look like this:

<a href=" on WordPress&url= &blocked=WordPress tips, advice, techniques, and news">

The problem with this is that it Spurls the entire blog and not the specific post. And unfortunately, with blogs, that’s the best you can do unless you hand code the specifics with every post, or create a bookmarklet that helps you to do this by hand (neat idea, though. Anyone?).

With full version WordPress blogs you can put the link in your template files with template tags that will automatically include your post title and link, so when the post is Spurled, the post is Spurled and not just the whole site.

<a href="<?php the_title(); ?>&url=<?php echo get_permalink() ?>">

This version is different as it doesn’t include the description. WordPress doesn’t offer descriptions of specific posts, though the description for your entire blog might work, but only if the link is within the WordPress Loop. That means the link must be within the post area, like below the title or just after the content, and not in the sidebar or footer.

<a href="<?php the_title(); ?>&url=<?php echo get_permalink() ?>&blocked=<?php the_description(); ?>">

Site Search Tags: , , , ,


  1. Posted November 23, 2005 at 11:07 am | Permalink

    awesome, this is is exactly what i was looking for, thanks.

  2. Bette
    Posted September 26, 2012 at 11:39 pm | Permalink

    Hmm it seems like your site ate my first
    comment (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your
    blog. I as well am an aspiring blog writer but I’m still new to the whole thing. Do you have any suggestions for beginner blog writers? I’d really appreciate it.

    • Posted September 27, 2012 at 9:30 am | Permalink

      Sorry if something happened with the comment. I find no record of any other comments by you. That’s very rare with WordPress sites, especially

      Thank you. I have many suggestions for beginner bloggers on this site. Search for beginner, new blogger, blogging tips, or by specific topic. I also have a site dedicated specifically to new bloggers at Blog Your Passion.


5 Trackbacks/Pingbacks

  1. […] Adding Post to Spurl Button on Your WordPress Posts […]

  2. […] Adding Post to Spurl Button on Your WordPress Posts […]

  3. […] Adding Post to Spurl Button on Your WordPress Posts […]

  4. […] Adding Post to Spurl Button on Your WordPress Posts […]

  5. […] Adding Post to Spurl Button on Your WordPress Posts […]

Post a Comment

Required fields are marked *

%d bloggers like this: