Seth Godin advocates using cookies to distinguish between new and returning visitors to your site:
“One opportunity that’s underused is the idea of using cookies to treat returning visitors differently than newbies. It’s more work at first, but it can offer two experiences to two different sorts of people.” (Source: In the Middle, Starting)
I built this WordPress plugin to implement Seth Godin’s idea. It reduces the “work at first” to almost nothing.
By default, new visitors to your blog will see a small box above each post containing the words “If you’re new here, you may want to subscribe to my RSS feed. Thanks for visiting!” After 5 visits the message disappears. You can customize this message, its lifespan, and its location. The message can be excluded from certain pages if desired.
New visitors will appreciate some context and background information about your site. This is your chance to offer them a special welcome and invite them to become permanent subscribers. You can also specify a message for return visitors.
I can be reached at wwsgd AT richardkmiller DOT com. I appreciate comments and suggestions.
Installation is easy:
- Download the WWSGD WordPress plugin and unzip it.
- Copy the
what-would-seth-godin-dofolder to your WordPress plugins folder (
- Activate the plugin on the Plugins page.
- Customize settings in the Settings panel, WWSGD subpanel.
Subversion (SVN) users can check out the plugin directly from the WordPress.org repository:
Can I position the welcome message before the title or elsewhere on the page?
You can position the welcome message in any specific location by using the template tag
<?php wwsgd_the_message(); ?>in your theme.
Does this plugin work with WP Super Cache and other caching plugins?
Yes, as of version 2.0, WWSGD works with WP Super Cache and other caching plugins.
Will my welcome message be indexed by Google and other search engines?
No, as of version 2.0, your WWSGD message will not visible to search engine crawlers and will not be indexed.
Contributors & Developers
“What Would Seth Godin Do” is open source software. The following people have contributed to this plugin.Мүчөлөрү
- Excluded IDs can be separated by commas or spaces
- Updated links
- Bug fix: Make WWSGD compatible with SSL by using plugins_url() instead of WP_PLUGIN_URL
- Bug fix: The welcome message was not being displayed on individual posts and page when certain plugins were installed (e.g. WordPress SEO by Yoast) that use
the_excerptinternally. (Thanks to Rob Woodgate.)
- Tested with WordPress 3.6
- Updated informational links in Admin panel
- Updated copyright year
- Added License tag (GPLv2)
- Fixed problem with jQuery not being loaded
- WWSGD only sets one cookie now, not a separate cookie for each post or page. (Fixed regression.)
- Moved JS from header to footer. Fixed loading of JS file from non-standard WP paths. (Thanks to Kenn Wilson and gwk0.)
- Tested with WordPress 3.2
- Fixed bug: I forgot to set an expiration on the cookie.
- Cookie logic now occurs in the browser (using jQuery) instead of on the server to prevent welcome message from being displayed to search engines. (Thanks to Chris Abraham for sending a patch.)
- User can now exclude specific posts or pages from displaying the welcome message.
- Cleaned up Settings panel to match WordPress UI.
- Added better feedback links.
- Don’t show message on excerpts
- Tested with WordPress 3.1.3
- Tested with WordPress 3.1
- Tested with WordPress 3.0
- Added template tag which can be used in themes for positioning the message in any location.
- Added option to exclude welcome message from Pages. Default is to show on both Posts and Pages.
- No “welcome back” message by default.
- Added “welcome back” message for return visitors.
- Welcome message is shown only once on pages with multiple posts.
- Added nonces for improved security.
- Improved security against XSS attacks.
- Initial release.