WordPress.org

Ready to get started?Download WordPress

Forums

Add Categories to where are page links. (1 post)

  1. leutz
    Member
    Posted 1 year ago #

    How can i add link to categories in the page menu.

    I have tried this code

    // Adds categories to pages
    add_action('admin_init', 'reg_tax');
    function reg_tax() {
    register_taxonomy_for_object_type('category', 'page');
    add_post_type_support('page', 'category');
    }

    but then my blog stopped workink and i had to copy a new function.php file.

    need help :D

Topic Closed

This topic has been closed to new replies.

About this Topic