How to add custom rewrite rules and point to specific templates
You need to create query_var for sector and you need to create a rewrite rule with RegEX. I created a plugin for this. Create a file and add into the wp-content/plugins folder and activate it. <?php /* Plugin Name: Custom Rewrite Plugin URI: https://serkanalgur.com.tr Description: Custom Rewrite Version: 1 Author: Serkan Algur Author URI: https://www.serkanalgur.com.tr … Read more