Hi Burt. Sorry for cross post but I’m under the gun. I’m trying bp_core_get_userlink() with submitting the_auhtor_id() as the argument and it returns the integer author id. If I submit the author ID as a simple string as in bp_core_get_userlink(6) I get the right link to the profile. What am I missing?
Hi BP n00b here but not a wordpress n00b. I am trying to get this to work as well with bp_core_get_userlink() as well. When I submit the_author_id() as an argument I get the author ID returned as the output of the function instead of the proper profile link. If I submit the author id as a simple string (in this case 6) I get the proper link returned? What am I missing here?
so for the sake of clarity code that looks like this <?php echo bp_core_get_userlink(the_author_id()); ?> returns 6 and code that looks like this <?php echo bp_core_get_userlink(6); ?> returns the correct link to profile page.
I don’t get it. Any help would be much appreciated