Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • skritek
    Participant

    @skritek

    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?


    skritek
    Participant

    @skritek

    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

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar