• hiboy

    (@hiboy)


    Hi,

    my intention was this, i wanted to create a user called “Anonymous”. When new user visit my site, and they are not log in, they automatically logged in as this user called anonymous.

    Any solution on how do i achieve this?
    Thank you.

Viewing 1 replies (of 1 total)
  • gabrielcastillo

    (@gabrielcastillo)

    you could create a javascript/ajax call to login anony uses. You would need to set a cookie for each visitor as well.

    1.user visit’s site
    2.ajax call to login anon user
    3.cookie set for visitor so ajax call will stop
    4.expire cookie when user leaves site.

    That’s how I would do it. You would have to be pretty good with wp and javascript for this but shouldn’t be that difficult to create.

Viewing 1 replies (of 1 total)
  • The topic ‘not-logged in users to be logged in as a particular user’ is closed to new replies.