Not sure how to make this work. I am guessing I can store this as a cookie or something (I am completely unfamiliar with cookies or session tracking).
Basically, when someone visits a page, I want to load a certain DIV element (like a “Welcome to…”). But if they visit the page again later, I don’t want the div to load. Even better, if they visit the page, say a couple weeks later, make the DIV element load again.
Server is running PHP (WordPress).
Any help would be appreciated.
Cookies will do what you ask. You can even set an expiration date on a cookie, which will allow your Welcome message to come up again if the user hasn’t visited the site in a few weeks.
Here’s a quick tutorial on using cookies in PHP.