Hi,
When i changed the url slug for listing_region and then try to view the Region link it displays that no results are found, even though in the Dashboard, the Regions are there and the correct view count is shown.
I tried delete every listing and every region and then add a fresh listing.
The region is created and the view count is correct, but it just does not show as long as my custom slug is overwritten.
add_filter(
'hivepress/v1/taxonomies',
function( $taxonomies ) {
if(isset($taxonomies['listing_region'])){
$taxonomies['listing_region']['rewrite']['slug'] = 'custom-slug-here';
}
return $taxonomies;
},
1000
);
When I disable the snippet, the results are then showed for the region.
And yes, I have refreshed the Permalinks
Is this a bug?