36,036 reputation
21632
bio website metaflora.net
location San Francisco
age
visits member for 3 years, 5 months
seen 5 hours ago

I like bicycles and cats.

http://metaflora.net/


1d
comment add_rewrite_rule on multisite doesn't work
you don't have a non-wp rule, because you're pointing it to index.php. are you certain this works on a single installation? your query string doesn't contain any native query vars, so it can't generate a main query and will 404, the behavior you see is completely expected.
Sep
19
comment Manually cache a special, non-WP-but-using-WP page (e.g. Ajax results) with W3TC
I imagine it would be much easier if you were using the AJAX API or an endpoint for this, then you would at least be operating within the context of WordPress.
Sep
16
comment How to change menu URLs to hashes?
how are you generating the list of links, a nav menu?
Sep
11
comment Wordpress running on rasppi not displaying themes correctly
What does "WP not sending the CSS information" mean? The theme outputs a link to a CSS file and the browser requests that file via http. Is the path not being output, or is the path to the css file incorrect? Does it work correctly if you use one of the core-bundled themes?
Sep
11
comment Automatic updates of plugins and themes outside of wordpress.org
wordpress.stackexchange.com/questions/5220/…
Sep
7
comment Unable to upload specific .zip file type via frontend in WordPress 4.0
well it's obviously failing somewhere if the file isn't uploaded. my point is you need to narrow it down to what step it fails on- does it enter the if(in_array) check? does it pass that test? does it enter the foreach to loop over the files, etc..
Sep
7
comment Unable to upload specific .zip file type via frontend in WordPress 4.0
where does it fail? have you looked at the filetype to see that it matches what's in $appnvid_file_types?
Aug
26
comment Advanced Custom Fields - Relationship post foreach query
$item must be $post, the codex page for setup_postdata() is quite clear on this point.
Aug
26
comment Cannot pull up posts of category on category page!
the docs don't note an exception, because there is none. you likely have some errant code causing a conflict. var_dump($my_query) and inspect query vars to see if they are what you expect.
Aug
22
comment Single Page Wordpress Theme - Using page templates
I'm pointing out how a single template won't work for both purposes. you need to have the content area separated into a separate template. perhaps a helpful hint: the page template is saved in a post's meta data under the key _wp_page_template
Aug
22
comment Cherry Framework Categorys not working on custom post type
Have you tried asking the people who made your theme? Third party theme and plugin support is off-topic here.
Aug
22
comment Single Page Wordpress Theme - Using page templates
If each page displays correctly individually, then presumably they each call the header and footer templates. If you displayed those templates on a single page you'd have the repetition of header and footer for each.
Aug
21
comment Stylesheet from wp_enqueue_style is overwritten by plugin
what priorities are both of those enqueues hooked on?
Aug
21
comment Permitting Wordpress to accept dates outside of 1902-2038
@TAH the publish date field is the wrong field to use for your purpose, so I doubt a patch to "fix" this would be welcome. the correct way to associate a date with a post is via post meta, as Justin suggests.
Aug
19
comment strip_tag not working in header.php
Are you familiar with the concept of variable scope in PHP?
Aug
19
comment Where are wordpress custom types stored?
@BobJones the question mentions the wp_posts table, so it seems pretty clear they know where the post data is stored. but if you have a different interpretation of the question, then perhaps you should add your own answer.
Aug
15
comment Redirect if not logged in?
HTTP_HOST typically doesn't contain http://, do some debugging to figure out what you're actually trying to match.
Aug
15
comment Custom taxonomy from custom post type
category is a built in taxonomy, not a custom taxonomy. do you have multiple taxonomies, or are you just using the built in category taxonomy? your second block of code sets post type to book, if you've got another post type you haven't added it to the query.
Aug
15
comment Display related posts with same category or same tag return blank
The built in tag taxonomy is post_tag, not just tag. also, it's odd that the codex example for tax query shows field as id, but I'm fairly sure it should be term_id. try those two changes and see what your results are. also note that you can var_dump( $query ) after you run the query and see if the query parameters are correctly set, anything invalid should be ignored.
Aug
13
comment foreach loop inside the loop creating duplicates in output
is it the case that the projects it happens on don't have leader associated with them? or do all projects have a leader and some are outputting the wrong name?