升级wp2.3以后,原先的image head的插件一直无法使用,原因是部分函数的变化,导致插件无法读出标题。
看了wp官方的一个帖子后,找到一个解决办法,将
-
the_title('-image-');
改成
至少这一方法对我有效,但是否会出现问题还不得而知。
body { background-image: url("http://www.antonioz.com/wp-content/themes/soothe/images/shadowchunk.jpg"); background-repeat: repeat-y; background-position: 0px; } #header { background: url("http://www.antonioz.com/wp-content/themes/soothe/images/sootheheader.jpg") no-repeat bottom center; } #sidebar { background-image: url("http://www.antonioz.com/wp-content/themes/soothe/images/soothesidebarbg.jpg"); background-repeat: no-repeat; background-position: top; } #headerimagemap { position: relative; display: block; left: 610px; top: 2px; width: 132px; height: 22px; visibility: visible; cursor: pointer; } #wp-calendar { background-image: url("http://www.antonioz.com/wp-content/themes/soothe/images/soothecalback.jpg"); background-repeat: no-repeat; background-position: top; } #wp-calendar caption { background-image: url("http://www.antonioz.com/wp-content/themes/soothe/images/caltop.png"); background-repeat: no-repeat; background-position: bottom; } #headerimagemap i { display: block; width: 132px; height: 22px; visibility: visible; } #headerimagemap i a:hover { text-decoration: none; } td#today { background-image: url("http://www.antonioz.com/wp-content/themes/soothe/images/todayback.png"); background-repeat: no-repeat; background-position: center; color: #000; } .entry ul li:before, #sidebar ul ul li { list-style-image: url("http://www.antonioz.com/wp-content/themes/soothe/images/redball.png"); } /* Because the template is slightly different, size-wise, with images, this needs to be set here If you don't want to use the template's images, you can also delete the following two lines. */ #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; } #headerimg { margin: 7px 9px 0; height: 192px; width: 740px; } /* END IMAGE CSS */ /* To ease the insertion of a personal header image, I have done it in such a way, that you simply drop in an image called 'personalheader.jpg' into your /images/ directory. Dimensions should be at least 760px x 200px. Anything above that will get cropped off of the image. */ /* #headerimg { background: url('http://www.antonioz.com/wp-content/themes/soothe/images/personalheader.jpg') no-repeat top;} */
升级wp2.3以后,原先的image head的插件一直无法使用,原因是部分函数的变化,导致插件无法读出标题。
看了wp官方的一个帖子后,找到一个解决办法,将
改成
至少这一方法对我有效,但是否会出现问题还不得而知。
上周wordpress已经在为发布2.3做准备了,这几天一直有事没顾得上关注它了,今天升级以后发现很多函数都有改动,导致很多插件无法正常调用函数,所以如果你的插件安装的很多,或者不是很迫切需要升级新的版本,我觉得还是停留在2.2以下比较好。
2.3以后wordpress有自己的tag系统了,感觉是由那个tag插件演变而来。而使用tag需要在非默认模板下稍作改动
在
前
加入