147 reputation
213
bio website alecrust.com
location London, United Kingdom
age
visits member for 2 years, 8 months
seen Jul 28 at 23:05

Front-end Developer living and working in London, UK.


Sep
24
awarded  Autobiographer
Jul
2
awarded  Curious
May
12
awarded  Notable Question
Aug
7
awarded  Nice Question
Jun
23
comment Restrict post navigation to current sub menu
In fact, it seems I'm getting the error Warning: array_diff(): Argument #1 is not an array in <file-path> on line 16 (which refers to your $child_terms = array_diff( $post_terms, $parent_post_terms );) and Warning: array_diff(): Argument #2 is not an array in <file-path> on line 18 (which refers to your $exclude_these = array_diff( $all_term_ids, $child_terms );)
Jun
13
awarded  Benefactor
Jun
13
accepted Restrict post navigation to current sub menu
Jun
13
comment Restrict post navigation to current sub menu
This works perfectly - thank you!
Jun
13
comment get_item_quantity() Error When Fetching Feed
Thanks. Am I correct in assuming this won't work with API v1.1, since https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=BarackObama‌​ returns an error due to not being authenticated via OAuth?
Jun
13
revised get_item_quantity() Error When Fetching Feed
Added link to Twitter blog
Jun
13
suggested suggested edit on get_item_quantity() Error When Fetching Feed
Jun
13
comment Restrict post navigation to current sub menu
Many thanks for a detailed answer. This doesn't change the output for me I'm afraid though. Posts in other sub-categories are displaying as links - I'd like just posts in the current sub category.
Jun
13
comment Restrict post navigation to current sub menu
This doesn't change the output for me I'm afraid. Posts in other sub-categories are displaying as links - I'd like just posts in the current sub category.
Jun
13
comment get_item_quantity() Error When Fetching Feed
Unfortunately this still blocks the rest of the page from rendering when there's an error. Any way to prevent this?
Jun
11
revised Restrict post navigation to current sub menu
Corrected typo in title
Jun
10
awarded  Promoter
Jun
9
awarded  Tumbleweed
Jun
6
accepted get_item_quantity() Error When Fetching Feed
Jun
6
comment get_item_quantity() Error When Fetching Feed
Difficult to test since the problem is intermittent. It's been happening for a while now, be surprised if Twitter's API is that flakey. Thanks for the code to handle the error, have included that.
Jun
6
asked get_item_quantity() Error When Fetching Feed