Create unique content in WordPress (without plugin)

0

I'm having a bit of trouble reasoning a decent logic for a wodpress theme to present unique content.

The idea is this: I need to send an email, which will contain a parameter in the link that will enable the post view.

My solution so far: I made a gambs here for every time a post is saved marking the option of exclusive, this id goes to a table in the bd called exclusive posts.

Someone who has already had such difficulty, can you help me in the reasoning?

Thank you guys.

    
asked by anonymous 26.03.2018 / 21:23

1 answer

1

Thierry, his idea of handling the parameter on the single is correct. You can use the parameter to validate and when it is not valid, display an error or redirect to another page. :)

    
16.04.2018 / 20:05