[Plugin: The Events Calendar] Further info about Pretty Urls
-
Ok, I have been banging my head against this problem and think I have found where it falls down.
When Pretty Urls is on we get urls such as this :
[site url]/category/events/month
This is passed to the function templateChooser.
The test – $this->in_event_category() – should return true here, however it returns false.
The WP_Query object lists [category_name] => month, which does not exist.
The function “in_event_category()”, does not correctly detect this to look to the level above. Could be correct, according to the name of the function.What is missing here ?
Should there be a url translation being done further up the line to translate this url to
[site url]/category/events/?eventDisplay=monthCould one of the developers pitch in on this as it is getting very frustrating not having any come back.
- The topic ‘[Plugin: The Events Calendar] Further info about Pretty Urls’ is closed to new replies.