1
0
mirror of https://github.com/ulaulaman/eduinaf.git synced 2024-12-16 18:50:21 +01:00
This commit is contained in:
ulaulaman 2020-10-25 22:04:10 +01:00
parent 73b15c5cce
commit 68eb2a4988

View File

@ -15,7 +15,7 @@ class Widget_Didattica extends WP_Widget {
);
}
/** Front-end display of widget */
/** Front-end del widget */
public function widget( $args, $instance ) {
extract( $args );
$shortcode = do_shortcode('[sbdidattica]');
@ -23,7 +23,7 @@ class Widget_Didattica extends WP_Widget {
echo $after_widget;
}
/** Back-end widget form */
/** Back-end del widget */
public function form( $instance ) {
if ( isset( $instance[ 'title' ] ) ) {
$title = $instance[ 'title' ];
@ -68,7 +68,7 @@ class Widget_Stars extends WP_Widget {
);
}
/** Front-end display of widget */
/** Front-end del widget */
public function widget( $args, $instance ) {
extract( $args );
$shortcode = do_shortcode('[sbcostellazioni]');
@ -76,7 +76,7 @@ class Widget_Stars extends WP_Widget {
echo $after_widget;
}
/** Back-end widget form */
/** Back-end del widget */
public function form( $instance ) {
if ( isset( $instance[ 'title' ] ) ) {
$title = $instance[ 'title' ];
@ -100,9 +100,9 @@ class Widget_Stars extends WP_Widget {
return $instance;
}
} // class Widget_Didattica
} // class Widget_Stars
// Registra Widget_Didattica
// Registra Widget_Stars
add_action( 'widgets_init', 'register_stars' );
function register_stars() {