actually i insert a registration / login function in my sidebar for the q&a plugin.
After i login into it, i see the link “Profile” in my sidebar login-widget. This link takes me to the normal wordpress dashboard.
I like to change the automatic generated link into the q&a front-end-profile. Can you give me the right code only for the username?
This is the normal code in the sidebar widget, which generates the “Profile” Link:
href=”<?php echo trailingslashit(get_admin_url()); ?>profile.php”><?php esc_html_e(‘Profile’,’login-with-ajax’:wink: ?></
<?php the_qa_author( get_the_ID() ); ?>
instead of the “profile.php”
And it work well, but i see there the whole profile box, with extra photo, link and so on. But i only need the q&a username.
I hope you know what i mean :slight_smile: