コード例 #1
0
ファイル: wp-rsscredit.php プロジェクト: jaroche/mdw
function rss_extracredit($content)
{
    if (!is_feed()) {
        return $content;
    }
    $avatar = str_replace(' />', ' style="float:left;padding:0 5px" />', get_author_avatar());
    $author = get_the_author();
    $permalink = get_permalink();
    $content .= "<hr /><p>{$avatar} <strong>{$author}</strong> para <a href=\"" . get_bloginfo('url') . '">' . get_bloginfo('name') . '.<br />' . "<a href=\"{$permalink}#respond\">Agrega tu comentario</a> | <a href=\"{$permalink}\">Enlace permanente</a> al art&iacute;culo</p>";
    return $content;
}
コード例 #2
0
ファイル: single.php プロジェクト: surperone/Lost
?>
			<div class="post-pagenvi">
			<?php 
wp_link_pages('before=<strong>&after=</strong>&next_or_number=next&previouspagelink=«&nextpagelink=&nbsp');
wp_link_pages('before=<span class="wp-pagenavi">&after=</span>&next_or_number=number');
//echo "&nbsp;";
wp_link_pages('before=<strong>&after=</strong>&next_or_number=next&previouspagelink=&nbsp&nextpagelink=»');
?>
  
			</div>
		</div>
	</article>
	
	<div class="post-author">
		<div class="post-author-avatar effect-hover"><?php 
get_author_avatar();
?>
</div>
		<div class="post-author-info"><h6><?php 
the_author();
?>
</h6>
		<p><?php 
the_author_description();
?>
</p></div>
	</div>

	<div class="post-info side-top-border" data-content="<?php 
_e('Meta', 'Lophita');
?>