A
A
Andrey Dimakov2021-06-29 07:58:44
PHP
Andrey Dimakov, 2021-06-29 07:58:44

How to add cookies to a specific page?

I looked at many sites for adding cookies, but I don’t quite understand how to make my own condition in WordPress.
And the condition is as follows:
If a person visits the site for the first time: he looks at the very first page (let's call it welcome) and an html form is shown below that the site uses cookies.
Otherwise, it is redirected to another page and does not show the html form in the future.
How can I do that?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question