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]

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

関連記事

no image

(日本語) 「最近の投稿」ウィジェット カスタマイズ

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

(日本語) 多言語化プラグイン「qTranslate」

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

(日本語) "コメントを残す" 削除・文言を変更する方法

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

Twenty Twelve | How to change "Proudly powered by WordPress" for Copyright*

Twenty Twelve in 1.1 This post explains how to change the strings "Proudly ~" in footer element. J

(日本語) ie.cssの子テーマ化など Twenty Twelve 1.1での変更点

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

(日本語) アバターサイズの変更など Twenty Twelve 1.3での変更点

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

(日本語) ログイン画面・機能をカスタマイズ

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

(日本語) 投稿記事から「(ログイン)ユーザー名」がバレるのを防ぐ

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

(日本語) 開発やテストに便利なプラグイン

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="

Comment

Leave a Reply to WordPressデフォルトテーマ「TwentyTwelve」の「コメントをどうぞ」を消す | 鹿通信 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 ↑