Support » Fixing WordPress » [NextGen Gallery] user must login to see gallery

Viewing 1 replies (of 1 total)
  • I found something that worked. Hopefully this statment helps answer the many similar questions I have seen.

    <?php if ( $user_ID ) : ?>
    
    <!-- First Condition - If Logged In -->
    
    <?php else : ?>
    
    <!-- Second Condition - If NOT Logged In - which usually leads back to login page-->
    
    <?php endif; ?>

    ENJOY

Viewing 1 replies (of 1 total)
  • The topic ‘[NextGen Gallery] user must login to see gallery’ is closed to new replies.