昨晚把首页的图片稍微PS了一下,比以前单调的那种好看了许多。上午一直在弄CoolPlayer这个插件,方法是从这里学来的,尽管他比原作者写的还全面,甚至还多了一步,可是我依然没有弄成功。至于原因我认为是版本和浏览器的问题,这个WordPress2.01中万恶的所见即所得编辑器好像没有什么用处。无论你关掉还是打开它,都是徒劳,因为在FireFox和Maxthon中它总是倔强的显示,而在Opera中就销声匿迹了。
现在我发现了一个不小的问题,点击右边的Archives下面的二月 2006,不得了了,页面全乱了。我调整了半天才发现不知道哪里多出来“<pre><code>(文章正文)</code></pre>”这样的代码,我把theme里面所有的文件都查了一遍,好像也没有看到这个”<pre>”这个罪魁祸首。无奈之下只好作罢,如果有高人路过敬请指教。
UPDATE(2006.02.20):问题解决!
解决办法:我删除了当前模版里面的archives.php文件,然后把archive.php文件中的
“<?php the_excerpt() ?>”
换成almost-spring模版里面的
“<?php the_content(“<p>__(‘Read the rest of this entry »’)</p>”); ?> ”。
bingo!
> kDolphin Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
18 2 月, 2006 at 下午10:24
你直接编辑那些有问题的文章去掉pre可以吗?
在之前尝试一下:1。关闭所有插件 2。关闭可视编辑器 3。用ie编辑。
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kevin Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
19 2 月, 2006 at 上午11:48
[Comment ID #23 Will Be Quoted Here]
问题不是在文章,而是在Archives模版,可是我在模版文件里面根本找不到这个代码,你觉得是什么原因呢 ?
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kDolphin Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
19 2 月, 2006 at 下午12:17
我察看了你的css,看来没问题,如果你没有修改过archives模版,那也应该没问题。所以剩下的我只能猜测是某一个插件造成这样的结果。
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kevin Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
19 2 月, 2006 at 下午1:07
[Comment ID #26 Will Be Quoted Here]
你说的没错,当我换了另外一个模版的时候,他的确显示正确了。
看来是archives的问题(是archive.php还是archives.php呢?)
但是我在archives里面并没有找到代码。
所以说我觉得还是很诡异,插件不应该有问题啊。
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kevin Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
19 2 月, 2006 at 下午1:27
在默认的模版里面有一句
而在Almost Spring 1.0模版里面是这样的
__(‘Read the rest
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kastner Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
19 2 月, 2006 at 下午1:47
我浏览发现文章的换行代码似乎有问题。如果不是有你手动换行,模板的自主断字换行看来失效,造成侧栏被挤到底部。
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kDolphin Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
19 2 月, 2006 at 下午6:19
pre/code代码里面的内容是不会自己换行的。
excerpt()在哪里我就不知道了,你去http://codex.wordpress.org去查查,不过需要代理。
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kastner Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
19 2 月, 2006 at 下午9:46
为什么我先去留言后整个页面走样了?
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kastner Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
19 2 月, 2006 at 下午9:48
为什么我先前留言后整个页面走样了?
(现在似乎又好了 :em06: )
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> kevin Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
20 2 月, 2006 at 上午8:18
[Comment ID #32 Will Be Quoted Here]
是我在上一篇留言加了
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
> 维修论坛 Says:
Warning: Undefined variable $comment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
Warning: Attempt to read property "comment_approved" on null in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 29
31 12 月, 2008 at 下午3:46
今晚是新历年的除夕了。在这祝福大家元旦快乐
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 252
Warning: Attempt to read property "user_level" on bool in /www/wwwroot/blog/wp-includes/deprecated.php on line 253
Warning: Undefined variable $oddcomment in /www/wwwroot/blog/wp-content/themes/OtherSide/comments.php on line 86