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]
関連記事
-
(日本語) Twenty Fourteen クレジットを非表示・変更方法
Sorry, this entry is only available in 日本語.
-
(日本語) 新年早々やらかした
Sorry, this entry is only available in 日本語.
-
(日本語) 独自のCSSやJSを読み込む
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 日本語.
-
(日本語) ie.cssの子テーマ化など Twenty Twelve 1.1での変更点
Sorry, this entry is only available in 日本語.
-
(日本語) 条件を付けて訪問時に開くポップアップを実装できる「WordPress Popup」
Sorry, this entry is only available in 日本語.
-
(日本語) 画像マウスオーバーでキャプションを表示
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
Comment
Thanks for finally talking about >WordPress - Twenty Twelve "コメントをどうぞ"を消す
<Liked it!
[…] Twenty Twelve “コメントをどうぞ”を消す […]
コメントをどうぞを消す!! ☆Twenty Twelve https://t.co/NOMlvVCMCR
わかりづらすぎんだよ
.comments-link {
display: none
}
をstyle.cssのどこにいれるかをかけよ
末尾に追加すればイイですよー
[…] 参考にさせて頂いたブログ TwentyTwelve”コメントをどうぞ”を消す […]
[…] Think deeply, Do less, More effective […]
Twenty Twelve http://t.co/kJDHOGX8fw タイトル下の「コメントをどうぞ」の消し方。子テーマのcss?
[…] なりスッキリしました。これは懸案の一つでわからなかったので、検索しました。http://kwski.net/wordpress/983/ を参考にさせていただきました。少し文章がわかりにくかったですがソースみ […]
[…] 書くと、タイトルの下に「コメントをどうぞ」というコメント欄へのリンクが表示されます。 これを表示しないようにカスタマイズします。 Twenty Twelve “コメントをどうぞ”を消す […]
[…] ○”コメントをどうぞ”の非表示 Think deeply, Do less, More effective […]
[...] hink deeply, Do less, More effective WordPress: Twenty Twelve “コメントをどうぞ”(タイトル下)を消す [...]
[...] Think deeply, Do less, More effectiveより 「WordPress: Twenty Twelve “コメントをどうぞ”(タイトル下)を消す」 [...]
WordPress: Twenty Twelve "コメントをどうぞ"(タイトル下)を消す | Think deeply, Do less, More effective" http://htn.to/HFu7sN
[...] WordPress: Twenty Twelve “コメントをどうぞ”(タイトル下)を消す | Think deeply, Do less, More effective [...]