예제 #1
0
esc_html_e('It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'restaurant-wp');
?>
</p>

								<?php 
get_search_form();
?>

							</div><!-- .page-content -->
						</section><!-- .error-404 -->

					</main><!-- #main -->
				</div><!-- #primary -->
			</div>
			<?php 
if (restaurant_wp_get_theme_layout() != 'full') {
    ?>
				<div class="<?php 
    restaurant_wp_layout_column_second();
    ?>
">
					<?php 
    get_sidebar();
    ?>
				</div>
			<?php 
}
?>
		</div>
	</div>
<?php 
예제 #2
0
/**
 * Class layout column second
 */
function restaurant_wp_layout_column_second()
{
    if (restaurant_wp_get_theme_layout() == 'right') {
        echo 'col-md-3';
    } elseif (restaurant_wp_get_theme_layout() == 'left') {
        echo 'col-md-3 col-md-pull-9';
    }
}