This is my script placed above the </body>
. It shows every time a user visits a link on my blog. I want it to display only once a day not to annoy my visitors. I experimented for a couple of days but could not achieve my goal. If anyone can please help?
<div class='demo-float'>
<span class='df-hide'><i class='fas fa-times'/></span>
<div class='df-logo'/>
<h3>Social Media Masterplan</h3>
<p class='excerpt'>Easy to follow Social Media post ideas designed to grow your business and give you competitive advantage.</p>
<a class='button download colored-button' href='https://vandeweybalao.blogspot.com/2020/06/social-media-content-calendar-for-busy-entrepreneurs.html' target='_blank' title='Social Media Masterplan Toolkit'>DOWNLOAD TOOLKIT</a>
</div>
<script type='text/javascript'>
$(function(){$('.df-hide').on('click',function(){$('.demo-float').fadeOut(170);});});
</script>