专业提示:掌握 WordPress 2.9 中新的“后缩略图”功能
在 WordPress 2.9 发布之前,为您的博客设置“后图像”支持是一项比实际需要的任务更加繁琐的任务。幸运的是,这不再是问题。我将在这个四分钟的视频快速提示中向您展示如何进行设置。
第 1 步:编辑 Functions.php 页面
// Enable support for post-thumbnails add_theme_support('post-thumbnails'); // If we want to ensure that we only call this function if // the user is working with WP 2.9 or higher, // let's instead make sure that the function exists first if ( function_exists('add_theme_support') ) { add_theme_support('post-thumbnails'); } 登录后复制