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]

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

関連記事

(日本語) 「カレンダー」ウィジェット カスタマイズ・プラグイン

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

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

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

no image

(日本語) ソーシャルボタン設置 プラグイン

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

Twenty Twelve | How to unlink Open Sans font

Twenty Twelve loads "Open Sans" font style as special font. in case you don't need this you can unl

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

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

(日本語) Twenty Thirteen テーマ用フォント "Source Sans Pro" / "Bitter"の使用を止

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

(日本語) 画像マウスオーバーでキャプションを表示

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

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

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

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 ↑