I was visiting Pamela Fox’s personal website, and noticed she had a Wave This! button attached to her latest post. Interested in what it did, I clicked it and it opened a summary of that post in Wave ready to share with others! I can’t find mention of the feature anywhere, and I’m not sure if it’s permanent, but a specially formatted URL takes a title argument, a content argument and passes it to a special new wavethis function as shown:
https://wave.google.com/wave/wavethis?t=[insert title]&c=[insert content]
Using a bit of PHP in WordPress and a plugin called Samsarin PHP Widget (that allows php in a special widget) I created the Wave This! button over at the side. Feel free to use it!
The PHP I used was as follows:
<?php if ( is_single($post)) {
$excerpt = urlencode(get_the_excerpt());
$posttitle = urlencode(get_the_title());
?>
<a href="https://wave.google.com/wave/wavethis?t=<?php echo $posttitle ?>&c=%22<?php echo $excerpt; ?>%22"><img src="http://turbo.firstwaves.org/wavethis-button-dark.png" alt="Wave This!" /></a>
<?php } ?>
Simply install and activate the plug-in. Add the Samsarin widget to your sidebar and past the code in as you see it. It will only appear on post pages (not the front page).
I created a couple of button images you can feel free to use:
![]()
![]()
So that’s the new Wave This! button. Go ahead and give it a try. If you’re a developer I’d be interested in seeing other ways to implement this.
aves


