593 reputation
29
bio website
location Quebec City, Canada
age 23
visits member for 2 years, 8 months
seen Jun 3 at 17:55

Bored.


Feb
24
awarded  Popular Question
Nov
24
awarded  Yearling
Nov
24
awarded  Yearling
Oct
11
answered How to add orderby parameter for sorting on category.php
Oct
10
awarded  Benefactor
Oct
10
comment get_posts inside cron
You're right, I just found out about the fields parameter, didn't see it in the documentation. Thanks
Oct
10
comment get_posts inside cron
Well I am running a foreach on the posts in my code above if you scroll down. I'm using it because I need to fetch all posts of a specified taxonomy term.
Oct
10
comment get_posts inside cron
@TomJNowell Yeah that's because there is no WordPress loop, everything after the code I pasted is simply going over an xml file and inserting posts.
Oct
9
accepted get_posts inside cron
Oct
9
comment get_posts inside cron
Thanks a bunch, definately getting me on the right track. Increasing my limit hasn't worked, but fetching 500 at a time sure got more done than previously.
Oct
9
comment get_posts inside cron
@Otto I have 13 taxonomy terms, each holding about 1000 to 2000 posts.
Oct
9
comment get_posts inside cron
@TomJNowell I've added part of my loop, it's quite long so I added the problematic part. I'll try it out with WP_DEBUG.
Oct
9
revised get_posts inside cron
added 2106 characters in body
Oct
9
revised get_posts inside cron
deleted 788 characters in body
Oct
9
awarded  Promoter
Oct
9
revised get_posts inside cron
deleted 788 characters in body
Oct
5
revised get_posts inside cron
added 365 characters in body
Oct
5
revised get_posts inside cron
added 15 characters in body
Oct
5
revised get_posts inside cron
added 623 characters in body
Oct
5
revised get_posts inside cron
added 215 characters in body