示例#1
0
?>
</span>
				</a>
			</div>

			<input type="hidden" name="id" value="<?php 
echo esc_attr($slider->ID);
?>
">
			<input type="hidden" name="customizations" id="customizations" value="">
			<?php 
/** This ensures that the JSON is encoded correctly. Using PHP JSON encode can cause magic quote issues */
?>
			<script type="text/javascript">document.getElementById('customizations').value = '<?php 
echo addslashes(json_encode(null));
?>
';</script>
		</form>

		<div id="customize-preview" class="wp-full-overlay-main" style="position: relative;">
			<?php 
/**
 * Display the slider
 */
if (function_exists('easingslider')) {
    easingslider($slider->ID);
}
?>
		</div>
	</div>
</div>
	<div id="content" class="site-content">

		<div class="top-section">
			<?php 
sparkling_featured_slider();
?>
			<?php 
sparkling_call_for_action();
?>
		</div>

		<div class="container main-content-area">
            <?php 
$layout_class = get_layout_class();
?>
			<div class="row <?php 
echo $layout_class;
?>
">
				<div class="main-content-inner <?php 
echo sparkling_main_content_bootstrap_classes();
?>
">

<center><?php 
if (function_exists("easingslider")) {
    easingslider(81);
}
?>
</center>
示例#3
0
?>
</div>
<![endif]-->


<?php 
do_action('get_header');
get_template_part('templates/header');
?>

<?php 
if (is_front_page()) {
    ?>
  <?php 
    if (function_exists('easingslider')) {
        easingslider(772);
    }
    ?>
  <!--
<div class="container-fluid slider">
  <div id="myCarousel" class="carousel slide" data-ride="carousel">
    <ol class="carousel-indicators">
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
      <li data-target="#myCarousel" data-slide-to="1"></li>
      <li data-target="#myCarousel" data-slide-to="2"></li>
      <li data-target="#myCarousel" data-slide-to="3"></li>
    </ol>
    <div class="carousel-inner" role="listbox">
      <div class="item active">
        <img src="<?php 
    /*get_template_directory_uri()*/
示例#4
0
bloginfo('name');
?>
</a></h1>
        </div>

        <a id="nav-toggle" href="#">
            <div class="menu-toggle"><span></span></div>
        </a>

        <nav class="site-nav">
            <?php 
$args = array('theme_location' => 'primary');
wp_nav_menu($args);
?>

        </nav>
    </header>
    <!-- /site-header -->
    <nav class="navbar hidden">
        <?php 
wp_nav_menu($args);
?>
    </nav>
    <div class="slider">
        <?php 
if (function_exists('easingslider')) {
    easingslider(64);
}
?>
    </div>