WordPress: Using Themes/Theme List:修订间差异
(新页面: __TOC__ Before the advent of Themes, WordPress generated content using a single file, <tt>index.php</tt>, and files to support comment display and submission. A single style sheet control...) |
无编辑摘要 |
||
(未显示2个用户的3个中间版本) | |||
第1行: | 第1行: | ||
<span style="border:1px solid #000; text-align:center; float:right; padding:6px;"><strong>导航:</strong> [[WordPress:WordPress文档|上一级]] | [[WordPress]] | {{Template:WordPress导航}}</span> | |||
<div style="clear:both;"></div> | |||
__TOC__ | __TOC__ | ||
在主题出现之前, WordPress 使用单独的文件生成目录, <tt>index.php</tt>, 多 文件支持评论的显示和提交。 一个单独的样式表控制着界面。所有其他的页面,包括分类和文档页面,通过传递参数到<tt>index.php</tt>页面生成。 | |||
新的主题系统提供了两种方便的功能: | |||
; Physically Separate Components :新的WordPress标准[[Wordpress:Stepping Into Templates|模板文件]]系统提供了一种为WordPress站点的不同组件定义分开的 [[Wordpress:Glossary#PHP|PHP]]文件的方法。这允许为很多专门的页面创建唯一的设计和功能,如[[Wordpress:Category Templates|分类文档]], [[Wordpress:Creating_an_Archive_Index|每月文章]], 和一些独立的登陆页面。 | |||
;快速的更改版面和设计 :允许具有适当权限的用户通过上传一个新的主题和管理面板中本质上的一点改动快速的更改整体站点的版面。 | |||
原先生成页面的方法仍然适用。如果你正 [[Wordpress:Upgrade_1.2_to_1.5|从1.2版本升级到1.2.1 或者or v1.2.2]], '''你可以继续使用你现有的设计。'''。保持你的旧的设计不会妨碍你添加新的主题和在现有两个主题中间切换。 | |||
==什么是主题?== | |||
根本上来说,WordPress主题系统是一个给weblog添加"皮肤"的方法。当然,它不仅仅是一个"皮肤." 给你的站点用上皮肤意味着仅仅是设计上的改变。WordPress主题可以提供更多的控制,而不仅是外观和''界面''。 | |||
WordPress 主题是一个文件的集合,它们一起为weblog创造出了一体的图形界面。这些文件叫做[[Wordpress:Templates|'''模板文件''']]。 主题修改了站点显示的方式,而没有使用修改软件。主题可以包括自定义模板文件,图片文件(<tt>*.jpg</tt>, <tt>*.gif</tt>), style sheets (<tt>*.css</tt>),自定义[[Wordpress:Pages|页面]],以及一些必须的代码文件(<tt>*.php</tt>)。参见 [[Wordpress:Stepping Into Templates|走进模板]],可以找到模板文件介绍. | |||
The [ | 主题是一个完整的新的球类运动。假设你写了很多关于奶酪和小工具的东西。通过[[Wordpress:The Loop|WordPress Loop]] 和 [[Wordpress:Templates|模板文件]]的创新使用, 你可以自动以你的Cheese分类文章,使其看起来与Gadgets分类不同。有了这种强有力的控制不同的页面和分类外观的工具,能够限制你的只有你的想象力而已。想查找如何在不同的分类或者文章中使用不同的主题,参见 [[Wordpress:The Loop in Action|活动的Loop]]和[[Wordpress:Category Templates|分类模板]]. | ||
* [http://themes.wordpress.net/ WordPress | ==获得新的主题== | ||
* [http://wptemplates.org/ WordPress | |||
* [http://pro-themes.com | [http://themes.wordpress.net/ WordPress主题察看]是 WordPress已经选中或检查过的主题的官方网站,并且免费下载。 这个站点带有按类型和格式搜索的功能,还提供主题元素的页面预览。 | ||
* [http://www.blogohblog.com/ | |||
其他部分WordPress主题资源: | |||
* [http://themes.wordpress.net/ WordPress 主题查看] | |||
* [http://wptemplates.org/ WordPress 模板] | |||
* [http://pro-themes.com 高质量WP模板] | |||
* [http://www.blogohblog.com/ 现代WordPress主题] | |||
* [http://www.wordpresstheme.com/ WordPressTheme.com] | * [http://www.wordpresstheme.com/ WordPressTheme.com] | ||
* [http://www.elegantwpthemes.com/ ElegantWPThemes.com] | * [http://www.elegantwpthemes.com/ ElegantWPThemes.com] | ||
* [http://www.wordpresswow.com WordPress Wow | * [http://www.wordpresswow.com WordPress Wow 主题库] | ||
* [http://wordpress.org/support/forum.php?id=5 WordPress | * [http://wordpress.org/support/forum.php?id=5 WordPress 主题支持论坛] | ||
* [http://wpgarden.com/ WordPress | * [http://wpgarden.com/ WordPress 花园 – 主题回顾] | ||
* [http://www.themespack.com/ WordPress | * [http://www.themespack.com/ WordPress 主题 –主题包] | ||
* [http://www.lukaret.com/wordpress-themes/ | * [http://www.lukaret.com/wordpress-themes/ WordPress主题 by Beng Hafner] | ||
* [http://wptheme.net/ WordPresstheme.net | * [http://wptheme.net/ WordPresstheme.net 免费 WordPress 主题] | ||
* [http://www.bestwpthemes.com/ | * [http://www.bestwpthemes.com/ 最好的WordPress主题] | ||
* [http://themes.rock-kitty.net | * [http://themes.rock-kitty.net 免费WordPress主题 - Kate 主题查看器] | ||
* [http://www.einternetindex.com/themes/ | * [http://www.einternetindex.com/themes/ 免费WordPress主题] | ||
* [http://templatextreme.com/products/wordpress-themes/ | * [http://templatextreme.com/products/wordpress-themes/关于模板Xtreme 的免费 WordPress主题] | ||
* [http://designoahu.com/wordpress-beer-theme | * [http://designoahu.com/wordpress-beer-theme Jeremy Moseley的免费beer主题] | ||
* [http://www.bloggingpro.com/archives/category/wordpress-themes/ Blogging Pro | * [http://www.bloggingpro.com/archives/category/wordpress-themes/ Blogging Pro WordPress主题分类] | ||
* [http://wpdemo.kaushalsheth.com/ Kaushal Sheth's WordPress | * [http://wpdemo.kaushalsheth.com/ Kaushal Sheth's WordPress 主题查看] | ||
* [http://biboz.net/themes/ biboz.net | * [http://biboz.net/themes/ biboz.net 免费WordPress主题] | ||
* [http://www.siteground.com/wordpress-hosting/wordpress-themes.htm | * [http://www.siteground.com/wordpress-hosting/wordpress-themes.htm SiteGround的免费WordPress主题] | ||
* [http://wpthemes.info/themes/ | * [http://wpthemes.info/themes/ WordPress主题 by Sadish] | ||
* [http://www.gii.in/themes/ Gii | * [http://www.gii.in/themes/ Gii 主题] | ||
* [http://www.skinsforwp.com/free-wordpress-themes.html | * [http://www.skinsforwp.com/free-wordpress-themes.html WordPress皮肤/主题] | ||
* [http://www.prissed.com/ | * [http://www.prissed.com/ WordPress主题by priss ] | ||
* [http://www.gfxedit.com/themes/wordpress/ GFXedit.com | * [http://www.gfxedit.com/themes/wordpress/ GFXedit.com 主题] | ||
* [http://www.dirsurfer.com/blog/wp-free-templates/ Dirsurfer | * [http://www.dirsurfer.com/blog/wp-free-templates/ Dirsurfer 主题] | ||
*[http://www.emilyrobbins.com/how-to-blog/comprehensive-list-of-615-free-wordpress-15-and-20-themes-templates-available-for-download-266.htm How to | *[http://www.emilyrobbins.com/how-to-blog/comprehensive-list-of-615-free-wordpress-15-and-20-themes-templates-available-for-download-266.htm How to Blog的980多种主题的列表] | ||
* [http://www.alexking.org/blog/2005/02/27/wordpress-theme-competition/ Alex King | * [http://www.alexking.org/blog/2005/02/27/wordpress-theme-competition/ Alex King WordPress主题竞赛] | ||
* [http://www.johntp.com/wp-skins/ JohnTP | * [http://www.johntp.com/wp-skins/ JohnTP WordPress 主题集合] | ||
* [http://gallery.wordpress.com/ Gallery for WordPress] | * [http://gallery.wordpress.com/ Gallery for WordPress] | ||
* [http://www.headsetoptions.org/ Headsetoptions | * [http://www.headsetoptions.org/ Headsetoptions WordPress主题] | ||
* [http://www.mandarinmusing.com/ Mandarinmusing WordPress | * [http://www.mandarinmusing.com/ Mandarinmusing WordPress 主题] | ||
* [http://themez.info/ | * [http://themez.info/ WordPress主题] | ||
* [http://www.yvoschaap.com/wpthemegen/ Yvo Schapp's WordPress | * [http://www.yvoschaap.com/wpthemegen/ Yvo Schapp's WordPress 主题生成器] | ||
* [http://www.livelydirectory.com/blog/ | * [http://www.livelydirectory.com/blog/ 免费WordPress主题] | ||
* [http://milo.peety-passion.com/ miloIIIIVII] | * [http://milo.peety-passion.com/ miloIIIIVII] | ||
* [http://www.reviewmytheme.com/ ReviewMyTheme | * [http://www.reviewmytheme.com/ ReviewMyTheme 免费WordPress主题] | ||
* [http://www.allinfodir.com/themes/ AllinfoDir | * [http://www.allinfodir.com/themes/ AllinfoDir WordPress主题] | ||
* [http://www.idk.in/blogs/?cat=14 Genuine | * [http://www.idk.in/blogs/?cat=14 Genuine WordPress主题] | ||
* [http://www.elegantdirectory.com/wp-themes/ ElegantDirectory WordPress | * [http://www.elegantdirectory.com/wp-themes/ ElegantDirectory WordPress 主题] | ||
* [http://blog.rakcha.com/category/themes/ | * [http://blog.rakcha.com/category/themes/ 来自rakCha的高质量主题] | ||
* [http://www.avivadirectory.com/downloads/category/wordpress-themes/ Aviva | * [http://www.avivadirectory.com/downloads/category/wordpress-themes/ Aviva WordPress主题] | ||
* [http://www.deeplinklisting.com/blog/ Deep Link | * [http://www.deeplinklisting.com/blog/ Deep Link 列表 - Blogger - WordPress 主题] | ||
* [http://www.dirjournal.com/wp-themes/ | * [http://www.dirjournal.com/wp-themes/ 免费赞助主题] | ||
* [http://www.templatesfactory.net/blog/category/wp-themes/ | * [http://www.templatesfactory.net/blog/category/wp-themes/ 免费WordPress主题] | ||
* [http://www.wpthemesfree.com | * [http://www.wpthemesfree.com 免费WordPress主题] | ||
* [http://blogosquare.com/wordpress-themes/ BlogoSquare | * [http://blogosquare.com/wordpress-themes/ BlogoSquare 免费主题下载和回顾] | ||
* [http://www.get-index.com/wordpress-themes/ | * [http://www.get-index.com/wordpress-themes/ 免费WordPress主题] | ||
* [http://www.ventedoy.com/themes/ | * [http://www.ventedoy.com/themes/ 免费高质量WordPress主题] | ||
* [http://www.themevibes.com | * [http://www.themevibes.com 免费WordPress主题] | ||
* [http://www.mygreencorner.com/freewordpressthemes. | * [http://www.mygreencorner.com/freewordpressthemes.php免费WordPress主题] | ||
* [http://www.jauhari.net/ | * [http://www.jauhari.net/themes免费WordPress主题] | ||
* [http://www.wpmix.com/ | * [http://www.wpmix.com/ WordPress主题] | ||
* [http://templates.arcsin.se/category/wordpress-themes/ | * [http://templates.arcsin.se/category/wordpress-themes/ CSS Design Templates上的免费WordPress 主题] | ||
* [http://themes.enquira.com/category/wordpress-themes/ enQuira | * [http://themes.enquira.com/category/wordpress-themes/ enQuira 主题] | ||
* [http://www.onehertz.com/portfolio/wordpress/ | * [http://www.onehertz.com/portfolio/wordpress/ onehertz上的免费&付费主题] | ||
* [http://www.drchetan.com/themes Chetan | * [http://www.drchetan.com/themes Chetan 免费WordPress主题] | ||
* [http://www.iguides.org/wp-themes/ | * [http://www.iguides.org/wp-themes/ iGuides免费WordPress主题] | ||
* [http://www.romow.com/blog/category/free-wordpress-themes/ | * [http://www.romow.com/blog/category/free-wordpress-themes/ 免费WordPress主题by Romow] | ||
* [http://www.blogstheme.com/ | * [http://www.blogstheme.com/ 免费WordPress主题 by blogstheme] | ||
* [http://extjswordpress.net/ Ext JS | * [http://extjswordpress.net/ Ext JS 开发的 WordPress 主题] | ||
* [http://cureless.net/works/wp-themes/ | * [http://cureless.net/works/wp-themes/ 免费WordPress主题by Yoru @ Cureless] | ||
* [http://www.cmdesignlounge.com/sponsored-themes/ | * [http://www.cmdesignlounge.com/sponsored-themes/ 主题by ChiQ Montes] | ||
* [http://www.allydirectory.com/wpthemes/ | * [http://www.allydirectory.com/wpthemes/ 免费WordPress主题] | ||
* [http://www.blueverse.com/resources/wordpress-themes/ Blueverse SEO WordPress | * [http://www.blueverse.com/resources/wordpress-themes/ Blueverse SEO WordPress 主题] | ||
* [http://www.themebox.org/ ThemeBox WordPress | * [http://www.themebox.org/ ThemeBox WordPress 主题] | ||
* [http://www.askgraphics.com/freetemplates/ WordPress | * [http://www.askgraphics.com/freetemplates/ WordPress 主题by AskGraphics.com] | ||
* [http://www.themetube.com/ | * [http://www.themetube.com/ 免费WordPress主题] | ||
* [http://www.madmouse.com/blog/ Squeaky's - WordPress | * [http://www.madmouse.com/blog/ Squeaky's - WordPress 主题和文章] | ||
* [http://www.thaslayer.com/category/templates/ slayer's web 2.0 | * [http://www.thaslayer.com/category/templates/ slayer's web 2.0 和 AJAX Tweaked WordPress 主题] | ||
* [http://www.themelogs.com/free-themes/ | * [http://www.themelogs.com/free-themes/ 免费WordPress主题] | ||
* [http://forums.digitalpoint.com/showthread.php?p=5342152 Green Fury WordPress | * [http://forums.digitalpoint.com/showthread.php?p=5342152 Green Fury WordPress 主题] | ||
* [http://imjtk.com/wordpress-themes JTk's | * [http://imjtk.com/wordpress-themes JTk's 免费主题] | ||
* [http://www.webmastermarty.com/category/wordpress-themes/ Webmaster Marty's WordPress | * [http://www.webmastermarty.com/category/wordpress-themes/ Webmaster Marty's WordPress 主题] | ||
* [http://www.bretema.info/ | * [http://www.bretema.info/ Brétema主题] | ||
* [http://www.themeage.com/ Themeage] | * [http://www.themeage.com/ Themeage] | ||
* [http://www.wpbay.com/ | * [http://www.wpbay.com/ 最好的WordPress主题] | ||
* [http://wpthemez.com/ | * [http://wpthemez.com/ wpthemez上的独特的WordPress主题] | ||
* [http://ericulous.com/ Ericulous | * [http://ericulous.com/ Ericulous WordPress主题] | ||
* [http://wordpress-themes.chromaticsites.com/ Professional | * [http://wordpress-themes.chromaticsites.com/ Professional WordPress主题- Chromatic Sites] | ||
* [http://www.wordpresssite.com/ | * [http://www.wordpresssite.com/ WordPress主题-ThemesGallery] | ||
* [http://wptemplates.org/ WordPress | * [http://wptemplates.org/ WordPress 模板] | ||
* [http://www.wordpressthemed.com/ WordPress Themed] | * [http://www.wordpressthemed.com/ WordPress Themed] | ||
* [http://www.clazh.com/download/ | * [http://www.clazh.com/download/ 免费WordPress主题] | ||
* [http://www.uzzz.net/category/wordpress-templates Uzzz | * [http://www.uzzz.net/category/wordpress-templates Uzzz 作品主题] | ||
* [http://www.balkhis.com/category/wp-themes/ Balkhis WP Themes] | * [http://www.balkhis.com/category/wp-themes/ Balkhis WP Themes] | ||
* [http://www.idk.in/blogs/?cat=14 Genuine WordPress | * [http://www.idk.in/blogs/?cat=14 Genuine WordPress 主题] | ||
* [http://www.allinfodir.com/themes/ AllinfoDir | * [http://www.allinfodir.com/themes/ AllinfoDir WordPress主题] | ||
* [http://www.reviewmytheme.com/ ReviewMyTheme | * [http://www.reviewmytheme.com/ ReviewMyTheme 免费WordPress模板] | ||
* [http://www.rahmatblog.com/category/wordpress-theme/ Rahmat's | * [http://www.rahmatblog.com/category/wordpress-theme/ Rahmat's 免费WordPress主题] | ||
* [http://www.gomvents.com/free-wordpress-themes.html Gomvents' | * [http://www.gomvents.com/free-wordpress-themes.html Gomvents' 免费WordPress 主题 – 每日更新] | ||
* [http://www.wpthemespress.com/ | * [http://www.wpthemespress.com/ 免费WordPress主题] | ||
* [http://www.dustin-hamilton.net/ Dustin Hamilton | * [http://www.dustin-hamilton.net/ Dustin Hamilton Media免费WordPress主题] | ||
* [http://www.5shadestemplates.com/Free-Website-Templates. | * [http://www.5shadestemplates.com/Free-Website-Templates.html免费WordPress主题和模板] | ||
* [http://www.internet-marketing-py.com/kostenlose-wordpress-templates/ | * [http://www.internet-marketing-py.com/kostenlose-wordpress-templates/免费WordPress主题] | ||
* [http://www.webfrap.com/ WebFrap - Wordpress | * [http://www.webfrap.com/ WebFrap - Wordpress 主题库] | ||
==使用主题== | |||
WordPress 为你的初始使用提供了两种主题。你可以使用管理面板切换这两种主题。添加到那个目录的主题将作为附加选项出现在[[Wordpress:Administration Panels|管理面板]]>[[Wordpress:Administration_Panels#Presentation_-_Change_the_Look_of_your_Blog|界面]]中。 | |||
===添加新的主题=== | |||
有很多主题可以下载,可以在你的WordPress中用来使用。 | |||
[[Wordpress:Image:presentthemes1.png|thumb|right|主题面板]]如果你安装的主题提供说明,一定要仔细阅读按照说明来安装,以便成功的安装。'''推荐主题开发者为他们的主题提供安装说明''', 因为主题可以提供特殊的可选择的功能,可能这会比基本安装需要更多的步骤。如果你的主题在按照这些说明安装后不能运行,请'''联系作者寻求帮助'''. | |||
想要添加新的主题到你的WordPress安装中,按照如下基本步骤: | |||
# 下载主题文档解压文件。解压缩时需要保护好这个文件中的目录结构。按照主题作者提供的说明进行操作。 | |||
# 使用一个[[Wordpress:FTP_Clients|FTP 客户端]]进入你的主机网页服务器,在WordPress提供的<tt>wp-content/themes</tt>目录下创建一个目录来存放你的主题。例如,一个名为'''Test'''的主题应该在<tt>wp-content/themes/test</tt>目录中。 你的主题可以把这个目录作为文档的一部分。 | |||
# 上传主题文件到你主机服务器上的新的目录。 | |||
# 按照关于选择新主题的[[Wordpress:#Selecting_the_Active_Theme|下面的说明]]进行操作。 | |||
====在cPanel中添加新主题 ==== | |||
如果你的主机提供[[Wordpress:Glossary#cPanel|cPanel]] 控制面板,主题文件是 .zip或者是.gz格式的文件,按照下面的说明操作。注意:假定你下载的主题是压缩过的 (zip)而且zip文件中的文件在它们'指定的'文件夹中。 | |||
# 下载主题zip文件到本地电脑。 | |||
# 在cPanel文件管理器中找到你的主题文件夹。如果你把WordPress安装到它自己的叫做wordpress的文件夹中, 你应该到 "public_html/wordpress/wp-content/themes" 查找,如果WordPress 安装到了你的web-root 文件夹下,你可以进入"public_html/wp-content/themes"查找。 | |||
==== | # 一旦你通过cPanel文件管理器进入主题文件夹中,点击Upload file(s),上传你在第一步中保存的zip文件。 | ||
#zip文件上传完毕后,点击cPanel 中的zip文件名,然后在面板中的右边,点击 Extract File Contents,zip文件就会被解压了。 | |||
# | #按照关于选择新主题的[[Wordpress:#Selecting_the_Active_Theme|下面的说明]]进行操作。 | ||
# | |||
# | |||
# | |||
# | |||
===选择激活的主题=== | |||
要为你的站点选择激活的主题: | |||
# 登陆WordPress [[Wordpress:Administration Panels|管理面板]]. | |||
#选择 [[Wordpress:Administration_Panels#Presentation_-_Change_the_Look_of_your_Blog|Presentation|界面]]子面板。 | |||
# 从'''Available Themes'''部分点击主题标题(或者主题的截图),激活你想要的主题。 | |||
# 想查看新的外观,点击面板顶部的'''View Site'''。 | |||
你所选的主题立即就会被激活了。 | |||
==创建主题== | |||
如果你对创建自己的主题感兴趣,或者学习更多有管主题结构的东西,请回顾一下关于[[Wordpress:Theme Development|主题开发]] 和 [[Wordpress:Designing Themes for Public_Release|为Public_Release设计主题]]. | |||
===主题文件=== | |||
以下是包含在主题中的代表性的文件。 | |||
*[[Wordpress:Creating_an_Error_404_Page|404 Template]] = <tt>404.php</tt> | *[[Wordpress:Creating_an_Error_404_Page|404 Template]] = <tt>404.php</tt> | ||
第178行: | 第188行: | ||
*Stylesheet = <tt>style.css</tt> | *Stylesheet = <tt>style.css</tt> | ||
== 从1.2.x 到1.5 == <span id="Moving 1.2.x to 1.5"></span> | |||
查看: [[Wordpress:Upgrade_1.2_to_1.5|Upgrade 1.2 to 1.5]],可以得到有关把WordPress和WordPress主题从v1.2升级到1.5的详细内容。 | |||
==主题工具和别的资源== | |||
这些工具和资源可以帮助你创建或者增强主题。 | |||
===版面=== | |||
* [[Wordpress:Blog Design and Layout|Blog设计和版面]] | |||
* [[Wordpress:Stepping Into Templates|走进模板]] | |||
* [[Wordpress:Customizing Your Sidebar|自定义边栏]] | |||
* [[Wordpress:Good Navigation Links|好的导航链接]] | |||
* [[Wordpress:Next and Previous Links|下一个和上一个链接]] | |||
* [[Wordpress:Styling Lists with CSS|CSS样式列表]] | |||
* [[Wordpress:Creating Horizontal Menus|创建水平链接]] | |||
* [[Wordpress:Dynamic Menu Highlighting|高亮动态目录]] | |||
* [[Wordpress:FAQ Layout and Design| |FAQ版面和设计]] | |||
* [http://www.redalt.com/Tools/builder.php WordPress 索引创建工具] | |||
* [http://www.wateronlydries.com/?p=158 WordPress默认主题的Photoshop模板] | |||
=== | ===模板和模板文件=== | ||
* [[Wordpress:Templates| | * [[Wordpress:Templates|模板文件]] | ||
* [[Wordpress:Stepping Into Templates]] | * [[Wordpress:Stepping Into Templates|走进模板]] | ||
* [[Wordpress:Stepping Into Template Tags]] | * [[Wordpress:Stepping Into Template Tags|走进模板标签]] | ||
* [[Wordpress:Template Tags]] | * [[Wordpress:Template Tags|模板标签]] | ||
* [[Wordpress:Theme Development| | * [[Wordpress:Theme Development|开发WordPress主题]] | ||
* [[Wordpress:The Loop in Action]] | * [[Wordpress:The Loop in Action|激活的Loop]] | ||
* [http://guff.szub.net/wordpress/template-tags/ | * [http://guff.szub.net/wordpress/template-tags/ 简单易读的模板标签版面] | ||
* [http://boren.nu/archives/2004/11/10/anatomy-of-a-wordpress-theme/ | * [http://boren.nu/archives/2004/11/10/anatomy-of-a-wordpress-theme/ WordPress 主题解析] | ||
* [http://boren.nu/archives/2004/10/16/templates-and-the-is-functions/ | * [http://boren.nu/archives/2004/10/16/templates-and-the-is-functions/ 模板和the is 函数] | ||
* [http://www.urbangiraffe.com/2005/04/12/themeguide1/1/ | * [http://www.urbangiraffe.com/2005/04/12/themeguide1/1/ WordPress主题解析] | ||
=== | ===工具和资源=== | ||
* [[Wordpress:Designing Themes for Public Release]] | * [[Wordpress:Designing Themes for Public Release|为公开发行设计主题]] | ||
* [[Wordpress:Know Your Sources]] | * [[Wordpress:Know Your Sources|了解你的资源]] | ||
* [[Wordpress:Validating a Website]] | * [[Wordpress:Validating a Website|验证网站]] | ||
* [[Wordpress:Finding Your CSS Styles]] | * [[Wordpress:Finding Your CSS Styles|找到你的CSS样式]] | ||
* [[Wordpress:CSS Fixing Browser Bugs]] | * [[Wordpress:CSS Fixing Browser Bugs|CSS修正你的浏览器错误]] | ||
* [http://elasticdog.com/2004/11/wp-design-sandbox/ | * [http://elasticdog.com/2004/11/wp-design-sandbox/ WordPress设计Sandbox文章] | ||
* [http://www.cameraontheroad.com/index.php?p=594 | * [http://www.cameraontheroad.com/index.php?p=594 CSS 和WordPress 主题工作 (使用sandbox)] | ||
*[http://theundersigned.net/2006/05/from-xhtmlcss-to-wordpress/ | *[http://theundersigned.net/2006/05/from-xhtmlcss-to-wordpress/ 从XHTML CSS 到 WordPress (制作主题}] | ||
*[http://www.jonathanwold.com/tutorials/wordpress_theme/ | *[http://www.jonathanwold.com/tutorials/wordpress_theme/ 指南: 如何创建一个 Wordpress 主题] | ||
*[http://coevolving.com/blogs/index.php/archive/installing-and-customizing-wordpress-on-your-own-domain/ | *[http://coevolving.com/blogs/index.php/archive/installing-and-customizing-wordpress-on-your-own-domain/ 在一个网页主机上安装带有Fantastico and cPanel的Wordpress (包括主题) 的Coevolving Innovations 指南] (Wordpress 2.2.1) | ||
*[http://www.danielesalamina.it/screencast-come-modificare-il-proprio-tema-wordpress-in-5-minuti-con-firebug Screencast: | *[http://www.danielesalamina.it/screencast-come-modificare-il-proprio-tema-wordpress-in-5-minuti-con-firebug Screencast: 使用Firebug,5分钟内Hack一个主题] | ||
=== | ===颜色, 图片和字体=== | ||
* [http://www.redalt.com/Tools/kubrickr.php Kubrickr | * [http://www.redalt.com/Tools/kubrickr.php Kubrickr – 改变默认主题的页眉图片] | ||
* [http://www.digitalwestex.com/gallery/index.php?cat=3 | * [http://www.digitalwestex.com/gallery/index.php?cat=3 页眉图片] | ||
* [http://creativecommons.org/image/ Creative Commons | * [http://creativecommons.org/image/ Creative Commons 图片] | ||
* [http://www.imageafter.com/ Image * After | * [http://www.imageafter.com/ Image * After – 免费图片库] | ||
* [http://www.freeiconsweb.com/ | * [http://www.freeiconsweb.com/ 免费图标库] | ||
* [http://www.sxc.hu/ Stock.xchng - | * [http://www.sxc.hu/ Stock.xchng -免费图片库] | ||
* [[Wordpress:Playing With Fonts]] | * [[Wordpress:Playing With Fonts|玩字体]] | ||
* [[Wordpress:Developing a Colour Scheme]] | * [[Wordpress:Developing a Colour Scheme|开发彩色主题]] | ||
* [http://colr.org Colr.org | * [http://colr.org Colr.org – 在图片中寻找色彩] | ||
* [http://www.redalt.com/Tools/ilyc.php | * [http://www.redalt.com/Tools/ilyc.php 我喜欢你的色彩] | ||
* [http://www.2yi.net/free-stock-photos.html | * [http://www.2yi.net/free-stock-photos.html 超过70个免费照片站点的列表] | ||
* [http://labs.adobe.com/technologies/kuler/ kuler | * [http://labs.adobe.com/technologies/kuler/ kuler – 从Adobe Labs使用web app创建彩色调色板] |
2008年6月10日 (二) 17:16的最新版本
导航: 上一级 | WordPress | 首页 | WordPress中文论坛 | WordPress主机 | CMS程序 | 论坛程序 | ECShop | ShopNC | PowerEasy
在主题出现之前, WordPress 使用单独的文件生成目录, index.php, 多 文件支持评论的显示和提交。 一个单独的样式表控制着界面。所有其他的页面,包括分类和文档页面,通过传递参数到index.php页面生成。
新的主题系统提供了两种方便的功能:
- Physically Separate Components
- 新的WordPress标准模板文件系统提供了一种为WordPress站点的不同组件定义分开的 PHP文件的方法。这允许为很多专门的页面创建唯一的设计和功能,如分类文档, 每月文章, 和一些独立的登陆页面。
- 快速的更改版面和设计
- 允许具有适当权限的用户通过上传一个新的主题和管理面板中本质上的一点改动快速的更改整体站点的版面。
原先生成页面的方法仍然适用。如果你正 从1.2版本升级到1.2.1 或者or v1.2.2, 你可以继续使用你现有的设计。。保持你的旧的设计不会妨碍你添加新的主题和在现有两个主题中间切换。
什么是主题?[ ]
根本上来说,WordPress主题系统是一个给weblog添加"皮肤"的方法。当然,它不仅仅是一个"皮肤." 给你的站点用上皮肤意味着仅仅是设计上的改变。WordPress主题可以提供更多的控制,而不仅是外观和界面。
WordPress 主题是一个文件的集合,它们一起为weblog创造出了一体的图形界面。这些文件叫做模板文件。 主题修改了站点显示的方式,而没有使用修改软件。主题可以包括自定义模板文件,图片文件(*.jpg, *.gif), style sheets (*.css),自定义页面,以及一些必须的代码文件(*.php)。参见 走进模板,可以找到模板文件介绍.
主题是一个完整的新的球类运动。假设你写了很多关于奶酪和小工具的东西。通过WordPress Loop 和 模板文件的创新使用, 你可以自动以你的Cheese分类文章,使其看起来与Gadgets分类不同。有了这种强有力的控制不同的页面和分类外观的工具,能够限制你的只有你的想象力而已。想查找如何在不同的分类或者文章中使用不同的主题,参见 活动的Loop和分类模板.
获得新的主题[ ]
WordPress主题察看是 WordPress已经选中或检查过的主题的官方网站,并且免费下载。 这个站点带有按类型和格式搜索的功能,还提供主题元素的页面预览。
其他部分WordPress主题资源:
- WordPress 主题查看
- WordPress 模板
- 高质量WP模板
- 现代WordPress主题
- WordPressTheme.com
- ElegantWPThemes.com
- WordPress Wow 主题库
- WordPress 主题支持论坛
- WordPress 花园 – 主题回顾
- WordPress 主题 –主题包
- WordPress主题 by Beng Hafner
- WordPresstheme.net 免费 WordPress 主题
- 最好的WordPress主题
- 免费WordPress主题 - Kate 主题查看器
- 免费WordPress主题
- 的免费 WordPress主题
- Jeremy Moseley的免费beer主题
- Blogging Pro WordPress主题分类
- Kaushal Sheth's WordPress 主题查看
- biboz.net 免费WordPress主题
- SiteGround的免费WordPress主题
- WordPress主题 by Sadish
- Gii 主题
- WordPress皮肤/主题
- WordPress主题by priss
- GFXedit.com 主题
- Dirsurfer 主题
- How to Blog的980多种主题的列表
- Alex King WordPress主题竞赛
- JohnTP WordPress 主题集合
- Gallery for WordPress
- Headsetoptions WordPress主题
- Mandarinmusing WordPress 主题
- WordPress主题
- Yvo Schapp's WordPress 主题生成器
- 免费WordPress主题
- miloIIIIVII
- ReviewMyTheme 免费WordPress主题
- AllinfoDir WordPress主题
- Genuine WordPress主题
- ElegantDirectory WordPress 主题
- 来自rakCha的高质量主题
- Aviva WordPress主题
- Deep Link 列表 - Blogger - WordPress 主题
- 免费赞助主题
- 免费WordPress主题
- 免费WordPress主题
- BlogoSquare 免费主题下载和回顾
- 免费WordPress主题
- 免费高质量WordPress主题
- 免费WordPress主题
- [1]
- [2]
- WordPress主题
- CSS Design Templates上的免费WordPress 主题
- enQuira 主题
- onehertz上的免费&付费主题
- Chetan 免费WordPress主题
- iGuides免费WordPress主题
- 免费WordPress主题by Romow
- 免费WordPress主题 by blogstheme
- Ext JS 开发的 WordPress 主题
- 免费WordPress主题by Yoru @ Cureless
- 主题by ChiQ Montes
- 免费WordPress主题
- Blueverse SEO WordPress 主题
- ThemeBox WordPress 主题
- WordPress 主题by AskGraphics.com
- 免费WordPress主题
- Squeaky's - WordPress 主题和文章
- slayer's web 2.0 和 AJAX Tweaked WordPress 主题
- 免费WordPress主题
- Green Fury WordPress 主题
- JTk's 免费主题
- Webmaster Marty's WordPress 主题
- Brétema主题
- Themeage
- 最好的WordPress主题
- wpthemez上的独特的WordPress主题
- Ericulous WordPress主题
- Professional WordPress主题- Chromatic Sites
- WordPress主题-ThemesGallery
- WordPress 模板
- WordPress Themed
- 免费WordPress主题
- Uzzz 作品主题
- Balkhis WP Themes
- Genuine WordPress 主题
- AllinfoDir WordPress主题
- ReviewMyTheme 免费WordPress模板
- Rahmat's 免费WordPress主题
- Gomvents' 免费WordPress 主题 – 每日更新
- 免费WordPress主题
- Dustin Hamilton Media免费WordPress主题
- [3]
- [4]
- WebFrap - Wordpress 主题库
使用主题[ ]
WordPress 为你的初始使用提供了两种主题。你可以使用管理面板切换这两种主题。添加到那个目录的主题将作为附加选项出现在管理面板>界面中。
添加新的主题[ ]
有很多主题可以下载,可以在你的WordPress中用来使用。
thumb|right|主题面板如果你安装的主题提供说明,一定要仔细阅读按照说明来安装,以便成功的安装。推荐主题开发者为他们的主题提供安装说明, 因为主题可以提供特殊的可选择的功能,可能这会比基本安装需要更多的步骤。如果你的主题在按照这些说明安装后不能运行,请联系作者寻求帮助.
想要添加新的主题到你的WordPress安装中,按照如下基本步骤:
- 下载主题文档解压文件。解压缩时需要保护好这个文件中的目录结构。按照主题作者提供的说明进行操作。
- 使用一个FTP 客户端进入你的主机网页服务器,在WordPress提供的wp-content/themes目录下创建一个目录来存放你的主题。例如,一个名为Test的主题应该在wp-content/themes/test目录中。 你的主题可以把这个目录作为文档的一部分。
- 上传主题文件到你主机服务器上的新的目录。
- 按照关于选择新主题的[[Wordpress:#Selecting_the_Active_Theme|下面的说明]]进行操作。
在cPanel中添加新主题[ ]
如果你的主机提供cPanel 控制面板,主题文件是 .zip或者是.gz格式的文件,按照下面的说明操作。注意:假定你下载的主题是压缩过的 (zip)而且zip文件中的文件在它们'指定的'文件夹中。
- 下载主题zip文件到本地电脑。
- 在cPanel文件管理器中找到你的主题文件夹。如果你把WordPress安装到它自己的叫做wordpress的文件夹中, 你应该到 "public_html/wordpress/wp-content/themes" 查找,如果WordPress 安装到了你的web-root 文件夹下,你可以进入"public_html/wp-content/themes"查找。
- 一旦你通过cPanel文件管理器进入主题文件夹中,点击Upload file(s),上传你在第一步中保存的zip文件。
- zip文件上传完毕后,点击cPanel 中的zip文件名,然后在面板中的右边,点击 Extract File Contents,zip文件就会被解压了。
- 按照关于选择新主题的[[Wordpress:#Selecting_the_Active_Theme|下面的说明]]进行操作。
选择激活的主题[ ]
要为你的站点选择激活的主题:
- 登陆WordPress 管理面板.
- 选择 Presentation|界面子面板。
- 从Available Themes部分点击主题标题(或者主题的截图),激活你想要的主题。
- 想查看新的外观,点击面板顶部的View Site。
你所选的主题立即就会被激活了。
创建主题[ ]
如果你对创建自己的主题感兴趣,或者学习更多有管主题结构的东西,请回顾一下关于主题开发 和 为Public_Release设计主题.
主题文件[ ]
以下是包含在主题中的代表性的文件。
- 404 Template = 404.php
- Archive Template = archive.php
- Archive Index Page = archives.php
- Comments Template = comments.php
- Footer Template = footer.php
- Header Template = header.php
- Links = links.php
- Main Template = index.php
- Page Template = page.php
- Popup Comments Template = comments-popup.php
- Post Template = single.php
- Search Form = searchform.php
- Search Template = search.php
- Sidebar Template = sidebar.php
- Stylesheet = style.css
== 从1.2.x 到1.5 ==
查看: Upgrade 1.2 to 1.5,可以得到有关把WordPress和WordPress主题从v1.2升级到1.5的详细内容。
主题工具和别的资源[ ]
这些工具和资源可以帮助你创建或者增强主题。
版面[ ]
- Blog设计和版面
- 走进模板
- 自定义边栏
- 好的导航链接
- 下一个和上一个链接
- CSS样式列表
- 创建水平链接
- 高亮动态目录
- |FAQ版面和设计
- WordPress 索引创建工具
- WordPress默认主题的Photoshop模板
模板和模板文件[ ]
工具和资源[ ]
- 为公开发行设计主题
- 了解你的资源
- 验证网站
- 找到你的CSS样式
- CSS修正你的浏览器错误
- WordPress设计Sandbox文章
- CSS 和WordPress 主题工作 (使用sandbox)
- 从XHTML CSS 到 WordPress (制作主题}
- 指南: 如何创建一个 Wordpress 主题
- 在一个网页主机上安装带有Fantastico and cPanel的Wordpress (包括主题) 的Coevolving Innovations 指南 (Wordpress 2.2.1)
- Screencast: 使用Firebug,5分钟内Hack一个主题