*

Chris041973

  • ***
  • 58 posts
Message (0), menu shown in user dashboard only
« on: June 09, 2020, 08:35:28 PM »
Hello,
When the users look for ads, these users don't know if they have received a new message because the Menu "Message (0)" is only located in the user dashboard ...
I would like to add this menu "Message (0)" in the header, then we will know when we have received a new message at any time, even when we search for ads ... Your "Starter Osclass Theme" is the only theme which offers such menu "Message (0)" in the header but I cannot use this Starter theme because it doesn't fit my search by location and few other things too ...
Please what is the code that I have to add in the header file to show the menu "Message (0)" ?
Thank you ...
Chris

Marked as best answer by frosticek on June 11, 2020, 07:44:02 AM
*

Chris041973

  • ***
  • 58 posts
Re: Message (0), menu shown in user dashboard only
« Reply #1 on: June 10, 2020, 07:38:57 PM »
Hello,

I have just found the answer in your plugin ...
I have pasted the code below in the header.php of my theme :
<?php if(function_exists('im_messages')) { echo im_messages(); } ?>

It works ...

Thank you,

Chris

*

MB Themes

Re: Message (0), menu shown in user dashboard only
« Reply #2 on: June 11, 2020, 07:44:12 AM »
@Chris
Thanks for sharing your solution ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots