Regions do not show results after the slug change

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?

Hi,

Please try to refresh permalinks How to refresh WordPress permalinks - HivePress Help Center and check if this issue exists.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.