Skip to main content
added 4 characters in body
Source Link
David Sword
  • 3.4k
  • 1
  • 14
  • 29

So if you're getting the sticky-post you want removed anyways

I want to do that coz I will make another query to render the latest sticky post on top of the main loop in a separate 'div'

Just takemake a variable of its ID, $excludeSticky, with it's ID, and add an 'post__not_in' => array($excludeSticky), argument in your query.

So if you're getting the sticky-post you want removed anyways

I want to do that coz I will make another query to render the latest sticky post on top of the main loop in a separate 'div'

Just take a variable of its ID, $excludeSticky, and add an 'post__not_in' => array($excludeSticky), argument in your query.

So if you're getting the sticky-post you want removed anyways

I want to do that coz I will make another query to render the latest sticky post on top of the main loop in a separate 'div'

Just make a variable, $excludeSticky, with it's ID, and add an 'post__not_in' => array($excludeSticky), argument in your query.

Source Link
David Sword
  • 3.4k
  • 1
  • 14
  • 29

So if you're getting the sticky-post you want removed anyways

I want to do that coz I will make another query to render the latest sticky post on top of the main loop in a separate 'div'

Just take a variable of its ID, $excludeSticky, and add an 'post__not_in' => array($excludeSticky), argument in your query.