[wp-hackers] Adding query var to pages with rewrites

Tom Barrett tcbarrett at gmail.com
Wed Mar 14 14:04:09 UTC 2012

I want to write a shortcode that grabs a custom query var. For example:
This loads the /contact-us/ page and adds myvar=12

I'm guessing this is much like the pagination (/contact-us/page/2), but I'm
stuck on how to do this.

http://www.tcbarrett.com | http://gplus.to/tcbarrett |

More information about the wp-hackers mailing list