353 reputation
36
bio website kevinleary.net
location Boston, MA
age 28
visits member for 3 years, 9 months
seen Jul 25 at 0:35

Boston based user interface designer & developer specializing in CSS, XHTML, jQuery, JavaScript, LAMP and WordPress.


Sep
26
comment If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
Assuming your post type is neighborhood, your theme's single-neighborhood.php file will load whenever a neighborhood entry is viewed. For example, assuming your post type rewrite is neighborhoods, if you create a new neighborhood entry called "Sanborn", with a URL of www.yourdomain.com/neighborhoods/sanborn/ then single-neighborhood.php is loaded from your theme to determine what that page looks like. Each page has a unique ID, and the_post() loads in the data for the the ID of the current post/page/post type.
Sep
25
answered If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
Aug
14
awarded  Necromancer
May
14
awarded  Necromancer
Oct
10
awarded  Student
Oct
10
awarded  Scholar
Oct
10
accepted WP_Query Performance Issues with meta_query
Oct
10
comment WP_Query Performance Issues with meta_query
Thanks Anu, I've found that the OR relation operator was the culprit. The query went from 35.76 seconds to 2.18 just by switching that to AND.
Oct
10
asked WP_Query Performance Issues with meta_query
Sep
26
answered How do I pass an argument to my custom walker?
Aug
15
awarded  Editor
Aug
15
revised Setting posts per page in query_posts
Updated to a better method that uses WordPress pre_get_posts action
Jul
31
comment Setting posts per page in query_posts
By adding onto the existing query vars we aren't rewriting anything. This is like saying: "Give me your settings, I'm going to change one value, then reset them." before running the query.
Apr
17
awarded  Yearling
Mar
29
answered Any way to use a custom Parameter for youtube embed without using an iframe?
Feb
22
awarded  Supporter
Feb
22
comment How to know what functions are hooked to an action/filter?
Great little function toscho, thanks for sharing this. I'm using it to evaluate all of the action hooks loaded for a theme at the shutdown action.
Feb
13
answered How to use tinyMCE for user “biographical info” without messing with any core file?
Feb
13
answered How to use tinyMCE for user “biographical info”?
Dec
5
answered Custom Taxonomy WP_Query for All Terms in a Taxonomy?