1 | | as a new feature of custom post types of 3.1 is option to enable custom post type archive using 'has_archive' => true. |
2 | | |
3 | | Problem is, that this archive page got few limitations |
4 | | 1. it is not possible to add it using Nav menus (except direct Custom link) |
5 | | 2. if using the standard archive.php page, the common function for getting archive page name (e.g. single_tag_title) or description (e.g. tag_description) do not work - the best now is to use get_queried_object()->name resp. get_queried_object()->description |
| 1 | if using the standard archive.php page, the common function for getting archive page name (e.g. single_tag_title) or description (e.g. tag_description) do not work - the best now is to use get_queried_object()->name resp. get_queried_object()->description |