Ejemplo n.º 1
0
" title="<?php 
echo esc_attr(get_bloginfo('name', 'display'));
?>
" rel="home"  class="navbar-brand"><?php 
bloginfo('name');
?>
</a>
				            
				        </div>
						
						<?php 
$args = array('theme_location' => 'primary', 'container_class' => 'navbar-collapse collapse', 'menu_class' => 'nav navbar-nav', 'fallback_cb' => '', 'menu_id' => 'main-menu', 'walker' => new Cyber_DC_Walker_Nav_Menu());
wp_nav_menu($args);
?>
					
			
		</header>

<?php 
lobster_jumbotron();
lobster_home_page_default_widgets();
?>

		<div id="main">
			<div class="row">
			<?php 
/* Do not display sidebars if full width option selected on single
			post/page templates */
if (is_lobster_full_width() && 5 == $lobster_theme_options['layout']) {
    get_sidebar();
}
Ejemplo n.º 2
0
/**
 * Create the required attributes for the #primary container
 *
 * @since 1.0
 */
function lobster_primary_attr()
{
    $lobster_theme_options = lobster_theme_options();
    $layout = $lobster_theme_options['layout'];
    $column = is_lobster_full_width() ? $lobster_theme_options['primary'] : '';
    $class = 6 == $layout ? $column . ' centered' : $column;
    $style = 1 == $layout || 3 == $layout ? ' style="float: right;"' : '';
    echo 'class="' . $class . '"' . $style;
}
Ejemplo n.º 3
0
<?php

/**
 * The template for displaying the footer.
 *
 * Contains footer content and the closing of the
 * #main, .grid and #page div elements.
 *
 * @since 1.0
 */
$lobster_theme_options = lobster_theme_options();
/* Do not display sidebars if full width option selected on single
   post/page templates */
if (is_lobster_full_width()) {
    if (5 != $lobster_theme_options['layout']) {
        get_sidebar();
    }
    get_sidebar('second');
}
?>
		</div> <!-- .row -->
	</div> <!-- #main -->
</div> <!-- #page -->

<footer id="footer" role="contentinfo">
	<div id="footer-content" class="container">
		<div class="row">
			<?php 
dynamic_sidebar('extended-footer');
?>
		</div><!-- .row -->