• Resolved masimoti

    (@masimoti)


    I added a custom structure link for my posts
    but it affected on my podcasts slug
    my custom structure is : /blog/%postname%/
    now my taxonomy which name is “series” as slug is like this : https://eva.guru/blog/series/eva-commerce/
    I wanna remove that “blog” before series
    I added this :

    add_filter( ‘ssp_register_post_type_args’, function ( $args ) {

        $args[‘rewrite’][‘with_front’] = false;

        return $args;

    } );
    and saved the permalinks but it didn’t work.
    all episodes are fine and they don’t have /blog/ in their slug
    I just have problem with All Podcasts slug

Viewing 1 replies (of 1 total)
  • Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi @masimoti,

    You did it almost right, just need to use another filter (for the taxonomy, not the post type), like this:

    add_filter( 'ssp_register_taxonomy_args', function ( $args ) {
    
    	$args['rewrite']['with_front'] = false;
    
    	return $args;
    
    } );
    

    Hope this helps and best regards,
    Sergiy.

Viewing 1 replies (of 1 total)
  • The topic ‘baseline structure’ is closed to new replies.