WordPress.org

Forums

Define permalink for Custom Post Type (1 post)

  1. Puanthanh Gangmei
    Member
    Posted 5 years ago #

    my post type = singers
    post_type_base_url = singer
    cat_tax_base_url = genre

    With custom post type permalink plugin I could set it to
    /singer/%genre%/%singers%/

    But I want to set this structure as default permalink using a function.
    I don't want to use the custom post type permalink plugin because it screw up sometimes on its own eg /post_type/singer/%genre%/%singers%/

    Can anyone give me some ideas or links to some tutorials?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 5 years ago by Puanthanh Gangmei
  • This topic is not resolved
  • WordPress version: 3.1