I would like to request some help about an addon I really need to add to my website:
I need when user have my special link for exmaple: “website.com/?secret=yes” or “website.com/post/?secret=yes” they will see my regular website but with the secret content to show my secret content I need to add if variable (secret=yes) then add to site few javascript scripts in head section and add DIV Container in body section. This content is sensitive to premium users so It’s must be impossible to find this with view source for regular users. And I use WordPress site if it helps 🙂
Your help makes my website much better so thank you!
On the WordPress templates you’d like to show the secret content you could do something like this:
Your users can access the secret content of the post/page that uses the template with this code in it by appending the query variable secret=yes.
http://your-website.com/the-greatest-post-ever/?secret=yes
I hope this helps. 🙂