当前位置: 首页>>代码示例>>PHP>>正文


PHP cherry_get_layout_class函数代码示例

本文整理汇总了PHP中cherry_get_layout_class函数的典型用法代码示例。如果您正苦于以下问题:PHP cherry_get_layout_class函数的具体用法?PHP cherry_get_layout_class怎么用?PHP cherry_get_layout_class使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了cherry_get_layout_class函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: tm_close_shop_content_wrappers

function tm_close_shop_content_wrappers()
{
    echo '</div>
					<div class="sidebar ' . cherry_get_layout_class('sidebar') . '" id="sidebar" data-motopress-type="static-sidebar"  data-motopress-sidebar-file="sidebar.php">';
    get_sidebar();
    echo '</div>
				</div>
			</div>
		</div>';
}
开发者ID:pearlohuy,项目名称:megashop,代码行数:10,代码来源:shop-functions.php

示例2: cherry_get_layout_class

			<div class="<?php 
echo cherry_get_layout_class('full_width_content');
?>
" data-motopress-wrapper-file="page-Portfolio3Cols-filterable.php" data-motopress-wrapper-type="content">
				<div class="row">
					<div class="<?php 
echo cherry_get_layout_class('full_width_content');
?>
" data-motopress-type="static" data-motopress-static-file="static/static-title.php">
						<?php 
get_template_part("static/static-title");
?>
					</div>
				</div>
				<div id="content" class="row">
					<div class="<?php 
echo cherry_get_layout_class('full_width_content');
?>
" data-motopress-type="loop" data-motopress-loop-file="loop/loop-portfolio3.php">
						<?php 
get_template_part("loop/loop-portfolio3");
?>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<?php 
get_footer();
开发者ID:hcone5006,项目名称:kfm,代码行数:31,代码来源:page-Portfolio3Cols-filterable.php

示例3: cherry_get_layout_class

	<div class="container">
		<div class="row">
			<div class="<?php 
echo cherry_get_layout_class('full_width_content');
?>
" data-motopress-wrapper-file="404.php" data-motopress-wrapper-type="content">
				<div class="row error404-holder">
					<div class="<?php 
echo cherry_get_layout_class('left_block');
?>
 error404-holder_num" data-motopress-type="static" data-motopress-static-file="static/static-404.php">
						<?php 
get_template_part("static/static-404");
?>
					</div>
					<div class="<?php 
echo cherry_get_layout_class('right_block');
?>
" data-motopress-type="static" data-motopress-static-file="static/static-not-found.php">
						<?php 
get_template_part("static/static-not-found");
?>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<?php 
get_footer();
开发者ID:robbuh,项目名称:CherryFramework,代码行数:31,代码来源:404.php

示例4: cherry_get_layout_class

?>
					</div>
				</div>
				<div class="row">
					<div class="<?php 
echo cherry_get_layout_class('content');
?>
 <?php 
echo of_get_option('blog_sidebar_pos');
?>
" id="content" data-motopress-type="loop" data-motopress-loop-file="loop/loop-archives.php">
						<?php 
get_template_part("loop/loop-archives");
?>
					</div>
					<div class="<?php 
echo cherry_get_layout_class('sidebar');
?>
 sidebar" id="sidebar" data-motopress-type="static-sidebar"  data-motopress-sidebar-file="sidebar.php">
						<?php 
get_sidebar();
?>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<?php 
get_footer();
开发者ID:robbuh,项目名称:CherryFramework,代码行数:31,代码来源:page-archives.php

示例5: theme_locals

        }
        if (!empty($portfolioURL)) {
            echo '<li>';
            echo "<a target='_blank' href='{$portfolioURL}'>" . theme_locals("launch_project") . "</a>";
            echo '</li>';
        }
        if (!empty($portfolioClient) || !empty($portfolioDate) || !empty($portfolioInfo) || !empty($portfolioURL)) {
            echo '</ul>';
        }
        ?>
				</div><!-- END .entry-meta -->
				<?php 
        the_content();
        //get_template_part('includes/post-formats/share-buttons');
        ?>
			</div><!-- END .entry-content -->
		</div><!-- .row -->
		<div class="row">
			<div class="<?php 
        echo cherry_get_layout_class('left_block');
        ?>
">
				<?php 
        get_template_part('includes/post-formats/related-posts');
        ?>
			</div>
		</div>
	</div>
<?php 
    }
}
开发者ID:sontv1003,项目名称:thepdaiphu,代码行数:31,代码来源:loop-single-portfolio.php

示例6: cherry_get_layout_class

echo cherry_get_layout_class('full_width_content');
?>
" data-motopress-wrapper-file="page.php" data-motopress-wrapper-type="content">
				<div class="row">
					<div class="<?php 
echo cherry_get_layout_class('full_width_content');
?>
" data-motopress-type="static" data-motopress-static-file="static/static-title.php">
						<?php 
get_template_part("static/static-title");
?>
					</div>
				</div>
				<div class="row">
					<div class="<?php 
echo cherry_get_layout_class('content');
?>
 <?php 
echo of_get_option('blog_sidebar_pos');
?>
" id="content" data-motopress-type="loop" data-motopress-loop-file="loop/loop-page.php">
						<?php 
get_template_part("loop/loop-page");
?>
					</div>
<!--					<div class="--><?php 
//echo cherry_get_layout_class( 'sidebar' );
?>
<!-- sidebar" id="sidebar" data-motopress-type="static-sidebar"  data-motopress-sidebar-file="sidebar.php">-->
<!--						--><?php 
//get_sidebar();
开发者ID:vanie3,项目名称:tint-my-ride,代码行数:31,代码来源:page.php

示例7: while

<?php

/* Loop Name: Single Portfolio */
if (have_posts()) {
    while (have_posts()) {
        the_post();
        $fullwidth = of_get_option('single_folio_layout') != 'fullwidth';
        $left_block = $fullwidth ? cherry_get_layout_class('left_block') : cherry_get_layout_class('full_width_content');
        $right_block = $fullwidth ? cherry_get_layout_class('right_block') : cherry_get_layout_class('full_width_content');
        $meta_blok_class = $fullwidth ? '' : 'span4 float-right';
        $content_blok_class = $fullwidth ? '' : 'span8';
        $wrapper_blok_class = $fullwidth ? '' : 'row';
        ?>
	<!--BEGIN .hentry -->
	<div <?php 
        post_class();
        ?>
 id="post-<?php 
        the_ID();
        ?>
">
		<div class="row">
			<div class="<?php 
        echo $left_block;
        ?>
">
			<?php 
        // get the media elements
        $mediaType = get_post_meta($post->ID, 'tz_portfolio_type', true);
        switch ($mediaType) {
            case "Image":
开发者ID:hcone5006,项目名称:kfm,代码行数:31,代码来源:loop-single-portfolio.php

示例8: get_template_part

</style>
<div class="row">
	<div class="stuck_menu_wrap">
	<div class="span4" data-motopress-type="static" data-motopress-static-file="static/static-logo.php">
		<?php 
get_template_part("static/static-logo");
?>
        <div class="miniMenu">
            <span></span>
            <span></span>
            <span></span>
        </div>
	</div>
    <div class="span8">
    	<div class="<?php 
echo cherry_get_layout_class('span8');
?>
" data-motopress-type="static" data-motopress-static-file="static/static-nav.php">
			<?php 
get_template_part("static/static-nav");
?>
		</div>
    </div>
    </div>
</div>
<div class="row">
	<div class="hidden-phone" data-motopress-type="static" data-motopress-static-file="static/static-search.php">
		<?php 
get_template_part("static/static-search");
?>
	</div>
开发者ID:Erazik,项目名称:yanin,代码行数:31,代码来源:wrapper-header.php


注:本文中的cherry_get_layout_class函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。