setup_ec_data and wordpress functions
-
It is not clear from the documentation what the full effect of the setup_ec_data routine on which of the standard wordpress functions are available.
For example, after calling setup_ec_data, what should be the effect of calling the_title() function.What I am after is a working example of
- calling setup_ec_data and outputting a category
- outputing a category title
- the category description
- the first 2 posts associated with the category
I’ve looked at the code of setup_ec_data routine and not clear which of the standard functions will work as some depend on WP_Query which is not changed using setup postdata(). In particular is_category() function does not work as it relates to original page.
https://www.ads-software.com/plugins/enhanced-category-pages/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘setup_ec_data and wordpress functions’ is closed to new replies.