From e206a83166376b63c569ba7cab8bfd61c6514066 Mon Sep 17 00:00:00 2001 From: Gianluigi Date: Thu, 13 Oct 2022 01:53:20 +0200 Subject: [PATCH] ripristino widget per shortcode --- incl/widgets.php | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 incl/widgets.php diff --git a/incl/widgets.php b/incl/widgets.php new file mode 100644 index 0000000..b6ccf7f --- /dev/null +++ b/incl/widgets.php @@ -0,0 +1,57 @@ + __( 'Widget per l\'inserimento degli shortcode nelle sidebar', 'text_domain' ), ) // Args + ); + } + + /** Back-end del widget */ + public function form( $instance ) { + if ( isset( $instance[ 'title' ] ) ) { + $title = $instance[ 'title' ]; + } else { + $title = __( 'blog-post-coauthors', 'text_domain' ); + } + ?> +

+ + +

+