예제 #1
0
<div class="<?php 
echo wheels_class('footer-menu-wrap');
?>
">
	<?php 
$menu_options = array('theme_location' => 'secondary_navigation', 'menu_class' => wheels_class('footer-menu'), 'container_class' => wheels_class('footer-menu-container'), 'depth' => 1);
?>
	<?php 
wp_nav_menu($menu_options);
?>
</div>
예제 #2
0
<div class="<?php 
echo wheels_class('top-bar-menu-wrap');
?>
">
	<?php 
$menu_options = array('theme_location' => 'top_navigation', 'menu_class' => wheels_class('top-menu'), 'container_class' => wheels_class('top-menu-container'), 'depth' => 1);
?>
	<?php 
wp_nav_menu($menu_options);
?>
</div>
예제 #3
0
">
		<a href="<?php 
    echo home_url();
    ?>
">
			<img src="<?php 
    echo $logo_url;
    ?>
" alt="logo">
		</a>
	</div>
<?php 
} else {
    ?>
	<div class="<?php 
    echo wheels_class('logo');
    ?>
">
		<h1 class="site-title">
			<a href="<?php 
    echo esc_url(home_url('/'));
    ?>
" rel="home"><?php 
    bloginfo('name');
    ?>
</a>
		</h1>

		<h2 class="site-description"><?php 
    bloginfo('description');
    ?>
예제 #4
0
/**
 * The template for displaying 404 pages (Not Found).
 *
 * @package WordPress
 * @subpackage Wheels
 */
get_header();
get_template_part('templates/title');
?>
<div class="<?php 
echo wheels_class('main-wrapper');
?>
">
	<div class="<?php 
echo wheels_class('container');
?>
">
		<div class="double-padded">
			<h1 class="entry-title"><?php 
_e('This is somewhat embarrassing, isn&rsquo;t it?', 'wheels');
?>
</h1>

			<p><?php 
_e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'wheels');
?>
</p>
			<?php 
get_search_form();
?>
예제 #5
0
<?php

$output = $el_class = $bg_image = $bg_color = $bg_image_repeat = $font_color = $padding = $margin_bottom = $css = '';
extract(shortcode_atts(array('el_class' => '', 'bg_image' => '', 'bg_color' => '', 'bg_image_repeat' => '', 'font_color' => '', 'padding' => '', 'margin_bottom' => '', 'css' => '', 'row_id' => '', 'is_container' => '1'), $atts));
// wp_enqueue_style( 'js_composer_front' );
wp_enqueue_script('wpb_composer_front_js');
// wp_enqueue_style('js_composer_custom_css');
$el_class = $this->getExtraClass($el_class);
$css_class = apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, 'vc_row wpb_row ' . ($this->settings('base') === 'vc_row_inner' ? 'vc_inner ' : '') . get_row_css_class() . $el_class . vc_shortcode_custom_css_class($css, ' '), $this->settings['base'], $atts);
$style = $this->buildStyle($bg_image, $bg_color, $bg_image_repeat, $font_color, $padding, $margin_bottom);
$row_id = !empty($row_id) ? 'id="' . $row_id . '"' : '';
$output .= '<div ' . $row_id . ' class="' . $css_class . '"' . $style . '>';
if ((int) $is_container) {
    $output .= '<div class="' . wheels_class('container') . '">';
}
$output .= wpb_js_remove_wpautop($content);
if ((int) $is_container) {
    $output .= '</div>';
}
$output .= '</div>' . $this->endBlockComment('row');
echo $output;
예제 #6
0
">
		<div class="<?php 
echo wheels_class('page-title-grid-wrapper');
?>
">
			<?php 
if ($enable_breadcrumbs && $breadcrumbs_position == 'above_title') {
    ?>
				<?php 
    get_template_part('templates/breadcrumbs');
    ?>
			<?php 
}
?>
			<h1 class="<?php 
echo wheels_class('page-title');
?>
"><?php 
echo wheels_title();
?>
</h1>
			<?php 
if ($enable_breadcrumbs && $breadcrumbs_position == 'bellow_title') {
    ?>
				<?php 
    get_template_part('templates/breadcrumbs');
    ?>
			<?php 
}
?>
		</div>
예제 #7
0
	<?php 
}
?>
	<div class="<?php 
echo wheels_class('main-menu-bar-wrapper');
?>
">
		<div class="<?php 
echo wheels_class('container');
?>
">
			<div class="<?php 
echo wheels_class('logo-wrapper');
?>
">
				<?php 
get_template_part('templates/logo');
?>
			</div>			
			<div class="<?php 
echo wheels_class('main-menu-wrapper');
?>
">
				<?php 
get_template_part('templates/menu-main');
?>
			</div>
		</div>
	</div>
</header>
예제 #8
0
<?php

$top_bar_text = wheels_get_option('top-bar-text', '');
if ($top_bar_text) {
    ?>
	<div class="<?php 
    echo wheels_class('top-bar-text');
    ?>
">
		<?php 
    echo do_shortcode($top_bar_text);
    ?>
	</div>
<?php 
}
예제 #9
0
function wheels_widgets_init()
{
    register_sidebar(array('name' => __('Primary', 'wheels'), 'id' => 'wheels-sidebar-primary', 'before_widget' => '<div class="widget %1$s %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>'));
    register_sidebar(array('name' => __('Footer', 'wheels'), 'id' => 'wheels-sidebar-footer', 'before_widget' => '<div class="widget %1$s %2$s ' . wheels_class('widget-footer') . '">', 'after_widget' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>'));
    register_sidebar(array('name' => __('Courses', 'wheels'), 'id' => 'wheels-sidebar-courses', 'before_widget' => '<div class="widget %1$s %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>'));
}
예제 #10
0
<?php

/**
 * @package WordPress
 * @subpackage Wheels
 *
 * Template Name: Full Width
 */
get_header();
get_template_part('templates/title');
?>
<div class="<?php 
echo wheels_class('main-wrapper');
?>
">
	<div class="<?php 
echo wheels_class('container');
?>
">
		<div class="<?php 
echo wheels_class('content-fullwidth');
?>
">
			<?php 
get_template_part('templates/content-page');
?>
		</div>
	</div>
</div>
<?php 
get_footer();
예제 #11
0
/**
 * Content wrappers
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     1.6.4
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
$template = get_option('template');
switch ($template) {
    // IF Wheels
    case 'wheels':
        echo '<div class="' . wheels_class('container') . '"><div class="' . wheels_class('content') . '">';
        break;
    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">';
예제 #12
0
<?php

global $post_id;
$theme_location = 'primary_navigation';
if (function_exists('rwmb_meta') && (int) rwmb_meta('wheels_use_one_page_menu', array(), $post_id)) {
    $one_page_menu_location = rwmb_meta('wheels_one_page_menu_location', array(), $post_id);
    if (!empty($one_page_menu_location)) {
        $theme_location = $one_page_menu_location;
    }
}
$defaults = array('theme_location' => $theme_location, 'menu_class' => wheels_class('main-menu'), 'container_class' => wheels_class('main-menu-container'), 'depth' => 3);
?>

<div id="cbp-menu-main">
	<?php 
wp_nav_menu($defaults);
?>
</div>
예제 #13
0
<?php

$top_bar_additional_text = wheels_get_option('top-bar-additional-text', '');
?>
<div class="<?php 
echo wheels_class('top-bar-additional');
?>
">
	<div class="<?php 
echo wheels_class('container');
?>
">
		<?php 
if ($top_bar_additional_text) {
    ?>
			<div class="<?php 
    echo wheels_class('top-bar-additional-text');
    ?>
">
				<?php 
    echo do_shortcode($top_bar_additional_text);
    ?>
			</div>
		<?php 
}
?>
	</div>
</div>
예제 #14
0
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     1.6.4
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
$template = get_option('template');
switch ($template) {
    // IF Wheels
    case 'wheels':
        ?>
		</div>
		<div class="<?php 
        echo wheels_class('sidebar');
        ?>
">
			<?php 
        get_sidebar('shop');
        ?>
		</div>
		</div>
		</div>
		<?php 
        break;
    case 'twentyeleven':
        echo '</div></div>';
        break;
    case 'twentytwelve':
        echo '</div></div>';
예제 #15
0
<?php

if (function_exists('breadcrumb_trail')) {
    ?>
	<div class="<?php 
    echo wheels_class('breadcrumbs');
    ?>
">
		<?php 
    breadcrumb_trail(array('show_browse' => false));
    ?>
	</div>
<?php 
}
예제 #16
0
<?php

$footer_text = wheels_get_option('footer-text', '');
if ($footer_text) {
    ?>
	<div class="<?php 
    echo wheels_class('footer-text');
    ?>
">
		<?php 
    echo do_shortcode($footer_text);
    ?>
	</div>
<?php 
}
예제 #17
0
get_header();
get_template_part('templates/title');
?>
<div class="<?php 
echo wheels_class('main-wrapper');
?>
">
	<div class="<?php 
echo wheels_class('container');
?>
">
		<div class="<?php 
echo wheels_class('sidebar');
?>
">
			<?php 
get_sidebar();
?>
		</div>
		<div class="<?php 
echo wheels_class('content');
?>
">
			<?php 
get_template_part('templates/content-page');
?>
		</div>
	</div>
</div>
<?php 
get_footer();