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 excerpt of the current post formatted for RSS. If a post does not contain an excerpt, the first 120 words of the post's content are returned. Questo tag deve essere utilizzato con Il Loop.
For finer control over output, see the_content_rss() ?.
Utilizzo
<?php the_excerpt_rss(); ?>
See Parametri for 1.2 for arguments available in that version.
Esempi
Displays the post's excerpt, or the first 120 words of the post's content when no excerpt exists, formatted for RSS syndication.
<Descrizione><?php the_excerpt_rss(); ?></Descrizione>
Parametri
This tag has no Parametri.
Parametri for 1.2
WordPress version 1.5 does not support Parametri for this tag. The following information is retained for the benefit of 1.2 users.
Utilizzo:
<?php the_excerpt_rss(cut, encode_html); ?>
Parametri:
- cut
- (intero) Number of words to display before ending the excerpt. Can be any numeric value up to the default.
- encode_html
- (intero) Defines html tag filtering and special character (e.g.'&') encoding. Options are:
:* 0 - (Default) Parses out links for numbered "url footnotes".
:* 1 - Filters through the PHP function htmlspecialchars(), but also sets cut to 0, so is not recommended when using the cut parameter.
:* 2 - Strips html tags, and replaces'&'with HTML entity equivalent (&). This is the default when using the cut parameter.
Marcatori Correlati
the_ID, the_title, single_post_title, the_title_rss, the_content, the_content_rss, the_excerpt, the_excerpt_rss, previous_post, next_post, posts_nav_link, the_meta
Come passare Parametri ai Tag tramite parametri in stile PHP