Tag Info

New answers tagged

0

Another way you could solve this is to instead add a rewrite endpoint, which would allow it to work anywhere at any page depth and/or post type. The only drawback is that you will have to parse out the dates from the single enpoint query var with php rather than having the individual query vars set for you, but this should be a simple enough task by ...


0

You can use the pattern (([^/]*)/)? to match a full <component>/ construction - this will create a multi-dimensional element in the $matches array, with the first level containing the full expression and the internal matches containing an item with <component> without the '/' character. However, you need to be very careful in the way you handle ...



Top 50 recent answers are included