4

For what purpose following parameter is used

caller_get_posts

  • 4
    It's deprecated, it's the same as the new ignore_sticky_posts parameter, which when set to true excludes sticky posts from your query. – Mark Duncan Feb 21 '12 at 12:55
  • @MarkDuncan it does not exclude sticky posts from query. It does show the posts but in their normal order and those are not on the top of other posts. – Aamer Shahzad Jan 8 '19 at 10:46
10

If caller_ get_ posts is set to true (or 1) then Sticky posts will be excluded from being returned first.

Its kind of a way to turn sticky posts off in a query.

| improve this answer | |
5

Notice:

caller_get_posts is deprecated since version 3.1!

Use ignore_sticky_posts instead.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.