WordPress: Template Tags/trackback url:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: == Description == Displays or returns the trackback URL for the current post. This tag must be within WordPress:The Loop. == Usage == %%% <?php t...)
 
无编辑摘要
第1行: 第1行:
== Description ==
== Description ==
== 描述 ==


Displays or returns the trackback [[WordPress:Glossary#URI and URL|URL]] for the current post. This tag must be within [[WordPress:The Loop]].
Displays or returns the trackback [[WordPress:Glossary#URI and URL|URL]] for the current post. This tag must be within [[WordPress:The Loop]].
显示或者返回当前文章的trackback [[WordPress:Glossary#URI and URL|URL]]。必须在[[WordPress:The Loop|The Loop]]内使用这个标签。
== Usage ==


== Usage ==
== 用法 ==
 
%%% <?php trackback_url(display); ?> %%%


%%% <?php trackback_url(display); ?> %%%
%%% <?php trackback_url(display); ?> %%%


== Example ==
== Example ==
== 例子 ==


  &lt;p&gt;Trackback URL for this post: <?php trackback_url(); ?>&lt;/p&gt;
  &lt;p&gt;Trackback URL for this post: <?php trackback_url(); ?>&lt;/p&gt;
&lt;p&gt;Trackback 文章的URL: <?php trackback_url(); ?>&lt;/p&gt;


== Parameters ==
== Parameters ==
== 参数 ==


; display : (''boolean'') Display the URL (<tt>TRUE</tt>), or to return it for use in PHP (<tt>FALSE</tt>). Defaults to <tt>TRUE</tt>.
; display : (''boolean'') Display the URL (<tt>TRUE</tt>), or to return it for use in PHP (<tt>FALSE</tt>). Defaults to <tt>TRUE</tt>.


;显示:(''boolean'')显示URL(<tt>正确的</tt>)或者将URL返回用于PHP(<tt>错误的</tt>)。默认为<tt>正确的</tt>。
== Related ==
== Related ==
== 相关的 ==


{{Tag Trackback Tags}}
{{Tag Trackback Tags}}


{{Tag Footer}}
{{Tag Footer}}
{{标签Trackback 标签}}
{{标签页底文字}}

2008年7月11日 (五) 14:20的版本

Description

描述

Displays or returns the trackback URL for the current post. This tag must be within WordPress:The Loop. 显示或者返回当前文章的trackback URL。必须在The Loop内使用这个标签。

Usage

用法

%%% <?php trackback_url(display); ?> %%%

%%% <?php trackback_url(display); ?> %%%

Example

例子

<p>Trackback URL for this post: <?php trackback_url(); ?></p>

<p>Trackback 文章的URL: <?php trackback_url(); ?></p>

Parameters

参数

display
(boolean) Display the URL (TRUE), or to return it for use in PHP (FALSE). Defaults to TRUE.

;显示:(boolean)显示URL(正确的)或者将URL返回用于PHP(错误的)。默认为正确的

Related

相关的

模板:Tag Trackback Tags

模板:Tag Footer 模板:标签Trackback 标签

模板:标签页底文字