116 reputation
11
bio website johnpedrie.com
location Michigan
age 25
visits member for 4 years, 11 months
seen yesterday

PHP, Node, AngularJS, WordPress.


Apr
23
comment get_pages can't load pages with custom post types
It's right at the top of the page. "This function can also retrieve other post types using the 'post_type' parameter, but the type must be hierarchical like pages, or the function will return false."
Apr
22
comment get_pages can't load pages with custom post types
@s_ha_dum, because if it's not set to true, then WordPress treats the post type like a "post", not a "page". The function docs mention that hierarchical must be true for this function to work: codex.wordpress.org/Function_Reference/get_pages
Apr
22
comment get_pages can't load pages with custom post types
Make sure that the post type has hierarchical set to true.
Dec
23
comment wp_head hook content showing up at top of RSS feed
Otto, if you'll post that as an answer I'll give you the bounty.
Aug
21
comment WP_Query not returning correct result with meta_query parameter
There's a way to do the query without the meta_query parameter. I had the right params for that. But I changed over to the meta_query method. Confusing design. Thanks for your help.
Mar
9
comment LOCAL server not installing wordpress
Follow these steps: codex.wordpress.org/Moving_WordPress
Mar
1
comment WordPress hangs when I publish or update a post
Does this happen just with WordPress, or are there any other PHP/MySQL applications on the same server that are having trouble?
Nov
15
comment Pass variable to nested shortcode
Perfect. Thanks much, Jan.
Sep
24
comment Wordpress Custom Post Type Repeated 404 Errors
I am the host. :( Thanks for the advice though, I appreciate it.
Sep
24
comment Wordpress Custom Post Type Repeated 404 Errors
It doesn't seem to be a plugin issue. I haven't added any new plugins in a couple of weeks, and this issue just appeared in the last couple of days. Also, it doesn't break every page load, but rather every few minutes or so.
Sep
24
comment Wordpress Custom Post Type Repeated 404 Errors
Some errors from the apache log are in the original question now. Thanks.