Display a shortcode in Profile fields from another Plugin.

This topic contains 3 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #6932

    peter1232
    Free User
    Post count: 1

    Is it possible to display a shortcode of another plugin in the UserWP Profile fields?

    And Show this on the User Page.

    Regrads
    Peter

    #6936

    Patrik
    Moderator
    Post count: 1971

    Hi,

    You can display shortcode output on the user profile tab. You can go to UsersWP->Form Builder->Profile Tabs and click shortcode from left side. You will get the form on the right side in which you can give the tab name and put the shortcode in the text area and save it.

    Regards,
    Patrik

    #6943

    peter1232
    Free User
    Post count: 1

    Thanks for Answer.

    Can this shortcode be designed individually for each user?
    Or is every user shown the same?
    I have a shortcode with which teams are displayed.

    Example:
    Team A is displayed for user A.
    With User B -> Team B

    #6958

    Alex Rollin
    Moderator
    Post count: 27815

    If your shortcode has a parameter for ‘author=current_user’ or something like that, it will work on the profile/author pages in a tab.

    UsersWP loads the profile using the WP author pages, so, the author id and current user are both available for usage in shortcodes.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket