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 content of the current post formatted for RSS. Questo tag deve essere utilizzato con Il Loop.
This tag will display a "teaser" link to read more of a post, when on non-single/non-permalink post pages and the <!--more--> Quicktag is used.
Utilizzo
<?php the_content_rss('more_link_text', strip_teaser,
'more_file', cut, encode_html); ?>
Esempi
Utilizzo Standard
Displays the content in RSS format using defaults.
<?php the_content_rss(); ?>
Hides Teaser Link and Limits Content
Displays the content in RSS format, hides the teaser link and cuts the content after 50 words.
<?php the_content_rss('', TRUE, '', 50); ?>
Parametri
- more_link_text
- (stringa) Link text to display for the "more" link. Defaults to
'(more...)'. - strip_teaser
- (boleano) Should the "more" link be hidden (
TRUE) or displayed (FALSE). Defaults toFALSE. - more_file
- (stringa) File which the "more" link points to. Defaults to the current file.
- cut
- (intero) Number of words displayed before ending content. Default is
0(display all). - 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