I need to display the User Defined Fields as public on the users profile page
Here is my custom El Aleph Profile page
<?php get_header(); ?>
<div id="contentwrapper"><div id="content">
<div class="user-profile">
<?php if (have_users()) { the_user() ; ?>
<?php aleph_the_user_avatar('<div style="float:none; padding-right:25px;" class="user-avatar">', '</div><hr>'); ?>
<h2 class="title">About <?php aleph_the_user_posts_link(); ?></h2> <small> <?php aleph_the_user_complete_name(); ?></small><br />
<div class="content"><?php aleph_the_user_description(); ?>
<h3>Member Since: </h3><?php aleph_the_user_registration_date(); ?><br />
<?php if (aleph_is_active_taxonomy('author-contacts')) { ?>
<?php } ?>
<?php if (aleph_is_active_taxonomy('author-interests')) { ?>
<h3 class="clear"><?php _e('Interests - Stock Symbols', 'aleph'); ?></h3>
<p><?php aleph_the_user_interests(' ', ', ', ' '); ?></p>
<?php } ?>
</div> <!-- /content -->
<?php } else { ?>
<h1 class="title"><?php _e('Sorry', 'aleph'); ?></h1>
<div class="content">
<p><?php _e('You tried to see the profile of a non existent user.') ?></p>
</div>
<?php } ?>
</div>
</div></div> <!-- Closes Content -->
<div class="sidebar">
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
here is the code I thought I should use to include "user defined fields" in my public profiles
<?php
if( get_user_option(your_company_name, $curauth->ID) ):
echo get_user_option(your_company_name, $curauth->ID);
endif;
?>
this only displays the custom field information for that user if the user is signed in......?
I have a "view our member" page whisk lists all users and links to a custom profile.php page
what do I insert into the profile page to display the "user defined fields" as public to anyone who chooses to browse through the members/users
WP 2.6.5