<div class="container-fluid">
    <?php 
if (is_active_sidebar('news')) {
    $bodyClass = get_layout_class(true);
}
?>
    <div class="<?php 
echo $bodyClass;
?>
 interior-content">

        <div id="right">
            <div class="row">
                <div class="mainContent" id="content">

                <!-- WordPress Loop: Only happens if there are posts. -->
                <?php 
if (have_posts()) {
    ?>
                    <?php 
    while (have_posts()) {
        ?>
                        <?php 
        the_post();
        ?>

                        <!-- post -->
                        <div id="post-<?php 
        the_ID();
        ?>
" class="post landing">
示例#2
0
if (have_posts()) {
    ?>
    <?php 
    while (have_posts()) {
        the_post();
        ?>

        <div id="interior">
            <div class="container-fluid">

                <?php 
        $outputLeftPageData = wp_nav_menu(array('theme_location' => 'primary-menu', 'container_id' => 'leftBar', 'sub_menu' => true, 'echo' => false, 'menu_id' => 'subMenu'));
        ?>

                <?php 
        $bodyClass = get_layout_class(true, $outputLeftPageData);
        ?>

                <div class="<?php 
        echo $bodyClass;
        ?>
 interior-content">

                    <?php 
        //LEFT
        echo $outputLeftPageData;
        ?>

                    <div id="right">
                        <div class="row">
示例#3
0
?>
					</div>
				</div>
			</div>
		</nav><!-- .site-navigation -->
	</header><!-- #masthead -->

	<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();
?>
">
示例#4
0
/**
 * List View Template
 *
 * The wrapper template for a list of events. This includes the Past Events and Upcoming Events views
 * as well as those same views filtered to a specific category.
 *
 * @package TribeEventsCalendar
 * @author Jimmy K. <*****@*****.**>
 */
if (!defined('ABSPATH')) {
    // If absolute path isn't defined, exit.
    die('-1');
}
// Get the body class.
$bodyClass = get_layout_class(is_active_sidebar('sidebar-events'));
?>

    <!-- #interior -->
    <div id="interior">
        <div class="container-fluid">

            <div class="<?php 
echo $bodyClass;
?>
 interior-content">

                <div id="right">
                    <div class="row">

                        <div id="content" class="mainContent facetwp-template">
示例#5
0
get_header();
?>

    <div id="interior">
        <?php 
global $Menu;
?>

        <div class="container-fluid">

            <?php 
$outputLeftPageData = wp_nav_menu(array('theme_location' => 'primary-menu', 'container_id' => 'leftBar', 'sub_menu' => true, 'echo' => false, 'menu_id' => 'subMenu'));
?>

            <?php 
$bodyClass = get_layout_class(is_active_sidebar('sidebar-shop'), $outputLeftPageData);
?>

            <div class="<?php 
echo $bodyClass;
?>
 interior-content woocommerce">

                <?php 
//LEFT
echo $outputLeftPageData;
?>

                <div id="right">
                    <div class="row">
示例#6
0
 *
 * You can use any or all filters included in this file or create your own filters in
 * your functions.php. In order to modify or extend a single filter, please see our
 * readme on templates hooks and filters (TO-DO)
 *
 * @package TribeEventsCalendarPro
 * @author Jimmy K. <*****@*****.**>
 */
if (!defined('ABSPATH')) {
    // If absolute path isn't defined, exit.
    die('-1');
}
// Get the venue id.
$venue_id = get_the_ID();
// Get the body class.
$bodyClass = get_layout_class(is_active_sidebar('events-sidebar'));
?>

    <!-- #interior -->
    <div id="interior">
        <div class="container-fluid">

            <div class="<?php 
echo $bodyClass;
?>
 interior-content">

                <div id="right">
                    <div class="row">

                        <div id="content" class="mainContent">