Custom .htaccess rewrite rules in WordPress

Dan Marvelo
I’m working on a Wordpress plugin to store content as posts in Wordpress, but display the content a unique manner, outside of the post / page frame.

this included wanting a unique URL pattern to access that content. after some digging in Wordpress code, I got some simple URL customization working.

there is some info on the codex page titled WP Rewite API, but seems to be in development, and is short on specific information.

Read More Custom .htaccess rewrite rules in WordPress

query_vars

query_vars query_vars is a filter on the query variables used by the WP_Query class (and stored in $wp_request->public_query_vars). The initial array consists of the following query variables: m p posts w cat withcomments s search exact sentence debug calendar page paged more tb pb author order orderby year monthnum day hour minute second name category_name… Read More query_vars