The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. akbarnasr
    Posted 3 years 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