Support » Fixing WordPress » Setting PHP cookies to not display content

  • ziyadb


    Hi everyone!

    I have set up a site at as you can see, there is a large text widget saying “Want lessons on other topics? Let us know!” I want to configure it as to when it is clicked once, it won’t show up again for that visitor.

    So far I learned that to do that, php must set a cookie at the page which the widget links to. Then every other page will check if that cookie is set, if it is, they will not display that widget again. If it’s not, they will.

    Unfortunately I am not familiar with php whatsoever, so your assistance would be greatly appreciated!

    Thank you!
    Ziyad B.

  • The topic ‘Setting PHP cookies to not display content’ is closed to new replies.