芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/clients/carotiti/wp-content/themes/boal/inc/widgets/information.php
'information_widget', 'description' => esc_html__('Easy add image for sidebar.', 'boal')); /* Widget control settings. */ $control_ops = array('width' => 250, 'height' => 350, 'id_base' => 'information_widget'); /* Create the widget. */ parent::__construct('information_widget', esc_html__('+NA: Image', 'boal'), $widget_ops, $control_ops); } /** * How to display the widget on the screen. */ function widget($args, $instance) { extract($args); /* Our variables from the widget settings. */ $link = $image=''; $image = $instance['image']; $link = $instance['link']; echo ent2ncr($args['before_widget']); ?>
'', 'link' => '#', )); ?>