Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active September 10, 2017 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save braddalton/e35ff39512a7aa524fa4960af2b26cb8 to your computer and use it in GitHub Desktop.
Save braddalton/e35ff39512a7aa524fa4960af2b26cb8 to your computer and use it in GitHub Desktop.
$query_args = apply_filters( 'featured_posts_args', array(
'post_type' => 'post',
'cat' => $instance['posts_cat'],
'showposts' => $instance['posts_num'],
'offset' => $instance['posts_offset'],
'orderby' => $instance['orderby'],
'order' => $instance['order'],
'ignore_sticky_posts' => $instance['exclude_sticky'],
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment