/
taxonomy-wpcm_venue.php
47 lines (36 loc) · 1.11 KB
/
taxonomy-wpcm_venue.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* The main template file for displaying venue information.
*
* @author Davey Jacobson <daveyjake21 [at] geemail [dot] com>
*
* @package Rugby_Database
* @since 1.0.0
*/
// phpcs:disable
defined( 'ABSPATH' ) || exit;
get_header();
/**
* Hook: `wpclubmanager_before_main_content`
*
* @hooked wpclubmanager_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked wpclubmanager_breadcrumb - 20
*/
do_action( 'wpclubmanager_before_main_content' );
if ( taxonomy_exists( 'wpcm_venue' ) && function_exists( 'wpclubmanager_get_template_part' ) ) :
wpclubmanager_get_template_part( 'content', 'single-venue' );
endif;
/**
* Hook: `wpclubmanager_after_main_content`
*
* @hooked wpclubmanager_output_content_wrapper_end - 10 (outputs closing divs for the content)
*/
do_action( 'wpclubmanager_after_main_content' );
/**
* Hook: `wpclubmanager_sidebar`
*
* @hooked wpclubmanager_get_sidebar - 10
*/
do_action( 'wpclubmanager_sidebar' );
wp_nonce_field( 'matches', 'nonce' );
get_footer();