进口…%一个有效的模板标签呢?
这是一个模板标签的一个例子。
是模板标签形成了模板文件的基础。
It is the Template Tags that form the basis of the Template Files.
你怎么一个变量在一个模板标签的论点吗?
How do you place a variable inside a template tag's argument?
模板标签只能在编译的时候才能抛出错误。
The only time that template tags are allowed to raise errors is at compilation time.
关于模板标签的介绍。
模板标签是上一篇帖子()和下一篇帖子()。
图13 .main . jet模板中生成的模板标签。
而且与PHP函数类似,许多模板标签接受实参或者形参。
And like PHP functions, many template tags accept arguments, or parameters.
根据插件说明,更改模板或者文件,包括添加插件模板标签。
Make any changes to templates or files as required by the Plugin instructions including adding Plugin template tags.
在模板文件上有一个文章的全面列表,模板文章中有模板标签。
There is a comprehensive list of articles on Template Files and Template Tags in the WordPress: Templates article.
以上的模板标签例子使用简单的参数,用引号和逗号将各自隔开。
The above template tag example USES simple parameters separated from each other with quote marks and commas.
其它的标签需要UL放在模板标签的后面,而产生自身的LI标签。
Other tags require the UL to be in place followed by the template tag and it generates its own LI tags.
将参数看做是用户选项或者设置,能使你定义一个模板标签是怎样运行的。
Think of parameters as user options or Settings that allow you to customize how a template tag works.
有些模板标签没有任何选项,你也就没有什么参数可以传递给这些模板标签。
Some template tags do not have any options, and thus have no parameters you can pass to them.
要确定仔细地遵循了模板标签的文件说明,并且将你的参数按模板函数要求排列。
Make sure to follow the documentation for a template tag carefully, and place your parameters in the order the template function expects.
没有什么东西能够取代这个模板标签,因为这一栏已经从基本资料面板中移除了。
No replacement exists for this template tag, as the field was removed from the Profile panel.
这个列表内使用的不同的模板标签,拥有许多不同的方法,使用并且依赖列表标签。
Different WordPress: Template tags used within lists have different ways of using and relying upon list tags.
下面的模板标签得到了当前文章的标题,文章发表的时间,以及谁发表了这篇文章。
The following template tags get the current post's title, as well as the time it was posted and who posted it.
为导航链接使用以上的模板标签,你可以将链接列表设计为横向菜单而不是垂直的列表。
Using the above template tags for navigation links, you can style the link lists as horizontal menus instead of vertical lists.
有时候,你正在测试模板标签,插件标签,以及不同的代码,就不能够显示或者初始化(激活)代码。
There are times when you are testing template tags, plugin tags, or different bits of code and you need to prevent them from showing or intiating (being active).
我们会使用一个技巧:the_excerpt _ rss模板标签没有在摘录的周围放上段落标签。
We'll use a trick: the the_excerpt_rss Template tag does not put a paragraph tag around the excerpt.
要使得边栏在不同的模板网页上看起来不同,你可以使用PHP命令INCLUDE而不是使用默认模板标签。
To have a sidebar be different on a different template page, instead of using the default template tag, you can use the PHP command INCLUDE.
你选择了模板标签和你想要编辑的文件之后,更改文件的任何内容之前,点击文本框,选择'全选'然后选择'复制'。
After you have selected the Template tag and the file you wish to edit, then before making any changes at all, right-click in the text box, choose 'select all' then choose 'Copy'.
有了JET工具箱,您就可以使用包含文本和 JET命令(标签)的模板来从一个模型生成文本文件。
With the JET toolkit, you can generate text files from a model by using templates that contain text and JET commands (tags).
要尽可能地为内容作者简化这一过程,现在可以定义一组模板页面,这是位于特殊标签(或页面)下的一些普通门户页面。
To make this as simple as possible for your content authors, you can now define a set of template pages, which are regular portal pages located under a special label (or page).
模板包含了静态的文本,例如添加的标签的名字,以及变量。
Templates contain static text, such as the name of the tag to be added, as well as variables.
全球化站点要求在页面的公共元素中支持不同的语言,因此要使用第二个模板定义每种语言的标签。
A globalized site requires support for different languages in the common elements of the page, so we use a second content template to define these labels for each language.
该标签允许模板动态更改输入模型的属性。
This tag lets the template change the attributes of the input model on the fly.
该标签允许模板动态更改输入模型的属性。
This tag lets the template change the attributes of the input model on the fly.
应用推荐