Testi predefiniti che potete inserire nella nuova pagina:

Pagina in fase di traduzione e/o adattamento

Pagina da rivedere e/o aggiornare

Pagina da adattare al wiki (aspetto e convenzioni grafiche)

Questa pagina è aperta ai tuoi interventi. Puoi contribuire cliccando su "Modifica" dal menu in alto.

Tag Template:

Descrizione

Displays the for the permalink to the post currently being processed in Il Loop. Questo tag deve essere utilizzato con Il Loop, and is generally used to display the permalink for each post, when the posts are being displayed. Since this template tag is limited to displaying the permalink for the post that is being processed, you cannot use it to display the permalink to an arbitrary post on your weblog. Refer to get_permalink() ? if you want to display the permalink for a post, given it's unique post id.

Utilizzo

 <?php the_permalink(); ?> 

Esempi

Display Post URL as Text

Displays the URL to the post, without creating a link:

 This address for this post is: <?php the_permalink(); ?>

As Link With Text

You can use whatever text you like as the link text, in this case, "permalink".

 <a href="<?php the_permalink(); ?>">permalink</a>

Used as Link With Title Tag

Creates a link for the permalink, with the post's title as the link text.

 <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>

Parametri

This tag has no Parametri.

Correlati

To generate the permalink for a single, specific post, see get_permalink ?.

{{Tag Permalink Tags}}

{{No Param Tag Footer}}

Ultima modifica il 19/01/2006 ore 09:48