WordPress.org

Ready to get started?Download WordPress

Profiles

psharp

Profile picture of psharp
  • Member Since: January 4th, 2013
  • Posted a reply to "Sticky Posts in WP_Query", on the site WordPress Support Forums:
    Here is an alternative method that I used on another site. The gist is to…

    2 years ago

  • Posted a reply to "Sticky Posts in WP_Query", on the site WordPress Support Forums:
    Greencode, your second query should be: $wp_query = new WP_Query( array( 'posts_per_page' => '10', 'ignore_sticky_posts'…

    2 years ago