換主題 導致Fatal error , 全blog都打不開
-
我用了個叫’skymag’的主題 , 便甚麼都見不了
卻出現了 Fatal error: Call to undefined function add_theme_support() in /home/我的網址/blog/wp-content/themes/skymag/includes/images.php on line 22 (連主頁也是這行字)所謂的line 22 , 是不是如下 :
/* Adds theme support for post images. */
add_theme_support( ‘post-thumbnails’ );/**
* This is a highly intuitive function that gets images. It first calls for custom field keys. If no
* custom field key is set, check for the_post_thumbnail(). If no post image, check for images
* attached to post. Check for image order if looking for attached images. Scan the post for
* images if $image_scan = true. Check for default image if $default_image = true. If an image
* is found, call display_the_image() to format it.
*
* @since 0.1
* @global $post The current post’s DB object.
* @param array $args Parameters for what image to get.
* @return string|array The HTML for the image. | Image attributes in an array.
*/但是不明白所指
*不能用那theme便算 , **可以教我在甚麼地方, 怎樣改為用其他主題(如default或mistylook都可) , ***以恢復原blog (已有百多篇)
- The topic ‘換主題 導致Fatal error , 全blog都打不開’ is closed to new replies.