Beispiel #1
0
 function profilepic_widget_main($args)
 {
     // $args is an array of strings that help widgets to conform to
     // the active theme: before_widget, before_title, after_widget,
     // and after_title are the array keys. Default tags: li and h2.
     extract($args);
     $options = get_option('profilepic_widget_options');
     $title = $options['title'];
     echo $before_widget . $before_title . $title . $after_title;
     $options = array('callmethod' => 'widget');
     echo profilepic_gui_printprofile($options);
     echo $after_widget;
 }
Beispiel #2
0
"><?php 
_e($curauth->user_url);
?>
</a>
<p><b>Registered Since: </b><?php 
_e($curauth->user_registered);
?>
<p><b>Profile: </b><?php 
_e($curauth->description);
?>

-->

<?php 
$atts = array('callmethod' => 'shortcode', 'userid' => $authid);
echo profilepic_gui_printprofile($atts);
?>

</div>

<h2>Posts by <?php 
echo $curauth->nickname;
?>
:</h2>

<ul>
<!-- The Loop -->
<?php 
if (have_posts()) {
    ?>
   <?php