Hide menu

Posted in: Newspaper
Post count: 125

Dear support,
I will like to hide my Login menu when a user is logged in.
I have tried two plugin to help execute this function, but are not supported by the theme.
Could you be so kind to advice on a way out.

Regards,

Post count: 22421

Hello,

If you are referring to the top bar login section, that will turn into a logout button and user info: https://www.screencast.com/t/B4mlss3ID
Is this what you want removed or do you have a custom login? Please provide a link to your site so I can inspect it.

Thank you!

Post count: 125

Bogdan,
I dont want to use your Newspaper login button, because it does not give me what I want.

I am using Userpro plugin. I have created two pages called login and logout and placed the page menu on top-menu. But Userpro login does not change to logout when a user is logged in.

My only option is to use a plugin to hide the Userpro login menu on the top-menu when a user login.

But this has not worked with the two hide menu plugin I used. They are not supported by Newspaper theme.

So, I need assistance to make this work by any best solution you can offer. If there is also a plugin that you can also recommend to this work, I will also appreciate

The link: http://www.warrimarket.com

Regards,

Post count: 20688

Hi,

This is complicated what you are trying to achieve. Maybe the plugin you are using has some settings for this that you can use, I do not know how that plugin works.
Or maybe when a user is logged in you can use that somehow to hide the menu login item if that is what you need.
For example when a user is logged in with the default login, a class is added on the body – https://www.screencast.com/t/BpG8wtu3Ux so maybe you can create a simple condition that when that class is used the menu item in question will be hidden. Like in this example, when logged in – https://www.screencast.com/t/Ay2n9UZz the top menu will be hidden. Hope this helps in some manner.
You could always search the forum for similar implementations, maybe some other users have achieved results using plugins or custom code.

Thanks

Post count: 125

Thanks,
It being solved in another way.

Regards,

Post count: 22

Hi pstgibson,
I have the same problem.
How did you solved this?
Thanks,
Francesco

Post count: 125

Send me your email, I can forward the script to you.

Thanks.

Post count: 22
Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.