• Hey there, how are you doing? I’ve had a trouble here. I’ve created a post type called “books”. After creating this, I registered another taxonomy, called “genre”, enabled only for this kind of post. It’s working ok on wp-admin.
    I edited the code and created a file called “archive-books”, which open all the books that I’ve added. I editted the theme and added another custom menu and registed it as “secondary menu”. In this menu, I’m putting the genres I’ve created.
    When I call this menu using <?php wp_nav_menu( array( ‘theme_location’ => ‘secondary’) ); ?> it appears ok, but the page of all the books is:

    https://localhost/projectname/books

    And when I click in a genre, it tries to open:

    https://localhost/projectname/?genre=genreadded

    I would like to try to open:

    https://localhost/projectname/books/?genre=genreadded

    How can I do it?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error with subcategory’ is closed to new replies.