Skip to main content.

Save a Greyhound (A Plugin for WordPress)

Save a Greyhound is a simple WordPress plugin that will allow you to insert into any post information about rescuing retired racing greyhounds.

The cool thing is that it can be easily changed so that the text and links go anywhere or say anything, which might make this useful for anyone who occasionally wants some message at the end of certain posts such as vote for so-and-so at the end of all political posts or something to that effect.

Installing Save a Greyhound:
  1. Download Save a Greyhound.zip
  2. Unzip the file and upload saveagrey.php to your wp-content/plugins folder
  3. Activate Save a Greyhound on your Plugin Management page
Using Save a Greyhound:

To use Save a Greyhound, simply type (without the spaces):

[ saveagrey ]

and this will be displayed in the post:

Want to make a fast friend by saving a greyhound in Central Texas? Check these pups out. Or go here to find a greyhound near you. You can also go here to find out why greyhounds are running for their lives.

If you have dogs who need proven leadership, go here to find a cat.

Changing and Editing Save a Greyhound:

If you want to point the links to another rescue organization (or even change the text entirely), simply edit the plugin.

To edit the displayed text, find the line that begins:

$save_grey_info = '

Delete the info after the single quote and insert any text and links you want (using HTML). Make sure to keep the

';

at the end so that all of your text is contained within the single quotes.

If you wish to change the tag that calls up the information, you can edit this line:

$save_grey_tag = '/(\[saveagrey\])/i';

by changing saveagrey to something else.

Have fun.

Questions or comments? Post them here.