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


PHP thematic_belowpost函数代码示例

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


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

示例1: thematic_tag_loop

    /**
     * The Tag loop
     * 
     * Located in tag.php
     * 
     * Override: childtheme_override_tag_loop
     */
    function thematic_tag_loop()
    {
        while (have_posts()) {
            the_post();
            // action hook for insterting content above #post
            thematic_abovepost();
            ?>

				<div id="post-<?php 
            the_ID();
            ?>
" <?php 
            post_class();
            ?>
 > 

				<?php 
            // creating the post header
            thematic_postheader();
            ?>
     				
					<div class="entry-content">
					
						<?php 
            thematic_content();
            ?>

					</div><!-- .entry-content -->
					
					<?php 
            thematic_postfooter();
            ?>
					
				</div><!-- #post -->

			<?php 
            // action hook for insterting content below #post
            thematic_belowpost();
        }
    }
开发者ID:rowatt,项目名称:Thematic,代码行数:47,代码来源:content-extensions.php

示例2: thematic_postheader

thematic_postheader();
?>
	                
					<div class="entry-content">
	
	                    <?php 
the_content();
wp_link_pages("\t\t\t\t\t<div class='page-link'>" . __('Pages: ', 'thematic'), "</div>\n", 'number');
edit_post_link(__('Edit', 'thematic'), '<span class="edit-link">', '</span>');
?>
	
					</div><!-- .entry-content -->
				</div><!-- #post -->
	
	        <?php 
thematic_belowpost();
// calling the comments template
if (THEMATIC_COMPATIBLE_COMMENT_HANDLING) {
    if (get_post_custom_values('comments')) {
        // Add a key/value of "comments" to enable comments on pages!
        thematic_comments_template();
    }
} else {
    thematic_comments_template();
}
// calling the widget area 'page-bottom'
get_sidebar('page-bottom');
?>
	
			</div><!-- #content -->
			
开发者ID:StudentLifeMarketingAndDesign,项目名称:krui-wp,代码行数:30,代码来源:page.php

示例3: thematic_single_post_xhtml

/**
 * The single posts xhtml loop
 * 
 * @since 2.0.0
 */
function thematic_single_post_xhtml()
{
    // action hook for insterting content above #post
    thematic_abovepost();
    ?>
		
			<div id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class();
    ?>
 > 

			<?php 
    // creating the post header
    thematic_postheader();
    ?>
 				
				<div class="entry-content">
				
					<?php 
    thematic_content();
    ?>

					<?php 
    wp_link_pages(array('before' => sprintf('<div class="page-link">%s', __('Pages:', 'thematic')), 'after' => '</div>'));
    ?>
					
				</div><!-- .entry-content -->
				
				<?php 
    thematic_postfooter();
    ?>
				
			</div><!-- #post -->
	<?php 
    // action hook for insterting content below #post
    thematic_belowpost();
}
开发者ID:scottnix,项目名称:Thematic,代码行数:45,代码来源:legacy.php

示例4: thematic_tag_loop

    /**
     * The Tag loop
     * 
     * Located in tag.php
     * 
     * Override: childtheme_override_tag_loop
     */
    function thematic_tag_loop()
    {
        while (have_posts()) {
            the_post();
            // action hook for insterting content above #post
            thematic_abovepost();
            ?>

				<?php 
            echo '<div id="post-' . get_the_ID() . '" ';
            // Checking for defined constant to enable Thematic's post classes
            if (!THEMATIC_COMPATIBLE_POST_CLASS) {
                post_class();
                echo '>';
            } else {
                echo 'class="';
                thematic_post_class();
                echo '">';
            }
            // creating the post header
            thematic_postheader();
            ?>
     				
					<div class="entry-content">
					
						<?php 
            thematic_content();
            ?>

					</div><!-- .entry-content -->
					
					<?php 
            thematic_postfooter();
            ?>
					
				</div><!-- #post -->

			<?php 
            // action hook for insterting content below #post
            thematic_belowpost();
        }
    }
开发者ID:kuberjsr,项目名称:thematic,代码行数:49,代码来源:content-extensions.php

示例5: thematic_tag_loop

    function thematic_tag_loop()
    {
        while (have_posts()) {
            the_post();
            thematic_abovepost();
            ?>

				<div id="post-<?php 
            the_ID();
            echo '" ';
            if (!THEMATIC_COMPATIBLE_POST_CLASS) {
                post_class();
                echo '>';
            } else {
                echo 'class="';
                thematic_post_class();
                echo '">';
            }
            thematic_postheader();
            ?>
					<div class="entry-content">
<?php 
            thematic_content();
            ?>

					</div><!-- .entry-content -->
					<?php 
            thematic_postfooter();
            ?>
				</div><!-- #post -->

			<?php 
            thematic_belowpost();
        }
    }
开发者ID:sams,项目名称:Thematic-html5boilerplate,代码行数:35,代码来源:content-extensions.php


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