null, 'author' => null, 'translator' => null, 'publisher' => null, 'date' => null, 'pages' => null, 'type' => null, 'col' => null, 'price' => null, 'age' => null, 'isbn' => null, 'issn' => null, 'notes' => null, ), $atts ) ); $intro = __( 'Abbiamo parlato di:', 'book-template' ); $book = '
'.$intro.'
'.$title.'
'.$author;
if ( $translator <> null )
{$translator = __( 'Traduzione di ', 'book-template' ).$translator;
$book = $book.'
'.$translator;}
else
{$book = $book;}
$pages = $pages.' '.__( 'pagine', 'book-template' );
if ( $col <> null )
{$book = $book.'
'.$publisher.', '.$date.'
'.$pages.', '.$type.', '.$col.' – '.$price;}
else
{$book = $book.'
'.$publisher.', '.$date.'
'.$pages.', '.$type.' – '.$price;}
if ( $age <> null )
{$book = $book.'
'.__( 'Lettura consigliata per ', 'book-template' ).$age;}
else
{$book = $book;}
if ( $isbn <> null )
{$book = $book.'
ISBN: '.$isbn;}
else
{
if ( $issn <> null )
{$book = $book.'
ISSN: '.$issn;}
else
{$book = $book;}
}
if ( $notes <> null )
{$book = $book.'
'.$notes;}
else
{$book = $book;}
$text = $book;
return $text;
}
/* ------------------------------------------------------ */
?>