Trying to work with this Wordpress plugin - PageEar PagePeel - what I would like to do is set it so that it auto opens on a visitors first visit per day and then closes. I thought it would be something like this (not worrying about first visit - more concerned about it opening the peel):
The plugin puts the script tags in the head for the .js files.
But it's not opening the peel - perhaps I'm doing this totally wrong. Help out a n00b if you're willing and able. Thanks! Meanwhile, I'll be researching cookies and tracking visits.
Using it on my site for the No More Excuses Pt. 2.
Code:
<?php if (is_home()) {
?>
<script type="text/javascript">openPeel();</script>
<?php } ?>
But it's not opening the peel - perhaps I'm doing this totally wrong. Help out a n00b if you're willing and able. Thanks! Meanwhile, I'll be researching cookies and tracking visits.
Using it on my site for the No More Excuses Pt. 2.