changing permalink for custom template in posts of a certain category
You can achieve this via the Rewrite API‘s add_rewrite_endpoint: function wpa89344_add_presentation_endpoint(){ add_rewrite_endpoint( ‘presentation’, EP_PERMALINK ); } add_action(‘init’, ‘wpa89344_add_presentation_endpoint’); Then in your template or wherever you differentiate a presentation vs normal view, check the global $wp_query for the presence of the presentation query var: global $wp_query; if( isset( $wp_query->query_vars[‘presentation’] ) ){ include(TEMPLATEPATH . “/single_wide_report.php”); } else … Read more