コード例 #1
0
 function widget($args, $instance)
 {
     extract($args);
     echo $before_widget;
     $title = apply_filters('widget_title', $instance['title']);
     if ($title) {
         echo $before_title . $title . $after_title;
     }
     echo themeblvd_get_simple_contact($instance);
     echo $after_widget;
 }
コード例 #2
0
ファイル: parts.php プロジェクト: JulieKuehl/julie-jumpstart
/**
 * Display Simple Contact module
 *
 * @since 2.1.0
 *
 * @param array $args Arguments to be used for the elements
 */
function themeblvd_simple_contact($args)
{
    echo themeblvd_get_simple_contact($args);
}