Warning: Undefined array key "cperpage" in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 134

Warning: Undefined variable $output in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 204

Warning: Undefined variable $fixed_tag in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 205

Warning: Undefined variable $showfullstop in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 206

Warning: Undefined variable $m_tag in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 209

Warning: Undefined variable $m_tag in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 212

Warning: Undefined variable $m_tag in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 215

Warning: Undefined variable $post in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 224

Warning: Attempt to read property "ID" on null in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 224

Warning: Undefined variable $post in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 224

Warning: Attempt to read property "ID" on null in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 224

Warning: Undefined variable $m_link_title in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/functions.php on line 224
[WordPress2.7.0] のsingle.php | じゃみじゃみ.net
じゃみじゃみ.net

[WordPress2.7.0] のsingle.php

2009.2.16(月) 16:39:34


いやぁ、困った。
Defaultテーマベースに作成しているサイトでの問題点。
single.phpでコメントの数が出てこない!
関数「comments_popup_link」が有効になってない!


ということで「wp-include/comment-template.php」の中を見に行くことに。
いきなり書いてありました。

   if ( is_single() || is_page() )

馬鹿かと。
速攻外してやりましたよ。

   if ( is_page() )


何故こんな制御をしてるのか意味がわからない!
絶対コメント数とかいるし!


今後このようなことがない為にメモメモ。


他のバージョンのWordpressもこんな設定なのかな?



トラックバック

コメントをどうぞ


Warning: Undefined variable $user_ID in /home/c0488491/public_html/blog.jamijami.net/wp-content/themes/eureka/comments.php on line 83

Proudly powered by WordPress. EureKa theme designer denied.
Copyright © じゃみじゃみ.net. All rights reserved. Theme Provided By Web Resources