• Resolved Craig S. Kiessling

    (@iamnorthwind)


    I’ve figured out how to create customized tabs with custom content via basic print and echo. I have a few questions that stem from the same scenario:

    I finally figured out that by setting a field to visibility: edit only, due to the display replication, it shows up only in user meta, which is cool. Til it gets responsive and cuts out most of the user meta. So then I thought about creating custom tabs. Got that done. But now can’t figure out how to pull specific field data into that tab. And of course I’d love to shoot for the moon and have conditional logic of if it’s mobile/responsive mode, show tab & pull data. If not, just show it on the User Meta.

    https://wordpress.org/plugins/ultimate-member/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Craig S. Kiessling

    (@iamnorthwind)

    What I am looking for is a pointer to perhaps a list of actions, hooks, filters, etc. specific for pulling user data from UM I am guessing. Anyone?

    Plugin Author Ultimate Member

    (@ultimatemember)

    Hi, we have a codex page on our site: https://ultimatemember.com/codex/

    Thanks!

    Thread Starter Craig S. Kiessling

    (@iamnorthwind)

    Many thanks! So far I am loving this plugin and although none of the current extensions fit any specific need I may have, I do look forward to the coming additions! 🙂

    In looking at it, would I be correct in assuming, for example:

    um_fetch_user( get_current_user_id() );
    
    echo um_user('display_name');

    That display_name is the meta_key? That within code I run fetch_user once and then can echo various profile fields by calling each created meta_key in the same format as above?

    Thread Starter Craig S. Kiessling

    (@iamnorthwind)

    Something that just occurred to me as I stepped outside, however…

    Even if I have created custom tabs in my theme functions.php… And I get the right code to pull in profile data…It will show up there, but also in the current standard About tab.

    Although tricky yet doable to configure the whole thing, a Feature Request (yay) or Extension (not-as-yay, but okay), would be to assign Profile Fields to a particular Tab – even those Custom ones created. As I don’t think there is an easy way to do this right now, is there?

    Thread Starter Craig S. Kiessling

    (@iamnorthwind)

    The more I look into what is current, I am guessing that would be a rather huge undertaking, as the plugin is meant to have Profile data on one tab, thus the inclusion of section headers, dividers, etc. in the form builders. That’s cool. For now, I’ll just include all profile data on its own Tab and use custom tabs for pulling in other data.

    Plugin Author Ultimate Member

    (@ultimatemember)

    Okay, let us know if you need help with any issues.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Specify Profile data on Custom Tabs’ is closed to new replies.