The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
<?php | |
/** | |
* @package Redirect to login if not logged in | |
* @version 1.5 | |
*/ | |
/* | |
Plugin Name: Redirect to login if not logged in | |
Plugin URI: http://wordpress.org/plugins/redirect-to-login-if-not-logged-in/ | |
Description: Redirects a user to the login page if the user is not logged in. After login the user gets redirected to the original entry page. | |
Author: Daan Kortenbach |
<?php | |
/** | |
* WordPress Query Comprehensive Reference. | |
* | |
* All credits go to luetkemj. Thanks! | |
* | |
* @author luetkemj <luetkemj@gmail.com> | |
* @author s3rgiosan <me@s3rgiosan.com> | |
* | |
* @see http://codex.wordpress.org/Class_Reference/WP_Query#Parameters |