Add options to toggle individual templates per post type

This commit is contained in:
Brian Miyaji
2014-10-22 18:51:25 +11:00
parent 5d144aacfb
commit 13cb8cbada
14 changed files with 404 additions and 233 deletions

View File

@@ -8,6 +8,7 @@
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( get_option( 'sportspress_event_show_results', 'yes' ) === 'no' ) return;
if ( ! isset( $id ) )
$id = get_the_ID();