# propertyhive/1.4.6/templates/global/wrapper-start.php

Property Hive, version 1.4.6. 30 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/1.4.6/code/templates/global/wrapper-start.php
- Raw: https://pluginprobe.com/plugins/propertyhive/1.4.6/raw/templates/global/wrapper-start.php
- Modified: 2015-11-30T09:44:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/1.4.6/code/templates/global/wrapper-start.php#L10-L20`.

```php
<?php
/**
 * Content wrappers
 *
 * @author 		PropertyHive
 * @package 	PropertyHive/Templates
 * @version     1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

$template = get_option( 'template' );

switch( $template ) {
	case 'twentyeleven' :
		echo '<div id="primary"><div id="content" role="main">';
		break;
	case 'twentytwelve' :
		echo '<div id="primary" class="site-content"><div id="content" role="main">';
		break;
	case 'twentythirteen' :
		echo '<div id="primary" class="site-content"><div id="content" role="main" class="entry-content twentythirteen">';
		break;
	case 'twentyfourteen' :
		echo '<div id="primary" class="content-area"><div id="content" role="main" class="site-content twentyfourteen"><div class="tfwc">';
		break;
	default :
		echo '<div id="container"><div id="content" role="main">';
		break;
}
```
