Query the user data

Asked

Viewed 178 times

0

Hello, I wonder if there is possibility to query user attributes and display on screen. To register the user I am using the plugin final Member, which by default only displays the user’s photo and login, however wanted to display more data after the search.

Some could help me ?

Until the moment is thus.

I wish I could include more to leave equal to that.

1 answer

0

If anyone needs follow the code:

Just find the variable created in the form and change to return what you need. File inside the plugin edited templates/Members-grid.php

<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>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.