Displaying user profile’s website field?
-
Hi
I am trying to display a registered users external URL in the main post section of my WP blog by adding an extra field below the date and time, saying “View authors website HERE”… To do this I am trying to tap into the field in the database that contains the users website URL (the optional field that the user fills in upon registraton or is filled in by the admin when setting up the account).
Question is what is this field called, does anyone know? I just can’t figure it out. This is what I have:
<?php the_date(); ?> @ <?php the_time() ?> <?php edit_post_link(__(‘Edit This’)); ?></div>
<div class=”blog_text”><?php _e(“View authors website:”); ?> <?php USER_URL(__(‘HERE’)); ?> </div>what should replace “USER_URL” ? i’ve tried a few things but they all break the blog (using comment_author_link just ends up with ‘Anonymous’ and no link underneath).
and… am I even attempting it correctly with this code?
PLEASE help
thank you!
- The topic ‘Displaying user profile’s website field?’ is closed to new replies.