Hi jmtechglobal,
I figured out how to add your code in functions.php and get the menu to show up on my top header.
How do i add that portion of the messaging add on as a dropdown to my profile page?
Thanks again!
Hi,
I tried this code in header.php:
<?php echo do_shortcode(‘[userpro_loggedout]Login | Register[/userpro_loggedout][userpro_loggedin]Welcome, [first_name] [last_name] ! | Logout[/userpro_loggedin]‘); ?>
I added it in header.php and all is working fine. But when i visit mydomain.com/profile/admin.
The message “Welcome, admin | Logout” disappears. Also the logout button in profile box disappears.
What would be the problem. please some body help.
Replied to you in the thread where you have created it – ThankYou!
Hello admin 🙂
Is there no easy shortcode for a simple logout button?
Hi!
I would like to add this functionality aswell.
I’ve added:
<?php echo do_shortcode(‘[userpro_loggedout]Login | Register[/userpro_loggedout][userpro_loggedin]Welcome, [first_name] [last_name] ! | Logout[/userpro_loggedin]‘); ?>
to my header.php, however the “log-in, register and logout” button just show as text and not as links.
Is there any fix yet?
You must be logged in to reply to this topic.