コード例 #1
0
bloginfo('charset');
?>
" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<title><?php 
wp_title();
?>
</title>
	<link rel="pingback" href="<?php 
bloginfo('pingback_url');
?>
" />
	<link rel="shortcut icon" type="image/x-icon" href="<?php 
wpvge('favicon_url');
?>
"/>
	<?php 
wp_head();
?>
</head>
<body <?php 
body_class('layout-' . WpvTemplates::get_layout());
?>
>
	<span id="top"></span>
	<?php 
do_action('wpv_body');
?>
	<div id="page" class="main-container">
コード例 #2
0
<?php

/**
 * Actual, visible header. Includes the logo, menu, etc.
 * @package wpv
 */
if (is_page_template('page-blank.php')) {
    return;
}
?>
<div class="fixed-header-box layout-<?php 
wpvge('header-layout');
?>
">
	<header class="main-header layout-<?php 
wpvge('header-layout');
?>
">
		<?php 
get_template_part('templates/header/top/nav');
?>
		<?php 
get_template_part('templates/header/top/main', wpv_get_option('header-layout'));
?>
	</header>

	<?php 
do_action('wpv_header_box');
?>
</div><!-- / .fixed-header-box -->
<div class="shadow-bottom"></div>
コード例 #3
0
	<div id="feedback-wrapper">
		<?php 
    if (wpv_get_option('feedback-type') == 'sidebar') {
        ?>
			<?php 
        dynamic_sidebar('feedback-sidebar');
        ?>
			<a href="#" id="feedback" class="slideout icon" ><?php 
        wpv_icon('pencil');
        ?>
</a>
		<?php 
    } else {
        ?>
			<a href="<?php 
        wpvge('feedback-link');
        ?>
" id="feedback" class="icon"><?php 
        wpv_icon('pencil');
        ?>
</a>
		<?php 
    }
    ?>
	</div>
<?php 
}
?>

<?php 
if (wpv_get_option('show_scroll_to_top')) {
コード例 #4
0
ファイル: logo.php プロジェクト: amitmula/amitandaastha.in
    bloginfo('name');
    ?>
">
			<div class="header-names">
				<div class="left-name">
					<div class="top-name"><?php 
    wpvge('header-name-left-top');
    ?>
</div>
					<div class="bottom-name"><?php 
    wpvge('header-name-left-bottom');
    ?>
</div>
				</div>
				<div class="names-separator"><div class="names-separator-inner">&amp;</div></div>
				<div class="right-name">
					<div class="top-name"><?php 
    wpvge('header-name-right-top');
    ?>
</div>
					<div class="bottom-name"><?php 
    wpvge('header-name-right-bottom');
    ?>
</div>
				</div>
			</div>
		</a>
	<?php 
}
?>
</div>
コード例 #5
0
if (class_exists('Tribe__Events__Pro__Templates__Single_Venue')) {
    tribe_get_venue_link($post->ID, true);
} else {
    echo tribe_get_venue($post->ID);
}
?>
</div>
				</div>
				<a href="<?php 
tribe_event_link();
?>
" title="<?php 
esc_attr_e('Read More');
?>
" class="button button-border accent1 hover-accent1"><span class="btext"><?php 
wpvge('tribe-events-join-text');
?>
</span></a>
			</div><!-- .tribe-events-event-meta -->
		<?php 
do_action('tribe_events_after_the_meta');
?>
	</div>
	<?php 
echo $featured_image;
?>
</div>

<div class="tribe-events-event-details tribe-clearfix <?php 
if (empty($featured_image)) {
    echo 'no-image';
コード例 #6
0
<div class="grid-1-2" id="top-nav-social">
	<?php 
if (wpv_get_option("top-bar-social-lead") !== '') {
    ?>
		<span><?php 
    wpvge("top-bar-social-lead");
    ?>
</span>
	<?php 
}
?>
	<?php 
$map = array('fb' => 'theme-facebook', 'twitter' => 'twitter', 'linkedin' => 'linkedin', 'gplus' => 'googleplus', 'flickr' => 'flickr', 'pinterest' => 'pinterest1', 'dribbble' => 'dribbble2', 'instagram' => 'instagram', 'youtube' => 'youtube', 'vimeo' => 'vimeo');
foreach ($map as $option => $icon) {
    ?>
			<?php 
    if (wpv_get_option("top-bar-social-{$option}") !== '') {
        ?>
				<a href="<?php 
        echo esc_attr(wpv_get_option("top-bar-social-{$option}"));
        ?>
" target="_blank"><?php 
        echo wpv_shortcode_icon(array('name' => $icon));
        ?>
</a>
			<?php 
    }
    ?>
		<?php 
}
?>