Thanks for the feedback. Here’s the code I have:
<div id=”sidebar”>
<?php sidebarlogin(); ?>
<?php if (is_user_logged_in()) : ?>
<?php global $user_identity;get_currentuserinfo();?>
<div class=”display-user”>
<img src=”<?php bloginfo(‘template_directory’); ?>/images/user_silhouette.png”>
<p>Hi, <?php echo $user_identity;?></p>
</div>
<?php else :?>
<?php endif;?>
<?php if (is_user_logged_in()) : ?>
<div class=”wishlist”>
<p>Wishlist Items</p>
</div>
<?php mfp_display(“order_by=post_title&remove_link=x”);?>
<?php else :?>
<?php endif;?>
<?php echo “<ul class=’collapsCatList’>\n”;
if (function_exists(‘collapsCat’)) {
$blogcat = get_option( ‘viro_sidebar_exclude_cats’ );
collapsCat(
$defaults=array(
‘showPostCount’ => false,
‘inExclude’ => ‘exclude’,
‘inExcludeCats’ => $blogcat,
‘showPosts’ => false,
‘showPages’ => false,
‘linkToCat’ => false,
‘olderThan’ => 0,
‘excludeAll’ => ‘0’,
‘catSortOrder’ => ‘ASC’,
‘catSort’ => ‘catId’,
‘postSortOrder’ => ‘ASC’,
‘postSort’ => ‘postTitle’,
‘expand’ => ‘4’,
‘defaultExpand’ => ”,
‘postTitleLength’ => 0,
‘animate’ => true,
‘catfeed’ => ‘none’,
‘catTag’ => ‘cat’,
‘showPostDate’ => false,
‘postDateAppend’ => ‘after’,
‘postDateFormat’ => ‘m/d’,
‘useCookies’ => true,
‘showTopLevel’ => true,
‘postsBeforeCats’ => false,
‘debug’=>’0’
)
);
} else {
wp_get_categories(”);
}
echo “\n”;
?>
<?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘widgetized-area’)) : else : ?>
<?php endif; ?>
</div>
<!— Sidebar Ends –>
This is a foreign language to me! What do I need to change?
Regards,
Mark