本文整理汇总了PHP中html5wp_excerpt函数的典型用法代码示例。如果您正苦于以下问题:PHP html5wp_excerpt函数的具体用法?PHP html5wp_excerpt怎么用?PHP html5wp_excerpt使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html5wp_excerpt函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _e
_e('Published by', 'html5blank');
?>
<?php
the_author_posts_link();
?>
</span>
<span class="comments"><?php
if (comments_open(get_the_ID())) {
comments_popup_link(__('Leave your thoughts', 'html5blank'), __('1 Comment', 'html5blank'), __('% Comments', 'html5blank'));
}
?>
</span>
<!-- /post details -->
<?php
html5wp_excerpt('html5wp_index');
// Build your custom callback length in functions.php
?>
<?php
edit_post_link();
?>
</article>
<!-- /article -->
<?php
}
?>
<?php
示例2: _e
_e('Published by', 'html5blank');
?>
<?php
the_author_posts_link();
?>
</span> -->
<!-- <span class="comments"><?php
if (comments_open(get_the_ID())) {
comments_popup_link(__('Leave your thoughts', 'html5blank'), __('1 Comment', 'html5blank'), __('% Comments', 'html5blank'));
}
?>
</span> -->
<!-- /post details -->
<?php
html5wp_excerpt(200);
// Build your custom callback length in functions.php
?>
<?php
//edit_post_link();
?>
</div>
</div>
</article>
<!-- /article -->
<?php
}
示例3: the_permalink
<h5 class="alt"><a href="<?php
the_permalink();
?>
" title="<?php
the_title();
?>
"><?php
the_title();
?>
</a></h5>
<h6 class="post-date alt"><?php
the_time('M. j, Y');
?>
</h6>
<p><?php
html5wp_excerpt('concorde_index');
?>
</p>
</div><!-- blog-post -->
<?php
}
?>
<?php
}
?>
</div><!-- col-6 col-xs-12 -->
</div><!-- row -->
</div><!-- col-8 -->
<?php
get_sidebar();
?>
示例4: the_author_link
the_author_link();
?>
</a>
</h2>
<h3 id="subtitulo"><?php
the_title();
?>
</h2>
<p class="subtitulo"><?php
echo get_post_meta(get_the_id(), 'subtitulo', true);
?>
</p>
<div class="text-justify">
<?php
html5wp_excerpt('html5wp_custom_post');
?>
</div>
<a href="<?php
the_permalink();
?>
" class="text-center enlace">Ver más</a>
示例5: the_permalink
</a>
</div>
<div class="media-body">
<h4 class="title"><a href="<?php
the_permalink();
?>
" title="<?php
the_title();
?>
"><?php
the_title();
?>
</a></h4>
<div class="desc"><?php
html5wp_excerpt(html5wp_index);
?>
</div>
</div>
</div>
</li>
<?php
}
?>
<?php
wp_reset_query();
?>
示例6: the_time
the_time('g:i a');
?>
</span> | <span class="author"><?php
_e('Published by', 'felix');
?>
<?php
the_author_posts_link();
?>
</span> | <span class="comments"><?php
comments_popup_link(__('Leave your thoughts', 'felix'), __('1 Comment', 'felix'), __('% Comments', 'felix'));
?>
</span>
<!-- /post details -->
<?php
html5wp_excerpt('felix_index');
// Build your custom callback length in functions.php
?>
<br class="clear">
<?php
edit_post_link();
?>
</article>
<!-- /article -->
<?php
}
?>
示例7: the_title
"><?php
the_title();
?>
</a>
</h3>
<!-- /post title -->
<!-- post excerpt -->
<p><?php
echo $subtitle;
?>
</p>
<!-- /post excerpt -->
</div>
<div class="konkurs-description">
<?php
html5wp_excerpt('longer_excerpt');
?>
</div>
<div class="konkurs-right-top clearfix">
<!-- share post -->
<div class="social social-konkurs pull-left">
<ul class="clearfix">
<li><a class="facebook-share" href="#" data-name="<?php
echo $title;
?>
" data-image="<?php
echo $image;
?>
" data-caption="Dev9t - stvaraj dalje" data-description="<?php
echo $excerpt;
?>
示例8: the_permalink
echo the_permalink();
} else {
if (get_post_type() == 'project') {
echo get_post_type_archive_link('project') . '#' . $post->post_name;
}
}
?>
">
<?php
the_title();
?>
</a>
</div>
<?php
html5wp_excerpt('html5wp_search', 'html5wp_search_more');
// Build your custom callback length in functions.php
?>
<!-- post thumbnail -->
<?php
if (has_post_thumbnail()) {
?>
<!-- <a href="<?php
echo get_post_type_archive_link('project') . '#' . $post->post_name;
?>
" > -->
<a href="<?php
if (get_post_type() == 'labo') {
echo the_permalink();
} else {