• Heya,
    So I’ve written a plugin that displays an alert box on page load. But I need it to only display on the first visit when the wp_head hook pull the code. I can’t figure out why this doesn’t work (look at the last two functions in this code) and I could really use some help, thanks!

    [Code moderated as per the Forum Rules. Please use the pastebin]

  • The topic ‘Display on first visit, need help…’ is closed to new replies.