• Resolved amirwagih

    (@amirwagih)


    Is there a way to display dynamic user data using the provided shortcodes? For example, I’m currently trying to use this shortcode [mycred_leaderboard_position] to display users’ positions on their profiles, which are elementor templates that show dynamic data about the currently viewed user. However, if user X views user Y’s profile, the shortcode still shows user X’s position, not user Y’s position, because the shortcode displays the data of the logged-in user instead of the currently viewed user. I tried to find a solution through the documentation. Still, I only saw the user_id attribute, which doesn’t really solve the problem because I can’t set a specific user ID since I’m using templates, as I mentioned earlier.

    I hope I clarified my issue well. Kindly let me know if there’s a solution.

    Best regards,
    Amir

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter amirwagih

    (@amirwagih)

    Apologies, I’m not using a template. I’m using the ultimate member plugin. This plugin creates user profiles as a page, not templates.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @amirwagih,

    Thanks for contacting us,

    I hope you are doing well, We have replied to the support ticket. Please follow up there.

    Thanks & Regards
    WP Experts Support Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display dynamic data using shortcodes’ is closed to new replies.