null, 'title' => null, 'url' => 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 ) ); $book='
';
if ( $intro <> null ) {
$book = $book.''.$intro.'';
} else {
$book = $book.''.__( 'Abbiamo parlato di:', 'book-template' ).'';
}
if ( $url <> null ) {
$book = $book.'
'.$author;
} else {
$book = $book.'
'.$title.'
'.$author;
}
if ( $translator <> null ) {
$book = $book.'
'.__( 'Traduzione di ', 'book-template' ).$translator;
}
$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 ', 'book-template' ).$age;
}
if ( $isbn <> null ) {
$book = $book.'
ISBN: '.$isbn;
} else {
if ( $issn <> null ) {
$book = $book.'
ISSN: '.$issn;
}
}
if ( $notes <> null ) {
$book = $book.'
'.$notes;
}
$book = $book.'