Snippets

Dan Bochichio WordPress IF loggedin / loggedout

Created by Dan Bochichio
1
2
3
4
5
6
7
8
<?php if ( is_user_logged_in() ) { ?> 	
<!-- html here -->
<?php } ?> 


<?php if ( !is_user_logged_in() ) { ?> 	
<!-- html here -->
<?php } ?> 

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.