站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Site Architecture 1.5
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=== 模模板文件=== Based upon the premise of building blocks, WordPress Themes divide up the core structure between blocks called [[WordPress:Templates|template files]]. These are the template files: 以积木原理为基础,WordPress主题将核心结构分开成一些块,称为[[WordPress:Templates|模板文件]]。下面是一些模板文件: * Header - <tt>header.php</tt> * Sidebar/Menu - <tt>sidebar.php</tt> * Content - <tt>index.php</tt>, <tt>single.php</tt>, <tt>page.php</tt>, <tt>category.php</tt>, <tt>author.php</tt>, <tt>search.php</tt>, etc. * Footer - <tt>footer.php</tt> *标头- <tt>header.php</tt> * 工具条/菜单- <tt>sidebar.php</tt> * 内容 - <tt>index.php</tt>, <tt>single.php</tt>, <tt>page.php</tt>, <tt>category.php</tt>, <tt>author.php</tt>, <tt>search.php</tt>, etc. *页底文字 - <tt>footer.php</tt> As you can see, the content container can be found across many other template files. These are generated dependent upon the user's request. If they click on a category, the category template is displayed. If they choose a [[WordPress:Pages|Page]], the page template is used. And so on. 如你所见到的那样,可以在许多其它的模板文件中找到内容container。这些container是根据用户的需求而产生的。如果你点击类别,就会显示类别模板。如果他们选择了[[WordPress:Pages|网页]],就会用到网页。等等。 Combined with the [[WordPress:The Loop|WordPress Loop]] and queries, a variety of templates can be generated, and the web page designer can style all of these differently and independently from each other. 与[[WordPress:The Loop|WordPress Loop]]和查询相结合,能够产生许多模板,而且网页和设计人员可以将这些模板设计地不同,而且各自独立。
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)