WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This seems pretty straightforward using cookies in straight HTML. In wordpress, how do I do this? AFAIK, wordpress only provides cookies functions for logging/logged in users. How about when I don't want the user to log in to show my greetings?

share|improve this question
up vote 3 down vote accepted

if you are not looking at coding it yourself then WP Greet Box(http://wordpress.org/extend/plugins/wp-greet-box/) could be used to achieve this. This plugin automatically loads a greeting message based on the referrer and it even allows you to customize the greetings, set time out to auto close the greeting etc.

The only problem I see(from your question) is that this plugin greets all visitors not just new. If the visitor closes it, it won't be shown again.

First time visitors based on cookies aren't reliable anyway, clear the cache and you become first time visitor again!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.