Pretty Permalink Variables
-
I’m trying to figure out whow… or if… I can get my custom variables to work in WP. Currently I have multiple pages working with pretty permalinks, but I have another which I would like to have customised.
Currently I have the pages
- c2c.com/dirs
- c2c.com/dirs/east
- c2c.com/accom
However, when using these, I would like to be able to also add a c2c.com/accom/east to pull info from my plugin. Currently that takes me to c2c.com/dirs/east instead of taking me to c2c.com/accom and passing east as a variable.
Can anyone tell me how I would do this, and also how to access that variable in my template? It will always be the same url scheme.. eg c2c.com/accom/<term>
Thanks
The topic ‘Pretty Permalink Variables’ is closed to new replies.