Skip to content

Instantly share code, notes, and snippets.

@tubiz tubiz/gist:3778073
Created Sep 24, 2012

Embed
What would you like to do?
$paged = get_query_var ('paged');
$args = array( 'post_type' => array('post'),'paged' => $paged, 'caller_get_posts' => 1, 'post__not_in' => get_option('sticky_posts') );
$loop = new WP_Query( $args );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.