Home › Forums › Add Tags And Category to Page and Post Types › Causes main menu to disappear › Reply To: Causes main menu to disappear
November 9, 2013 at 4:55 am
#2164
Jeremy Blake
Guest
I figured out an alternative solution for anybody having the same issue.
Install this plugin: http://wordpress.org/plugins/tag-pages/
then in tag-pages.php change ‘page’ to whatever your custom post type is. For me this was ‘landing_page’.
So it will look something like:
register_taxonomy_for_object_type('post_tag', 'landing_page');
If you want to add categories to your custom post type, just add:
register_taxonomy_for_object_type('category', 'landing_page');