Already tried that. That's why I can't figure out what's wrong. I opened that page where the shortcode is embedded and just added the line - echo get_user_field("user_hobby"); after I read what you wrote in the post you directed me to earlier to see what happened. It printed the member list with no custom field included and then added the custom field of the logged in person at the bottom of the page. And not the last line of the memberlist, a separate set of brackets. Copy of my codeblock below:
******************** From Member list markup*****************
<li>
<div class="tern_wp_member_info">
<div class="tern_wp_members_display_name">admin</div>
<div class="tern_wp_members_user_email"><a href="mailto:
[email protected]">
[email protected]</a></div>
<div class="tern_wp_members_wp_s2member_custom_fields"><?php echo get_user_field("user_hobby"); ?></div>
</div>
</li>
************************************
************************* Member list page shortcode ********************
[members-list list="Main" search=true alpha=true pagination=true pagination2=true sort=true]
[php]
echo get_user_field("user_hobby");
[/php]
This is what has me stumped.