Twenty Twelve | How to Remove "Leave a reply" under the post title

Twenty Twelve in 1.1

Introducing the way to remove "Leave a reply" which will take you to comment area by clicking.

This is referred in content.php. so you should copy it into child theme directory and just comment out div element with [class="comments-link"]
[php]
<?php if(0){ // comment-out ?>
<?php if ( comments_open() ) : ?>
<div class="comments-link">
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?>
</div><!-- .comments-link -->
<?php endif; // comments_open() ?>
<?php } // comment-out ?>
[/php]

  • このエントリーをはてなブックマークに追加

関連記事

(日本語) ブルー・オレンジ・ピンクと選べるテーマ「Bouquet」をカスタマイズ

Sorry, this entry is only available in 日本語.

(日本語) テーマ 「Responsive」 カスタマイズ

Sorry, this entry is only available in 日本語.

(日本語) Twenty Twelve 投稿者情報を表示/非表示に

Sorry, this entry is only available in 日本語.

(日本語) テーマ ブックマーク 2013

Sorry, this entry is only available in 日本語.

(日本語) Google Code Prettifyを使用してソースコードを表示をしてくれる「Prettify Code Syntax」

Sorry, this entry is only available in 日本語.

(日本語) Twenty Fourteen "コメントをどうぞ"の非表示と変更方法

Sorry, this entry is only available in 日本語.

(日本語) ポップアップが実装できるプラグイン「Anything popup」「Easy Modal」

Easy Modal[/caption] Easy Modal[/caption] Easy Modal[/caption][caption id="attachment_8281" align="

(日本語) 投稿タイトルのtitle属性を削除など Twenty Twelve 1.2での変更点

Sorry, this entry is only available in 日本語.

Contact Form 7 | Failed to send your message~

This has been fixed in WordPress 3.5 When encountered the following message, please try with the

(日本語) 「続きを読む」(moreタグ)をカスタマイズ

Sorry, this entry is only available in 日本語.

Comment

Leave a Reply to @satta_m Cancel reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    PAGE TOP ↑