• Resolved filmreeves

    (@filmreeves)


    Hello, the plugin is just what I was looking for, except…

    I’m including the shortcode on each user page under a custom tab, ‘Posts.’
    I want only the posts of the current user to be displayed through this shortcode. I’ve tried user id=get_current_user_id() but that doesn’t seem to work. Any suggestions?

Viewing 1 replies (of 1 total)
  • Thread Starter filmreeves

    (@filmreeves)

    No need to worry, fixed this myself rather quick by editing the plugins functions file. Changed user id = false to bp_displayed_user_id(),

Viewing 1 replies (of 1 total)
  • The topic ‘Get current user id’ is closed to new replies.