Support » Plugin: Site Reviews » display all the review submitted by all the other author on a profile pag

  • Resolved tenzinchoenyi

    (@tenzinchoenyi)


    Hello,
    On a profile page, I want to display all the review submitted by all the other author on a profile page.

    Can you please help me as soon as possible.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    To clarify: You want to show all reviews that have been submitted by a specific author on their profile page?

    If so, are you also using a plugin such as the Ultimate Members plugin?

    Thread Starter tenzinchoenyi

    (@tenzinchoenyi)

    No, I want user can submit review on other user profile page and display reviews submitted by other users on their profile page. please help me on that.
    I am using Asgaros Forum plugin

    Thank you

    Plugin Author Gemini Labs

    (@geminilabs)

    In that case, use the assigned_users option on the shortcodes.

    For example:

    [site_reviews assigned_users=13] where 13 is the user ID of the author page

    [site_reviews_form assigned_users=13] where 13 is the user ID of the author page

    See also the Help > Shortcodes page to learn more.

    Thread Starter tenzinchoenyi

    (@tenzinchoenyi)

    Above shortcode is only for single author. I want to use in author.php so can you help me. I have struggled on this. For one single shortcode I want to use in every author page.

    Thread Starter tenzinchoenyi

    (@tenzinchoenyi)

    Thank you 😊

    Plugin Author Gemini Labs

    (@geminilabs)

    You will need to first get the User ID of the author page. This may help: https://codex.wordpress.org/Author_Templates

    Once you have that, you can do this:

    echo do_shortcode(sprintf('[site_reviews assigned_users="%s"]', $userId));
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘display all the review submitted by all the other author on a profile pag’ is closed to new replies.