Template Tags/trackback url
Материал из WordPress Wiki
Содержание |
Description
Displays or returns the trackback URL for the current post. This tag must be within The Loop.
A trackback URL is where somebody posts a link to their site on your site. In return, they have posted a link to your site on their site and have copied an article you have written.
Usage
%%% <?php trackback_url(display); ?> %%%
Example
<p>Trackback URL for this post: <?php trackback_url(); ?></p>
Parameters
- display
- (boolean) Display the URL (TRUE), or to return it for use in PHP (FALSE). Defaults to TRUE.