Skip to content

Instantly share code, notes, and snippets.

@rali14
Last active January 11, 2017 05:49
Show Gist options
  • Save rali14/5fd75db2428d4b221206 to your computer and use it in GitHub Desktop.
Save rali14/5fd75db2428d4b221206 to your computer and use it in GitHub Desktop.
Hide CTA for logged in users
@volodymyrpekh
Copy link

volodymyrpekh commented Jan 11, 2017

Hi @rali14

It looks like there is an error somewhere in line: 15-18. When I add this to my site this on a front-end:

/* Hide Call To Action For Logged In Users) */ if ( !is_user_logged_in() ) { }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment