Plugin Tips
How to Add a Mystery Link Easter Egg Button to WordPress
Adding surprise elements to your website is one way to keep your readers coming back for more. Adding Easter eggs and random links that change every once in a while to your site are just a couple of ways to do that. This code lets you do just that. It add a button to your website with a label and destination URL that changes every 24 hours for every single visitor. It helps your visitors discover something new.

When your visitors click on this link, they end up on a surprise landing page. It has a simple shortcode for displaying the link anywhere. You can further enhance this by tracking clicks using update_user_meta and awarding badges for users with a long streak. It is possible to tag these links to track them through Google Analytics. How would you improve something like this?












