UserPro Forums
  • Create new topic
  • Forums
    • No replies topics
    • Newest topics
    • Forum statistics
  • Account
    • Lost password
    • Register
    • Login
  • Documentation
  • Back to main site

Community Forums

User To User Support Forum/Forums/Customization Help / Requests/Get username of profile page

Get username of profile page

getphptemplateusername
  • 9 years, 1 month ago AvatarManos
    Participant

    Hello, I created a custom page in my template folder where I placed the code below.

    PHP
    1
    2
    3
    4
    5
    6
         My Profile
    <?php echo do_shortcode('[userpro template=view]'); ?>
    My Posts
    <?php echo do_shortcode('[userpro template=postsbyuser postsbyuser_mode=grid postsbyuser_showthumb=1]'); ?>
    <center><a href="http://url/submissions/<strong>USERNAME</strong>" class="sc_button sc_button_style_blue sc_button_size_large">View All</a></center>

    This page is url.com/profile/username so, it shows info about a particular user. What I would like to do is, to get that user’s username to link a button to a page with all submissions. Any ideas how I can get that username? Thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Disclaimer

This forum is 100% free and USER to USER support only. Technical support staff doesn’t monitor this forum actively.

If you are a customer and want to get technical support from our staff please submit a technical support ticket here: UserPRO Technical Support

Recent Topics

  • Custom Badges AddOn Plugin here
  • Green Trust Cash APplication
  • How to use cash app without a bank account
  • Install Cash App on your Device [100%] by yourself | Step-by-Step Guide
  • Green Trust Cash Application

About forum

Here you can find help from UserPro plugin developers and other UserPro fellow users. Please be polite and ask your questions. NO SPAM!

Search Forums

Follow us

  • facebook
  • twitter
  • youtube
© Copyright UserPro