Query user data

0

Hello, I would like to know if there is a possibility to query user attributes and display on the screen. To do the user registration I am using the member final plugin, which by default only displays the user's photo and login, however I wanted to display more data after the search.

Could any one help me?

So the moment is that way .

I would like to be able to add more thing to just like that .

    
asked by anonymous 10.08.2017 / 16:12

1 answer

0

If someone needs the following code:

Only find the variable created on the form and change it to return what it needs. File inside the edited templates / members-grid.php plugin

<ul class="um-memberColoDsc">
                                <li class="espMemR"><a href="<?php echo um_user_profile_url(); ?>" title="<?php echo um_user('nome'); ?>"><?php echo um_user('regiao'); ?></a></li>
                                <li><a href="<?php echo um_user_profile_url(); ?>" title="<?php echo um_user('nome'); ?>"><?php echo um_user('phone_number'); ?></a></li>
                                <li><a href="<?php echo um_user_profile_url(); ?>" title="<?php echo um_user('nome'); ?>"><?php echo um_user('user_email'); ?></a></li>
                                <li><a href="<?php echo um_user_profile_url(); ?>" title="<?php echo um_user('nome'); ?>"><?php echo um_user('site'); ?></a></li>
                            </ul>
    
10.08.2017 / 17:04