• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP post_comments_feed_link函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: do_action

        ?>
" />
<input type="hidden" name="comment_post_ID" value="<?php 
        echo $id;
        ?>
" />
</p>
<?php 
        do_action('comment_form', $post->ID);
        ?>

</form>


<div class="reference-urls"><?php 
        post_comments_feed_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for these comments'));
        if (pings_open()) {
            ?>
	<a href="<?php 
            trackback_url();
            ?>
" rel="trackback" class="trackback"><?php 
            _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>');
            ?>
</a>
<?php 
        }
        ?>
</div>

开发者ID:GreeneHillFoodCoop,项目名称:public-website,代码行数:29,代码来源:comments.php


示例17: trackback_url

    ?>
	<p><a href="<?php 
    trackback_url('display');
    ?>
"><?php 
    _e('Trackback this post', 'flower-power');
    ?>
</a> &nbsp;|&nbsp; <?php 
    post_comments_feed_link(__('Subscribe to comments via RSS Feed', 'flower-power'));
    ?>
</p>
<?php 
} elseif (comments_open()) {
    ?>
	<p><?php 
    post_comments_feed_link(__('Subscribe to comments via RSS Feed', 'flower-power'));
    ?>
</p>
<?php 
} elseif (pings_open()) {
    ?>
	<p><a href="<?php 
    trackback_url('display');
    ?>
"><?php 
    _e('Trackback', 'flower-power');
    ?>
</a></p>
<?php 
}
?>
开发者ID:rmccue,项目名称:wordpress-unit-tests,代码行数:31,代码来源:comments.php


示例18: the_title_attribute

        ?>
" rel="bookmark" title="Permanent Link to <?php 
        the_title_attribute();
        ?>
"><?php 
        the_title();
        ?>
</a></h3>
                <small>Posted on <?php 
        the_time('l, F jS, Y');
        ?>
 at <?php 
        the_time();
        ?>
 | <?php 
        post_comments_feed_link('Subscribe to Comments');
        ?>
</small>
                <?php 
        the_excerpt();
        ?>
			<?php 
    }
    ?>

			<?php 
} else {
    ?>

			<p><?php 
    _e('Sorry, no posts matched your criteria.');
开发者ID:shimion,项目名称:tenmasthomeinner,代码行数:31,代码来源:pageIndustrynews.php


示例19: next_post_link

</div>
            		<div class="next"><?php 
    next_post_link('%link &raquo;');
    ?>
</div>
          		</nav>

				<footer class="post-info">
    				<small>Category: <?php 
    the_category(', ');
    ?>
 | <?php 
    the_tags('Tags: ', ', ', '');
    ?>
    				<?php 
    post_comments_feed_link('RSS (for these comments)');
    ?>
 |  
						
    				<?php 
    if ('open' == $post->comment_status && 'open' == $post->ping_status) {
        ?>
      				<!-- Both Comments and Pings are open -->
      				<a href="#respond">Leave a comment</a> | <a href="<?php 
        trackback_url(true);
        ?>
" rel="trackback">Trackback</a>
						
    				<?php 
    } elseif (!('open' == $post->comment_status) && 'open' == $post->ping_status) {
        ?>
开发者ID:jayroh,项目名称:html5_boilerplate_wordpress,代码行数:31,代码来源:single.php


示例20: the_time

		<div class="icon"><span class="ui-icon ui-icon-clock"></span> <?php 
        the_time('l, F jS, Y');
        ?>
 at <?php 
        the_time();
        ?>
</div> 
		<div class="icon"><span class="ui-icon ui-icon-folder-open"></span> <?php 
        the_category(' | ');
        if (get_the_tags()) {
            the_tags(' | ');
        }
        ?>
</div>
		<div class="icon"><span class="ui-icon ui-icon-signal-diag"></span>  <?php 
        post_comments_feed_link('Feed');
        ?>
</div> 
		<div id="dialog_link"><span class="ui-icon ui-icon-comment"></span><a href="#"> <?php 
        _e('Comments', 'fullscreen');
        ?>
</a></div>
		<div class="icon"><?php 
        edit_post_link(esc_html__('Edit', 'fullscreen'), '<span class="ui-icon ui-icon-pencil"></span>', '');
        ?>
</div>
		<div id="post-nav">
		    <div class="post-nav-prev"><?php 
        previous_post_link('%link', __('<span class="ui-icon ui-icon-circle-triangle-w"></span> Previous', 'fullscreen'), TRUE);
        ?>
</div>
开发者ID:lruelasvgim,项目名称:vgimwebsite,代码行数:31,代码来源:single.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP post_custom函数代码示例发布时间:2022-05-15
下一篇:
PHP post_class函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap