WordPress.org

Support

Support » How-To and Troubleshooting » How to get permalink of custom post type that filter by category?

How to get permalink of custom post type that filter by category?

  • I have a custom post type like ‘articles’ and use built-in categories like ‘rock, pop, jazz, etc’ to categorised this articles. I have a permalink for ‘articles’ archive also have permalink to category archive page like jazz archive page.

    But also I want to permalink to articles that filter by specified categories. My archive page also handle this conditions but I can’t get permalink for this page!

    When I type this address to browser ‘index.php?post-type=articles&category-name=jazz’ this url redirect to /category/jazz/?post-type=articles but I want this is apear in this format /articles/category/jazz

  • The topic ‘How to get permalink of custom post type that filter by category?’ is closed to new replies.