• Resolved esplainer

    (@esplainer)


    I have installed the plugin and have created a hierarchy of categories. However, I don’t see any way to add a category to a page.

    At one time, I had a Categories column on the Pages display, but now they are not showing. How do I get them back?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am definitely no expert, but I only knew media categories could be added to media items. Categories for pages and posts are a different WP feature.

    Plugin Author jeffrey-wp

    (@jeffrey-wp)

    My plugin only adds categories to the media items. By default WordPress has category support for posts (not for pages). If you want support for categories on pages you have to look for another plugin that support it or add this code to your functions.php file in your theme or child-theme

    function support_category_for_pages() {  
        // Add category support to pages
        register_taxonomy_for_object_type('category', 'page');  
    }
    add_action( 'init', 'support_category_for_pages' );
    Thread Starter esplainer

    (@esplainer)

    I have installed ‘Add Category to Pages’ plugin, which does what it says it does, so things are fine again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add categories to pages’ is closed to new replies.