mirror of
https://github.com/ulaulaman/eduinaf.git
synced 2024-12-16 21:48:52 +01:00
Commenti
This commit is contained in:
parent
73b15c5cce
commit
68eb2a4988
@ -15,7 +15,7 @@ class Widget_Didattica extends WP_Widget {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Front-end display of widget */
|
/** Front-end del widget */
|
||||||
public function widget( $args, $instance ) {
|
public function widget( $args, $instance ) {
|
||||||
extract( $args );
|
extract( $args );
|
||||||
$shortcode = do_shortcode('[sbdidattica]');
|
$shortcode = do_shortcode('[sbdidattica]');
|
||||||
@ -23,7 +23,7 @@ class Widget_Didattica extends WP_Widget {
|
|||||||
echo $after_widget;
|
echo $after_widget;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Back-end widget form */
|
/** Back-end del widget */
|
||||||
public function form( $instance ) {
|
public function form( $instance ) {
|
||||||
if ( isset( $instance[ 'title' ] ) ) {
|
if ( isset( $instance[ 'title' ] ) ) {
|
||||||
$title = $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 ) {
|
public function widget( $args, $instance ) {
|
||||||
extract( $args );
|
extract( $args );
|
||||||
$shortcode = do_shortcode('[sbcostellazioni]');
|
$shortcode = do_shortcode('[sbcostellazioni]');
|
||||||
@ -76,7 +76,7 @@ class Widget_Stars extends WP_Widget {
|
|||||||
echo $after_widget;
|
echo $after_widget;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Back-end widget form */
|
/** Back-end del widget */
|
||||||
public function form( $instance ) {
|
public function form( $instance ) {
|
||||||
if ( isset( $instance[ 'title' ] ) ) {
|
if ( isset( $instance[ 'title' ] ) ) {
|
||||||
$title = $instance[ 'title' ];
|
$title = $instance[ 'title' ];
|
||||||
@ -100,9 +100,9 @@ class Widget_Stars extends WP_Widget {
|
|||||||
return $instance;
|
return $instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // class Widget_Didattica
|
} // class Widget_Stars
|
||||||
|
|
||||||
// Registra Widget_Didattica
|
// Registra Widget_Stars
|
||||||
add_action( 'widgets_init', 'register_stars' );
|
add_action( 'widgets_init', 'register_stars' );
|
||||||
|
|
||||||
function register_stars() {
|
function register_stars() {
|
||||||
|
Loading…
Reference in New Issue
Block a user