Viewing 2 replies - 1 through 2 (of 2 total)
  • For CPT, you can use a hook:

    add_filter( 'wck_cptc_register_post_type_args', 'my_register_without_front', 10, 2 );
    function my_register_without_front( $args, $post_type ) {
      if ( 'my-post-type' == $post_type )
        $args['rewrite']['with_front'] = false;
      return $args;
    }

    What is very poor, I can’t see the way to do this for Custom Taxonomy…

    Plugin Author Cristian Antohe

    (@sareiodata)

    Hi,

    I’ve noted this down and we’ll add a filter in register taxonomy as well.

    Thanks for letting us know!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to set 'with_front' to false?’ is closed to new replies.