• 1.
    <?php
  • 2.
    $elements = array(
  • 3.
    	array(
  • 4.
    		'type' => 'slider',
  • 5.
    		'location' => 'featured'
  • 6.
    	),
  • 7.
    	array(
  • 8.
    		'type' => 'tabs',
  • 9.
    		'location' => 'primary',
  • 10.
    		'defaults' => array(
  • 11.
    			'setup' => array (
  • 12.
    				'num' => 2,
  • 13.
    				'style' => 'open',
  • 14.
    				'names' => array(
  • 15.
    					'tab_1' => 'Why Swagger?',
  • 16.
    					'tab_2' => 'From the Portfolio'
  • 17.
    				)
  • 18.
    			),
  • 19.
    			'height' => '515',                 
  • 20.
    			'tab_1' => array (
  • 21.
    				'type' => 'raw',
  • 22.
    				'raw' => "[one_third]\n<h3>A WordPress Experience</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_1.png/" class=/"pretty/" />\n<p>Utilizing the all-new version 2 of the Theme Blvd Framework, Swagger provides a WordPress experience like you've never experienced with things like the Layout Builder.</p>\n[/one_third]\n[one_third]\n<h3>Responsive Design</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_2.png/" class=/"pretty/" />\n<p>The entire Theme Blvd framework was built from the ground up with the intention of making sure all of its themes display gracefully no matter where you view them.</p>\n[/one_third]\n[one_third last]\n<h3>HTML5 and CSS3</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_3.png/" class=/"pretty/" />\n<p>Many themes around the community are marketing themselves with the HTML5 emblem, but Swagger is truly built to give you the most modern web experience possible.</p>\n[/one_third]\n\n[one_third]\n<h3>Just the Right Options</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_4.png/" class=/"pretty/" />\n<p>Every single option has been crafted and plotted out to give you the most flexible methods of configuring your site with out making you read through a million options.</p>\n[/one_third]\n[one_third]\n<h3>Top-Notch Design</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_5.png/" class=/"pretty/" />\n<p>Swagger has been detailed down to the pixel to give you the most elegant design for your next website. You'll be hard-pressed to find a better WordPress theme.</p>\n[/one_third]\n[one_third last]\n<h3>Rock-Solid Support</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_6.png/" class=/"pretty/" />\n<p>With the most detailed documentation and tutorial videos on ThemeForest matched with some of the fastest support responses, you can be sure to not fall behind.</p>\n[/one_third]\n[clear]",
  • 23.
    				'raw_format' => 0
  • 24.
    			),
  • 25.
    			'tab_2' => array (
  • 26.
    				'type' => 'raw',
  • 27.
    				'raw' => "[two_third]\n[post_grid categories=/"portfolio/" columns=/"3/" rows=/"3/"]\n[/two_third]\n[one_third last]\n<h4>We're doing some awesome things.</h4>\n<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n<a href=/"#/" class=/"lead-link/">View Portfolio →</a>\n[/one_third]\n[clear]",
  • 28.
    				'raw_format' => 0
  • 29.
    			)
  • 30.
    		)
  • 31.
    	)
  • 32.
    );
  • 33.
    themeblvd_add_sample_layout( 'swagger', 'Swagger Homepage', get_template_directory_uri().'/assets/images/sample-swagger.png', 'full_width', $elements );
<?php $elements = array( array( 'type' => 'slider', 'location' => 'featured' ), array( 'type' => 'tabs', 'location' => 'primary', 'defaults' => array( 'setup' => array ( 'num' => 2, 'style' => 'open', 'names' => array( 'tab_1' => 'Why Swagger?', 'tab_2' => 'From the Portfolio' ) ), 'height' => '515', 'tab_1' => array ( 'type' => 'raw', 'raw' => "[one_third]\n<h3>A WordPress Experience</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_1.png/" class=/"pretty/" />\n<p>Utilizing the all-new version 2 of the Theme Blvd Framework, Swagger provides a WordPress experience like you've never experienced with things like the Layout Builder.</p>\n[/one_third]\n[one_third]\n<h3>Responsive Design</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_2.png/" class=/"pretty/" />\n<p>The entire Theme Blvd framework was built from the ground up with the intention of making sure all of its themes display gracefully no matter where you view them.</p>\n[/one_third]\n[one_third last]\n<h3>HTML5 and CSS3</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_3.png/" class=/"pretty/" />\n<p>Many themes around the community are marketing themselves with the HTML5 emblem, but Swagger is truly built to give you the most modern web experience possible.</p>\n[/one_third]\n\n[one_third]\n<h3>Just the Right Options</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_4.png/" class=/"pretty/" />\n<p>Every single option has been crafted and plotted out to give you the most flexible methods of configuring your site with out making you read through a million options.</p>\n[/one_third]\n[one_third]\n<h3>Top-Notch Design</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_5.png/" class=/"pretty/" />\n<p>Swagger has been detailed down to the pixel to give you the most elegant design for your next website. You'll be hard-pressed to find a better WordPress theme.</p>\n[/one_third]\n[one_third last]\n<h3>Rock-Solid Support</h3>\n<img src=/"http://themeblvd.com/demo/assets/swagger/swagger_layout_6.png/" class=/"pretty/" />\n<p>With the most detailed documentation and tutorial videos on ThemeForest matched with some of the fastest support responses, you can be sure to not fall behind.</p>\n[/one_third]\n[clear]", 'raw_format' => 0 ), 'tab_2' => array ( 'type' => 'raw', 'raw' => "[two_third]\n[post_grid categories=/"portfolio/" columns=/"3/" rows=/"3/"]\n[/two_third]\n[one_third last]\n<h4>We're doing some awesome things.</h4>\n<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n<a href=/"#/" class=/"lead-link/">View Portfolio →</a>\n[/one_third]\n[clear]", 'raw_format' => 0 ) ) ) ); themeblvd_add_sample_layout( 'swagger', 'Swagger Homepage', get_template_directory_uri().'/assets/images/sample-swagger.png', 'full_width', $elements );

Copy Code to Clipboard Raw

Sign-in or Create a Free Account.

Snippi uses Twitter or Facebook to register and create accounts. Registration will enable you to keep track of your snippets. We never spam your timeline or wall. Ever.

Sign-in with Facebook Sign-in with Twitter