Support » Themes and Templates » storing a user choice

  • Hi,

    I’m building a theme for a client of mine and one of the features is that a visitor can switch from a grid view to a list view for the blogposts.
    Now I want to store that choice in a cookie so that when a visitor views a blog post and returns to the homepage their choice of view is remained.

    How would I go about doing that in WordPress?
    Hope somebody can help me with that.


  • The topic ‘storing a user choice’ is closed to new replies.