Advertisement:

Author Topic: inlogged user, in the theme Violet  (Read 85 times)

mszork

  • Newbie
  • *
  • Posts: 4
inlogged user, in the theme Violet
« on: August 20, 2019, 05:36:07 pm »
Hi,
I try to find the way to display the name of the inlogged user, in the theme Violet.
In the file header.php, i tried to include " <li><?php echo  osc_item_contact_name();?> </li>" after the last word in the menu. 
Does not work!
Thanks for your help.

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 486
Re: inlogged user, in the theme Violet
« Reply #1 on: August 20, 2019, 06:11:40 pm »
<?php echo  osc_item_contact_name();?> - is the name from item not the name of logged user
<?php echo osc_logged_user_name(); ?> - is the name of current logged user

mszork

  • Newbie
  • *
  • Posts: 4
Re: inlogged user, in the theme Violet
« Reply #2 on: August 21, 2019, 01:49:12 am »
Oh! Very well! It works now.
Thanks very much.