最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Customize how a Wordpress theme looks like in the Theme Selector

programmeradmin1浏览0评论

How do I customize how my theme shows up in the list of available themes in the Admin console, under the "Appearance" -> "Themes" section. I need to change stuff like the theme name, author, and description.

How do I customize how my theme shows up in the list of available themes in the Admin console, under the "Appearance" -> "Themes" section. I need to change stuff like the theme name, author, and description.

Share Improve this question edited Jan 28, 2011 at 18:59 Farinha asked Jan 28, 2011 at 18:45 FarinhaFarinha 1331 silver badge6 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 7

You need to create a screenshot.png and store it in the theme directory.

See the directory for the TwentyTen theme:


(source: mikeschinkel)

That of course looks like this:


(source: mikeschinkel)

UPDATE

To update the theme name, author, and description you modify the header of the style.css file. Take the one from TwentyTen as an example; everything but Theme Name: is optional:

/*
Theme Name: Twenty Ten
Theme URI: http://wordpress/
Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
Author: the WordPress team
Version: 1.1
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/

You mean under Admin->Presentation->Themes? Then it is like http://computeraxe/theme-description-for-wordpress-blog-lies-in-the-stylesheet/

发布评论

评论列表(0)

  1. 暂无评论