• Resolved Rachel

    (@jaxrachel)


    Just wanted to let the create know, the Genre taxonomy is inheriting permalink front by default. Shows is not, but Genres is. Does anybody know the proper filter to remove with_front for this particular taxonomy?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Rachel

    (@jaxrachel)

    figured it out!

    add_filter( 'register_taxonomy_args', function( $args, $taxonomy )
        {
            if( 'genres' === $taxonomy && is_array( $args ) )
                $args['rewrite']['with_front'] = false;
            return $args;
        }, 99, 2 );
    
    Plugin Author Tony Zeoli

    (@tonyzeoli)

    Great, glad you figured that out! Let us know if you need anything else and please do leave a review, they are always welcome!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Genre taxonomy inheriting permalink front’ is closed to new replies.