[Resolved] Does GP not add logged in/out classes to ?

Home Forums Support [Resolved] Does GP not add logged in/out classes to ?

Home Forums Support Does GP not add logged in/out classes to ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1597212
    Arp

    I switched a client over to GP and noticed that hiding things with css based on logged in/out status stopped working. (and yes, I know it’s not ideal but until their membership plugin fixes its bugs, it’s a necessary evil). Is there a snippet to add the logged in/out class to the body?

    #1597397
    David
    Staff
    Customer Support

    Hi there,

    no GP doesn’t add those classes.
    This Gist provides the PHP Snippet to to that:

    https://gist.github.com/danielmcclure/31463eb8c72316b21154f45483ad6777

    #1597428
    Arp

    Much appreciated!

    #1597917
    David
    Staff
    Customer Support

    You’re welcome

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