Milo

San Francisco

metaflora.net

I like bicycles and cats.

http://metaflora.net/

1d
comment Create server side text from wordpress page
it should be added in a plugin, or a theme's functions.php file. nothing in wp-includes should ever be modified. I'm not sure what you mean by "what will trigger it". it registers the endpoint on init, so you can visit whatever.com/data-feed/ and the corresponding wpd_parse_query function will run on those requests. just note that you will need to flush rewrite rules for it to take effect, either by visiting the permalinks settings page, or adding a function to flush rules on plugin activation.
1d
answered Create server side text from wordpress page
1d
comment Archive filter disappears on no results?
have you tried using the field key rather than the name?
1d
answered Archive filter disappears on no results?
1d
answered Fatal error: Call to a member function get_page_permastruct() on a non-object
1d
comment Fatal error: Call to a member function get_page_permastruct() on a non-object
that's too early, you need to hook it to an action that runs after everything is set up, like init.
2d
comment Fatal error: Call to a member function get_page_permastruct() on a non-object
when do you call pn_create_page?
2d
comment php files not loading except for index.php
and no error messages?
2d
comment php files not loading except for index.php
Do you have debugging enabled?
2d
answered Move theme templates to subfolder without losing page associations
2d
comment taxonomy term in URL slug won't forward to the correct term for custom post like it does for default categories/normal posts
sorry, I haven't tried your code to see what might be the issue. Basically, when a request is a 404, WordPress tries to figure out what you might be requesting by doing a LIKE query on the title. For whatever reason, your query isn't generating a 404, possibly due to how query vars are set, or if it is generating a 404, incorrect query vars make WordPress unable to guess what type of object you want. You need to inspect query vars and make sure they are the correct values for successfully restricting the query to the combined title/tax terms.
Jan
28
comment Why are featured images sometimes cropped, and sometimes not
the size you ultimately see is controlled by your template. if you want an uncropped version, you either need to re-register the image size to be uncropped, or change which image size is being used when the image is output.
Jan
28
answered Why are featured images sometimes cropped, and sometimes not
Jan
28
comment Why doesn't a custom template page with pure html work?
if you view source, some markup is unclosed and there's no closing body or html tags, so it seems something is going wrong somewhere in your template and execution is halting. do you have debugging enabled?
Jan
28
answered Query & the_content() is showing in the header
Jan
28
revised Custom Plugin - Query CPT - Display Results
added 130 characters in body
Jan
28
answered Custom Plugin - Query CPT - Display Results
Jan
27
comment Create a page template with No Footer
Did you try get_footer(none); or get_footer('none');? The argument should be a string.
Jan
26
comment call php file from form and use wp functions
Forms in WordPress should submit to a WordPress-generated front-facing or admin page so the WordPress environment is present. Do you have control over where the form submits to?
Jan
26
comment Delivering a file instead of wordpress page
I've tested in twentyfourteen and it's working as expected.
1 2 3 4 5