Showing a section/column or raw when login

Hi,
using this post, I managed to hide a section on the homepage: www.nhmigration.com after the user is logged in, however, I want to have another section or button to show up after the user is logged in as well.

For instance, in the case of ‘www.nhmigration.com’ the user clicks on red button and logs in and once in the website, the red and green button hide. I want to replace them with an ‘order button’ when the user is logged in.

Actually, I find the above post’s solution for showing a class after login confusing. Would you please help?

Thanks,
Abbas

Hey Abbas,

Thanks for writing in!
I don’t see any red/green button, If your intention is t hide certain menu items based on user’s login/logout status then you can give a try to this plugin : https://wordpress.org/plugins/nav-menu-roles/

Regards

Hi
I have attached the homepage before and after login to show you my purpose
I don’t mean hiding and showing menu items but css classes which I have already applied on a section on homepage
I also missed saying it is only applied on mobile devices/version/screen.

Please help!
Abbas

You can wrap your content using the Protect shortcode to hide it for logged out users. See https://theme.co/apex/forum/t/shortcodes-protect/171. If what you need could not be achieved using the Protect shortcode or Cornerstone element, it would require custom development which is outside the scope of our support. In that case, we do have an in-house custom development team that offer paid services, who may be able to assist. They can be contacted at pinnacle@theme.co if this is of interest to you. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.