diff --git a/book-template.php b/book-template.php index b2dc322..258d109 100644 --- a/book-template.php +++ b/book-template.php @@ -2,7 +2,7 @@ /* Plugin Name: Book Template Description: Plugin che aggiunge uno shortcode per la creazione di un box con i dati editoriali di un libro o di un fumetto. -Version: 2020.0718.1 +Version: 2020.0813 Author: Gianluigi Filippelli Author URI: http://dropseaofulaula.blogspot.it/ Plugin URI: https://ulaulaman.github.io/book-template/ @@ -46,7 +46,7 @@ function bookdata_class_meta_box( $post ) { ?>
-
+ null, - 'author' => null, + 'title' => null, + 'author' => null, 'translator' => null, - 'publisher' => null, - 'date' => null, - 'pages' => null, - 'type' => null, - 'col' => null, - 'price' => null, - 'isbn' => null, - 'issn' => null, - 'notes' => null, + 'publisher' => null, + 'date' => null, + 'pages' => null, + 'type' => null, + 'col' => null, + 'price' => null, + 'age' => null, + 'isbn' => null, + 'issn' => null, + 'notes' => null, ), $atts ) @@ -91,6 +92,11 @@ add_shortcode( 'bookdata', 'bookdata' ); else {$book = $book.'