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


PHP post_comments_feed_link函数代码示例

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


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

示例1: the_time

        the_time(get_option('date_format'));
        ?>
</div>
			<div class="entry">
				<?php 
        the_content();
        ?>
				<?php 
        the_tags(__('<p class="tags"><small>Tags: ', "feed-me-seymour"), ', ', '</small></p>');
        ?>
				<p class="postmetadata alt">
					<small>
						<?php 
        _e('This entry was posted on ', "feed-me-seymour") . the_time(get_option('date_format')) . _e(' at ', "feed-me-seymour") . the_time() . _e(' and is filed under ', "feed-me-seymour") . the_category(', ');
        echo '. ';
        _e('You can follow any responses to this entry through the ', "feed-me-seymour") . post_comments_feed_link('RSS 2.0') . _e(' feed.', "feed-me-seymour");
        ?>
					</small>
				</p>
			</div>
       		<?php 
        wp_link_pages(array('before' => '<p><strong>' . __('Pages', "feed-me-seymour") . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
        ?>
		</div>
		<?php 
        comments_template();
        ?>
	<?php 
    }
} else {
    ?>
开发者ID:kosir,项目名称:thatcamp-org,代码行数:31,代码来源:single.php

示例2: _e

<a href="#" class="tabs selected"><span><?php 
_e('Comments', 'lightword');
?>
 (<?php 
echo $comments_nr;
?>
)</span></a>
<a href="#" class="tabs"><span><?php 
_e('Trackbacks', 'lightword');
?>
 (<?php 
echo $trackbacks_nr;
?>
)</span></a>
<span class="subscribe_comments"><?php 
post_comments_feed_link(__('( subscribe to comments on this post )', 'lightword'));
?>
</span>
<div class="clear_tab"></div>
<div class="tab-content selected">
<a name="comments"></a>

<?php 
if ($comments) {
    ?>
<div id="comentarii">
<ol class="commentlist">
<?php 
    wp_list_comments('type=comment&callback=nested_comments');
    ?>
</ol>
开发者ID:roblillack,项目名称:lightword,代码行数:31,代码来源:comments.php

示例3: the_tags

        the_tags('<p>Tags: ', ', ', '</p>');
        ?>

                    <p>
                        Dieser Artikel wurde pfostiert am <?php 
        the_time('l, F jS, Y');
        ?>
 um <?php 
        the_time();
        ?>
 und ist kategorisiert <?php 
        the_category(', ');
        ?>
. 
                        Du kannst Kommentaren mit Hilfe des Feeds folgen: <?php 
        post_comments_feed_link('RSS 2.0');
        ?>

                        <?php 
        if ('open' == $post->comment_status && 'open' == $post->ping_status) {
            // both comments and pings open
            ?>
                            Das Hinterlassen von <a href="#respond">Kommentaren</a> und <a href="<?php 
            trackback_url();
            ?>
" rel="trackback">Trackbacks</a> ist erlaubt und erwünscht.

                        <?php 
        } elseif (!('open' == $post->comment_status) && 'open' == $post->ping_status) {
            // only pings are open
            ?>
开发者ID:erlehmann,项目名称:XH5,代码行数:31,代码来源:image.php

示例4: the_tags

        the_tags('Tags: ');
        ?>
<br />
                    Category: <?php 
        the_category(', ');
        ?>
 <br />
                    This entry was posted <?php 
        the_time('l, j F, Y');
        ?>
 at <?php 
        the_time();
        ?>
<br />
                    You can follow any responses to this entry via <?php 
        post_comments_feed_link('RSS');
        ?>
.<br />
                </div>
            </div>
            <?php 
        comments_template('', true);
        ?>
            <div class="navigation">
                <div class="nav-prev"><?php 
        previous_post_link('&laquo; %link');
        ?>
</div>
                <div class="nav-next"><?php 
        next_post_link('%link &raquo;');
        ?>
开发者ID:Art2u,项目名称:EK-Blank-woo-commerce,代码行数:31,代码来源:single.php

示例5: edit_post_link

</span>
				</p>
				<div class="clear"></div>
			</div>
			<small><?php 
        edit_post_link('Admin: Edit this entry', '', '');
        ?>
</small>

			<div class="postmetabottom">
				<div class="tags"><?php 
        the_tags('Tags: ', ', ', '');
        ?>
</div>
				<div class="readmore"><?php 
        post_comments_feed_link(__('Comments <abbr title="Really Simple Syndication">RSS</abbr> feed'));
        ?>
</div>
			</div>

		</div><!-- /post -->

		<div id="comments">
		<?php 
        if (function_exists('wp_list_comments')) {
            ?>

		<!-- WP 2.7 and above -->
		<?php 
            comments_template('', true);
            ?>
开发者ID:TheWandererLee,项目名称:Git-Projects,代码行数:31,代码来源:single.php

示例6: the_title

&amp;title=<?php 
the_title();
?>
"><img class="bookmark_icon" src="<?php 
bloginfo('stylesheet_directory');
?>
/images/bookmark/stumbleupon.png" alt="StumbleUpon" /></a></li>
	<li><a href="http://reddit.com/submit?url=<?php 
the_permalink();
?>
&amp;title=<?php 
the_title();
?>
"><img class="bookmark_icon" src="<?php 
bloginfo('stylesheet_directory');
?>
/images/bookmark/reddit.png" alt="Reddit" /></a></li>
	<li><a href="http://twitter.com/home?status=<?php 
the_permalink();
?>
"><img class="bookmark_icon" src="<?php 
bloginfo('stylesheet_directory');
?>
/images/bookmark/twitter.png" alt="Twitter" /></a></li>
	<li><?php 
$themePath = get_bloginfo('template_url');
$imagePath = '<img class="bookmark_icon" src="' . $themePath . '/images/bookmark/rss.png" alt="RSS" />';
post_comments_feed_link($link_text = $imagePath);
?>
</li>
</ul>
开发者ID:boltogriz,项目名称:blog-cook,代码行数:31,代码来源:bookmark.php

示例7: _e

<div id="comments">
	<div class="pagewrap">
<?php 
}
?>

<?php 
if ($post->comment_status == 'open') {
    ?>
	<div class="info">
		<a href="#respond" title="Skip all the comments"><?php 
    _e('Reply now', 'guangzhou');
    ?>
</a> | 
		<?php 
    post_comments_feed_link('<img src="' . get_bloginfo('template_url') . '/image/feed.png" width="16" height="16" alt="Feed"/>');
    ?>
	</div>
<?php 
}
?>

<?php 
if (GZ_Comments::comments_number() > 0) {
    ?>
	<h3><?php 
    echo GZ_Comments::comments_title();
    ?>
</h3>

	<?php 
开发者ID:billerby,项目名称:Surdeg,代码行数:31,代码来源:comments.php

示例8: printf

 */
// Password Protection
if (post_password_required()) {
    return;
}
?>

		<h4><?php 
/* translators: 1: language string for the number of comment(s), 2: post title */
printf(_n('<span id="comments">1</span> Response to %2$s', '<span id="comments">%1$s</span> Responses to %2$s', get_comments_number(), 'k2'), number_format_i18n(get_comments_number()), '&#8220;' . get_the_title() . '&#8221;');
?>
</h4>

		<div class="metalinks">
			<span class="commentsrsslink"><?php 
post_comments_feed_link(__('Feed for this Entry', 'k2'));
?>
</span>
			<?php 
if (pings_open()) {
    ?>
			<span class="trackbacklink"><a href="<?php 
    trackback_url();
    ?>
" title="<?php 
    _e('Copy this URI to trackback this entry.', 'k2');
    ?>
"><?php 
    _e('Trackback Address', 'k2');
    ?>
</a></span>
开发者ID:Acidburn0zzz,项目名称:K2,代码行数:31,代码来源:comments.php

示例9: comment_id_fields

        }
        ?>


<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>

<p><input name="submit" type="submit" id="commentsubmit" tabindex="5" value="Post" />
<?php 
        comment_id_fields();
        ?>
</p>
<?php 
        do_action('comment_form', $post->ID);
        ?>

</form>

<div class="comment-rss"><?php 
        post_comments_feed_link('Subscribe to Comments via RSS');
        ?>
</div>

<?php 
    }
    // If registration required and not logged in
    ?>
</div>

<?php 
}
// if you delete this the sky will fall on your head
开发者ID:nguyenthai2010,项目名称:ngocshop,代码行数:31,代码来源:comments.php

示例10: get_comment_type_count

    return;
}
$comments_nr = get_comment_type_count('comment');
$trackbacks_nr = get_comment_type_count('ping');
?>
<div id="tabsContainer">

<a href="#" class="tabs selected"><span>Comments (<?php 
echo $comments_nr;
?>
)</span></a>
<a href="#" class="tabs"><span>Trackbacks (<?php 
echo $trackbacks_nr;
?>
)</span></a>  <?php 
post_comments_feed_link(__('<span class="subscribe_comments">( subscribe to comments on this post )</span>'));
?>
<div class="clear_tab"></div>
<div class="tab-content selected">
<?php 
if ($comments) {
    ?>
<div id="comentarii">
<ol class="commentlist">

<?php 
    foreach ($comments as $comment) {
        $comment_type = get_comment_type();
        if ($comment_type == 'comment') {
            ?>
<li class="alt <?php 
开发者ID:simos,项目名称:lightword,代码行数:31,代码来源:comments.php

示例11: the_category_rss

        the_category_rss();
        ?>
			<guid isPermaLink="false"><?php 
        echo get_permalink($post->ID);
        ?>
</guid>
			<description><![CDATA[<?php 
        the_excerpt();
        ?>
]]></description>
			<content:encoded><![CDATA[<?php 
        the_content('Read more...');
        ?>
]]></content:encoded>
			<wfw:commentRss><?php 
        post_comments_feed_link();
        ?>
</wfw:commentRss>
			<slash:comments><?php 
        comments_number('zero', 'one', 'more');
        ?>
</slash:comments>
			</item>
			
	<?php 
    }
} else {
    ?>

<?php 
}
开发者ID:underlost,项目名称:WP-Feed-Template,代码行数:31,代码来源:feed.php

示例12: show_post_attachment

			
			<?php 
        show_post_attachment($post->ID);
        ?>
      
			<dl class="aside">
			  <?php 
        the_tags('<dt class="tags">Tagged</dt><dd>', ', ', '</dd>');
        ?>
			  <dt class="category">Posted in</dt>
			  <dd><?php 
        the_category(', ');
        ?>
</dd>
			  <dt class="comments">Follow the <?php 
        post_comments_feed_link('comments');
        ?>
.</dt>
			  <?php 
        edit_post_link('Edit this entry', '<dt class="edit">', '</dt>');
        ?>
			</dl>
		</div>

    <div class="comments-wrapper">
		<?php 
        if (!('open' == $post->comment_status) && 'open' == $post->ping_status) {
            // Only Pings are Open
            ?>
			Comments are currently closed.
		<?php 
开发者ID:jasonn,项目名称:africankelli-2,代码行数:30,代码来源:single.php

示例13: _e

} else {
    // this is displayed if there are no comments so far
    ?>

	<?php 
    if (comments_open()) {
        ?>
		<!-- If comments are open, but there are no comments. -->
        <p class="simple-red tac squeezepad">At last you are here. Be bold. Sieze the moment. Be the first to take the opportunity to post a comment here. <br /><br /><em>We have beeen waiting for you to arrive here to provide your feedback. Now that you are here, go ahead and post a quick note. We would appreciate it. </em></p>

	 <?php 
    } else {
        // comments are closed
        ?>
		<p class="nocomments"><?php 
        !is_page() ? _e('Comments are closed.', 'wordsmith-anvil') : '';
        ?>
</p>
	<?php 
    }
}
$fields = array('author' => '<div class="comment-form-info"><p class="comment-form-author">' . '<label for="author">' . __('Name') . '</label> ' . ($req ? '<span class="required">*</span>' : '') . '<input id="author" name="author" type="text" value="' . esc_attr($commenter['comment_author']) . '" size="40" /></p>', 'email' => '<p class="comment-form-email"><label for="email">' . __('Email') . '</label> ' . ($req ? '<span class="required">*</span>' : '') . '<input id="email" name="email" type="text" value="' . esc_attr($commenter['comment_author_email']) . '" size="40"/></p>', 'url' => '<p class="comment-form-url"><label for="url">' . __('Website') . '</label>' . '<input id="url" name="url" type="text" value="' . esc_attr($commenter['comment_author_url']) . '" size="40" /></p></div>');
comment_form(array('fields' => apply_filters('comment_form_default_fields', $fields), 'comment_field' => '<div class="comment-form-msg"><p class="comment-form-comment"><label for="comment">' . __('My Feedback is: ', 'wordsmith-anvil') . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p></div>', 'comment_notes_before' => '<p class="comment-notes">' . __('Your email is safe here. It will not be published or shared.', 'wordsmith-anvil') . ($req ? __(' Required fields are marked <span class="required">*</span>', 'wordsmith-anvil') : '') . '</p>', 'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf(__('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s', 'wordsmith-anvil'), ' <br /><br /><code>' . allowed_tags() . '</code>') . '</p>', 'id_submit' => 'submit', 'title_reply' => __('Add Your Comment, Feedback or Opinion Here', 'wordsmith-anvil'), 'cancel_reply_link' => __('(Cancel Reply)', 'wordsmith-anvil'), 'label_submit' => __('Add Comment', 'wordsmith-anvil')));
?>
<div class="comments-rss"><?php 
post_comments_feed_link(__('Subscribe to comments', 'wordsmith-anvil'));
// addedin 1.6.8
?>
</div>
<br class="clearboth" />
</div><!-- #comments -->
开发者ID:alpual,项目名称:Caitlin-Sabo,代码行数:31,代码来源:comments.php

示例14: render_partial

						Both comments and pings are currently closed.
					<?php 
        }
        ?>
          <?php 
        render_partial('meta');
        ?>
			</p>

		</div><!-- .entry -->
	</div>

<div id="comments-container">
<?php 
        comments_template();
        ?>
<span id="comments-rss"><?php 
        post_comments_feed_link('Article Comments RSS');
        ?>
</p>
</div>

<?php 
    }
} else {
    ?>

	<p>Sorry, no posts matched your criteria.</p>

<?php 
}
开发者ID:adamhunter,项目名称:Black-Apple,代码行数:31,代码来源:single.php

示例15: _e

    if (!comments_open()) {
        // There are comments but comments are now closed
        ?>
    	<p class="nocomments"><?php 
        _e('Comments are closed.', 'gridby');
        ?>
</p>
    <?php 
    }
} else {
    // I.E. There are no Comments
    if (comments_open()) {
        // Comments are open, but there are none yet
        // echo"<p>Be the first to write a comment.</p>";
    } else {
        // comments are closed
        ?>
       <p class="nocomments"><?php 
        _e('Comments are closed.', 'gridby');
        ?>
</p>
    <?php 
    }
}
// Display Form/Login info Section
// the comment_form() function handles this and can be used without any paramaters simply as "comment_form()"
comment_form(array('comment_field' => '<p><textarea name="comment" id="comment" cols="58" rows="10" tabindex="4" aria-required="true"></textarea></p>', 'label_submit' => '' . __('Submit Comment') . '', 'comment_notes_after' => ''));
// RSS comments link
echo '<div class="comments_rss">';
post_comments_feed_link('' . __('Comments RSS Feed') . '');
echo '</div>';
开发者ID:achoukah,项目名称:anna-photography,代码行数:31,代码来源:comments.php


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