Got something specific you'd like to learn? Click here to suggest a tutorial!

Learn PHP
Tag Archives | is user logged in
WordPress Plugin: Is User Logged In Shortcodes

WordPress Plugin: Is User Logged In Shortcodes

This is a simple plugin that creates two shortcodes: [ islogged ][ /islogged ] and [ notlogged ][ /notlogged ] that will display content for logged in or logged out users respectively. The shortcodes can be embedded into posts or pages. The logic is based off the is_user_logged_in() WordPress function, but simply creates the above [...]

Read full story ยท Comments { 3 }