| 开发者 |
bonkerz
richardkmiller |
|---|---|
| 更新时间 | 2026年3月3日 23:35 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<?php wwsgd_the_message(); ?> template tag.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.
Yes — if the cookie is deleted the visitor will simply be treated as new again.
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.
Yes. Leave the Message to New Visitors field blank. New visitors will see nothing; return visitors will see your return-visitor message.
By default, yes. You can restrict it to posts only via the Show Message on Pages? setting.