PluginProbe
Property Hive / 2.3.0
Property Hive v2.3.0
2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 1.4.62 All 260 releases
propertyhive / templates / global / wrapper-start.php

wrapper-start.php in Property Hive 2.3.0, at templates/global/wrapper-start.php

31 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Content wrappers
4 *
5 * @author PropertyHive
6 * @package PropertyHive/Templates
7 * @version 1.0.0
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
12 // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template-local variable; the template is included through a helper/function scope, so PrefixAllGlobals misclassifies the file when checked standalone.
13 $template = get_option( 'template' );
14
15 switch( $template ) {
16 case 'twentyeleven' :
17 echo '<div id="primary"><div id="content" role="main">';
18 break;
19 case 'twentytwelve' :
20 echo '<div id="primary" class="site-content"><div id="content" role="main">';
21 break;
22 case 'twentythirteen' :
23 echo '<div id="primary" class="site-content"><div id="content" role="main" class="entry-content twentythirteen">';
24 break;
25 case 'twentyfourteen' :
26 echo '<div id="primary" class="content-area"><div id="content" role="main" class="site-content twentyfourteen"><div class="tfwc">';
27 break;
28 default :
29 echo '<div id="container"><div id="content" role="main">';
30 break;
31 }