Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination

// change in post type argument register_post_type( “rewrite” => [ “slug” => “songs/%singer%”, //change in taxonomy argument “with_front” => true ]); register_taxonomy( ‘rewrite’ =>false’, ‘with_front’ => true, ‘query_var’ => true, ‘Custom Rewrite Slug’ => ”); // for add rewrite rule function so23698827_add_rewrite_rules( $rules ) { $new = array(); $new[‘songs/([^/]+)/(.+)/?$’] = ‘index.php?songs=$matches[2]’; $new[‘songs/(.+)/?$’] = ‘index.php?singer=$matches[1]’; return … Read more