[wp-hackers] How to parse a query .
hodude81 at yahoo.com
Wed Dec 27 14:25:44 GMT 2006
I've seen it given by Jamie Talbot, But Im still not clear where to add it . Im still new to wordpress.
say If Im generalising all the feeds of rss3(same file as rss2) that Im generating will have an additional parameter called 'loc' which will have a value of location say london.
I tried adding before template_loader.php, wp-feed.php, wp-rss3.php,classes.php..
But no luck for 'loc'..
I thought rewrite was important after seeing the classes.php about that rewrite is adding for cat=somevalue&paged=somenumeric in wp_rewrite class.
Mark Jaquith <mark.wordpress at txfx.net> wrote:
On Dec 27, 2006, at 8:31 AM, sai krishna wrote:
> Looks like I need to look at rewrite rules. It is adding & and
> the new parameter in the query.
> and apply_filter just before the template_loading...
> Am I right??
Check out this code (from an earlier thread). Hopefully it'll make
the process a little more clear.
Covered Web Services
wp-hackers mailing list
wp-hackers at lists.automattic.com
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the wp-hackers