2,494 reputation
1420
bio website ericholmes.ca
location Toronto, Canada
age 25
visits member for 2 years, 5 months
seen 3 hours ago

I'm a WordPress enthusiast from Toronto, Canada. I work at Zeitguys Inc. and produce premium WordPress solutions.

WP on!


Jan
21
reviewed Approve How to open up comments to all visitors
Jan
19
comment Fetch posts list from fist CPT taxonomy term and list under 2. CPT
I think that Post 2 Post would be a better solution for you. Removes the proxy Writers taxonomy. This plugin is written by some big names in WP, so it's a trusted tool for sure. wordpress.org/plugins/posts-to-posts
Nov
6
answered Adding class to featured image
Nov
5
revised Backbone.js and WP API
deleted 6 characters in body
Nov
5
revised Periodically getting jQuery “… is not a function” errors
deleted 40 characters in body
Nov
5
comment Periodically getting jQuery “… is not a function” errors
:) I'd suggest keeping them as dependencies, just to ensure if you move things around later they will load properly. Also it shows you exactly what my-script requires. ;)
Nov
5
answered Periodically getting jQuery “… is not a function” errors
Nov
5
answered Backbone.js and WP API
Nov
5
comment Backbone.js and WP API
Yes, but you linked a post_type_data filter, not a post_data filter. It appears that I am able to attach entries using this, yes after the initial query, but at least it's keeping it all in one fetch(). Thanks for the help.
Nov
5
comment Backbone.js and WP API
I think you meant apply_filters( 'json_prepare_post', $_post, $post, $context );(L841), but yes I am looking into this, thanks.
Nov
5
comment Backbone.js and WP API
Indeed, quite the mess.. I was expecting something that was trying to be worked into 4.1 to be a little more... complete?
Nov
5
comment Backbone.js and WP API
Also, beforeSend fires, but the object returned to it already has the JSON response output. Very strange.
Nov
5
comment Backbone.js and WP API
github.com/WP-API/WP-API/blob/develop/lib/…
Nov
5
comment Backbone.js and WP API
Currently in the PHP side of this, post_meta and post_thumbnail are not mentioned at all within the class-wp-json-posts.php class. There is a json_prepare_post filter which passes reference to the post object returned, so I am going to see if utilizing this will allow me to populate the post_thumbnail and post_meta attributes of the response.
Nov
5
comment Backbone.js and WP API
Thanks for the response @Kaiser. I've played with the options (was currently {}), and tried changing it to various things like {post_meta: ['video_url']}, {post_meta: 'video_url'}, and several others, but it appears that the defaults mentioned above are strictly the default returned values.
Nov
5
reviewed Approve Need post_type_archive_title function but in 'single'
Nov
5
asked Backbone.js and WP API
Nov
5
comment Periodically getting jQuery “… is not a function” errors
The error is saying that .fullpage() is not defined, so make sure you are enqueueing that plugin.
Nov
5
comment Periodically getting jQuery “… is not a function” errors
How are you enqueuing your script.js? Are you properly requiring the .fullpage jQuery plugin as a dependancy? Show is your enqueue.
Nov
4
revised Determine Term depth
edited body