WordPress.org

Ready to get started?Download WordPress

Forums

Define permalink for Custom Post Type (1 post)

  1. Marc P Gangmei
    Member
    Posted 3 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