Title: What Would Seth Godin Do
Author: James Hunt
Published: <strong>2008 年 11 月 5 日</strong>
Last modified: 2026 年 3 月 3 日

---

搜索插件

![](https://ps.w.org/what-would-seth-godin-do/assets/banner-772x250.png?rev=3473806)

![](https://ps.w.org/what-would-seth-godin-do/assets/icon.svg?rev=3473799)

# What Would Seth Godin Do

 作者：[James Hunt](https://profiles.wordpress.org/bonkerz/)

[下载](https://downloads.wordpress.org/plugin/what-would-seth-godin-do.2.2.0.zip)

[实时预览](https://cn.wordpress.org/plugins/what-would-seth-godin-do/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/what-would-seth-godin-do/#description)
 * [评价](https://cn.wordpress.org/plugins/what-would-seth-godin-do/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/what-would-seth-godin-do/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/what-would-seth-godin-do/#developers)

 [支持](https://wordpress.org/support/plugin/what-would-seth-godin-do/)

## 描述

**What Would Seth Godin Do** lets you greet first-time visitors with a tailored 
welcome message — like an invitation to subscribe to your RSS feed — and show a 
different (or no) message to people who have already been to your site before.

The plugin stores a small cookie that counts how many times a visitor has been to
your site. While the count is at or below the “# of Repetitions” threshold you configure,
the _new visitor_ message is shown. Once the visitor exceeds that threshold, the
_return visitor_ message appears instead.

Inspired by Seth Godin’s 2006 blog post: […in the middle, Starting](https://seths.blog/2006/08/in_the_middle_s/).

**Features:**

 * Separate, fully customisable messages for new and returning visitors.
 * Configurable repetition threshold — choose how many visits count as “new”.
 * Choose whether messages appear before or after post content, or only where you
   place the `<?php wwsgd_the_message(); ?>` template tag.
 * Option to show or hide messages on Pages (vs. Posts only).
 * Exclude specific post or page IDs from showing any message.
 * No external dependencies; lightweight vanilla JavaScript.

## 屏幕截图

 * [[
 * What Would Seth Godin Do – Settings Page.
 * [[
 * What Would Seth Godin Do – Frontend display of message.

## 安装

 1. Install directly through the WordPress **Plugins  Add New** screen, or download
    the zip and upload via **Plugins  Add New  Upload Plugin**.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Go to **Settings  WWSGD** to configure your messages and display options.

## 常见问题

### How does the plugin know if someone is a new or returning visitor?

It sets a cookie called `wwsgd_visits` that increments by 1 on each page load. Visitors
whose count is at or below your configured “# of Repetitions” see the new-visitor
message; everyone else sees the return-visitor message.

### Will this work if a visitor deletes their cookies?

Yes — if the cookie is deleted the visitor will simply be treated as new again.

### Can I use the message in a widget or template file instead of automatic insertion?

Yes. Set **Location of Message** to “Only where I use the template tag” and place`
<?php wwsgd_the_message(); ?>` wherever you want the messages to appear in your 
theme.

### Can I show a message to returning visitors only and nothing to new visitors?

Yes. Leave the **Message to New Visitors** field blank. New visitors will see nothing;
return visitors will see your return-visitor message.

### Does WWSGD work with pages as well as posts?

By default, yes. You can restrict it to posts only via the **Show Message on Pages?**
setting.

## 评价

![](https://secure.gravatar.com/avatar/deb7679a2ffd0fc5dfd997bbc8bcaa2209c336ff31914af2af9d7475d07cd77b?
s=60&d=retro&r=g)

### 󠀁[Amazing plugin and support!](https://wordpress.org/support/topic/amazing-plugin-and-support-34/)󠁿

 [jess2716](https://profiles.wordpress.org/jess2716/) 2017 年 7 月 25 日

I’ve been using this plugin for years and LOVE being able to automate a call to 
action on every post. Recently when migrating to new hosting I ran into an issue
with the plugin, and Richard (the creator of the plugin) went above and beyond to
help me. Thank you!!!

![](https://secure.gravatar.com/avatar/66e365f758e7172149a0e0f7cbe68f812584fa0d9317ff277284b2be6db9fa4b?
s=60&d=retro&r=g)

### 󠀁[Best plugin ever](https://wordpress.org/support/topic/best-plugin-ever-159/)󠁿

 [cuttypowers](https://profiles.wordpress.org/cuttypowers/) 2017 年 1 月 24 日 1
回复

Get this plugin now to grow your business.

![](https://secure.gravatar.com/avatar/a543ec72344157673aa2d8b3f35deab888bc4627c412cac19ab2f7b0aa7db178?
s=60&d=retro&r=g)

### 󠀁[There was little problem, but it’s fine for now](https://wordpress.org/support/topic/watch-out-its-malware/)󠁿

 [djcargo](https://profiles.wordpress.org/djcargo/) 2016 年 12 月 17 日 10 回复

Do what should do 🙂

![](https://secure.gravatar.com/avatar/e75ea6b2eebbe9b4b333c29252f65d9735df9c47ce307dd65a519dc9b97be5db?
s=60&d=retro&r=g)

### 󠀁[just beautiful](https://wordpress.org/support/topic/just-beautiful-3/)󠁿

 [vespamoto39](https://profiles.wordpress.org/vespamoto39/) 2016 年 9 月 3 日

Does exactly what it says!! Look how it works in my blog

![](https://secure.gravatar.com/avatar/f01f7251292e81367fadc5268878d76d09665f0d4b90ed24375adbee3f3f24bf?
s=60&d=retro&r=g)

### 󠀁[does the job](https://wordpress.org/support/topic/does-the-job-210/)󠁿

 [wzshop](https://profiles.wordpress.org/wzshop/) 2016 年 9 月 3 日

Seems to working like a charm;)

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/what-would-seth-godin-do/reviews/)

## 贡献者及开发者

「What Would Seth Godin Do」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ James Hunt ](https://profiles.wordpress.org/bonkerz/)
 *   [ Richard K Miller ](https://profiles.wordpress.org/richardkmiller/)

「What Would Seth Godin Do」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/what-would-seth-godin-do/contributors)
为本插件所做的贡献。

[帮助将「What Would Seth Godin Do」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/what-would-seth-godin-do)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/what-would-seth-godin-do/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/what-would-seth-godin-do/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/what-would-seth-godin-do/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/what-would-seth-godin-do/)。

## 更新日志

#### 2.2.0 (2026.03.03)

 * Remove adoption notices. New maintainer: James Hunt.
 * Refactored to modern class-based architecture with PSR-4 autoloading.
 * Added escaping and nonce verification throughout.
 * Extracted inline JavaScript to a separately enqueued asset file.
 * Adding language POT file.
 * Updated minimum WordPress requirement to 6.0.
 * Tested with PHP 8.4.

#### 2.1.8

 * Add adoption notices to admin.

#### 2.1.7

 * Reducing tags to 4.

#### 2.1.6

 * Add contact info for plugin adoption

#### 2.1.5

 * Make plugin available for adoption.

#### 2.1.4

 * Update copyright to 2026
 * Tested with WordPress 6.9

#### 2.1.3

 * Fix issue where WordPress’s magic slashes were not being unslashed.

#### 2.1.1

 * Fixing a vulnerability, as reported by Patchstack
 * Tested with WordPress 6.0

#### 2.1.0

 * Updated for WordPress 4.6+.

#### 2.0.3

 * Improved sanitisation of excluded post/page IDs.

#### 2.0.2

 * Fixed cookie path detection for WordPress installations in a subdirectory.

#### 2.0.1

 * Minor code clean-up.

#### 2.0.0

 * Rewrote cookie logic in vanilla JavaScript (removed jQuery dependency).
 * Added return-visitor message and repetition threshold.
 * Added option to exclude specific posts and pages.

#### 1.0.0

 * Initial release by Richard K Miller.

## 额外信息

 *  版本 **2.2.0**
 *  最后更新：**2 月前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/what-would-seth-godin-do/) 和 [Swedish](https://sv.wordpress.org/plugins/what-would-seth-godin-do/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/what-would-seth-godin-do)
 * 标签
 * [marketing](https://cn.wordpress.org/plugins/tags/marketing/)[personalization](https://cn.wordpress.org/plugins/tags/personalization/)
   [visitors](https://cn.wordpress.org/plugins/tags/visitors/)[welcome](https://cn.wordpress.org/plugins/tags/welcome/)
   [welcome message](https://cn.wordpress.org/plugins/tags/welcome-message/)
 *  [高级视图](https://cn.wordpress.org/plugins/what-would-seth-godin-do/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  9 条 5 星评价     ](https://wordpress.org/support/plugin/what-would-seth-godin-do/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/what-would-seth-godin-do/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/what-would-seth-godin-do/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/what-would-seth-godin-do/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/what-would-seth-godin-do/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/what-would-seth-godin-do/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/what-would-seth-godin-do/reviews/)

## 贡献者

 *   [ James Hunt ](https://profiles.wordpress.org/bonkerz/)
 *   [ Richard K Miller ](https://profiles.wordpress.org/richardkmiller/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/what-would-seth-godin-do/)