dphiffer
Forum Replies Created
-
Forum: Plugins
In reply to: [JSON API] JSON API requests work locally but not on serverHi npavkovic,
Sorry for the extremely slow reply! Did you ever resolve this? Is there a public URL you could post here?
Thanks,
-DanForum: Plugins
In reply to: [JSON API] [Plugin: JSON API] Problem in creating External controllersSorry guys, there was a mistake in the documentation. The
return $controllerspart was a critical omission. i906’s code includes it and it sounds like it works as a result.I’ll look into the numbers/filters thing…
Yeah, I’d be happy to look at a patch for something like this. And let me know if you have any questions I might be able to help with.
Interesting, I think I’ll include this in a future release. The next one about to go up is just bugfixes.
Thanks,
-DanForum: Plugins
In reply to: [JSON API] [Plugin: JSON API] get_page_index returns only five pagesAnd sorry for the very slow response…
Forum: Plugins
In reply to: [JSON API] [Plugin: JSON API] get_page_index returns only five pagesThanks guys, this will be fixed in the next release!
Forum: Plugins
In reply to: [JSON API] [Plugin: JSON API] exclude doesn't work while include doesThanks guys, this will be fixed in the forthcoming release!
Forum: Plugins
In reply to: [JSON API] [Plugin: JSON API] 2 QuestionsIt will be fixed shortly!
Forum: Plugins
In reply to: [JSON API] [Plugin: JSON API] accessing wp content folderYou’ll probably want to read section 5.2, Developing JSON API controllers, in the API documentation. If you have specific questions, I’d be happy to field them here.
Forum: Plugins
In reply to: [JSON API] [Plugin: JSON API] Add custom fields to get_pageHi davidmh,
Sorry for the slow reply. Did you look at the API documentation?
The query parameter to include in your request is
custom_fieldswhich should be set to a comma-separated list of the fields you want to include.Like this:
http://example.org/?json=get_page&slug=foo&custom_fields=custom1,custom2Best,
-DanForum: Plugins
In reply to: [JSON API] [Plugin: JSON API] retrieving the users avatar from commentsHi sandor,
Sorry for the slow reply.
I think your instinct is right, but it seems that $wp_comment objects don’t get avatars added by WordPress. There’s a function called
get_avatar(ref) that would be the way to do this.I think it’s a good feature idea, but I’m going to hold off on implementing it for now. If you want to share your approach here, I’d consider it for the main release.
Thanks,
-DanForum: Plugins
In reply to: [JSON API] [Plugin: JSON API] add prev/next posts to single post json dataHi mlcy44,
Sorry for the slow reply.
I think this is a good feature idea. I’m not sure when it’ll get implemented, but it’s on the list. I’d also be happy to accept a patch if you wanted to take a shot at it yourself.
Best,
-DanForum: Plugins
In reply to: [JSON API] [Plugin: JSON API] Documentation TypoThanks for the heads up jli!
Forum: Plugins
In reply to: One plugin adding information to output from anotherIn case anyone else is wondering about this one: see also
Forum: Plugins
In reply to: [JSON API] Disqus plugin adding code to JSON API feedThanks for the heads up Josh. I found another workaround that will make its way into the next release. Adding this into JSON_API_Response::setup prevents Disqus from getting up in my business:
remove_action('loop_end', 'dsq_loop_end');