WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. akbarnasr
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic