Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #751333

    Hi,
    I would like to change some aspects of the theme-design (color for menu, background, text) if certain conditions are met. e.g.:
    > visitor is logged-in (give strong signal to members that they are in members-only area)
    > visitor from certain country (some countries prefer different color families)
    > category

    Can you think of a way or workaround on how I could achieve this with Enfold?

    Tx,
    Frank

    #753411

    Hi Frank,

    I’m sure it’s possible but you would have to use a combination of PHP and CSS to be able to achieve that. To determine if a user is logged in you can use this: https://developer.wordpress.org/reference/functions/is_user_logged_in/

    I’m not sure how to track what country a user is in, but I’m sure there are plugin out there to achieve that: https://wordpress.org/plugins/

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.