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 日本語.

no image

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

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

(日本語) 「All in One SEO Pack」を代替するための準備

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

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

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

(日本語) Tumblrの投稿をウィジェットに表示できる「Tumblr Widget」

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

(日本語) ナビゲーションメニューに検索フォームを追加

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

no image

(日本語) 「編集(Edit)」リンクの非表示方法

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

no image

(日本語) スライダー・ギャラリー プラグイン

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

no image

(日本語) アップグレードで「更新を展開しています... 」のままになった場合の対処のひとつ

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 ↑