Snippet: Hide Header Search For Guests

Note: this is the custom code change and as such is not officially supported by PeepSo team. You should create the full backup of your site before applying custom codes.

Overview #

This snippet will allow you to hide the header search for people who are not logged in.

How To Apply This Snippet? #

  • Method 1 (Manually) – Open the WordPress Admin Panel and navigate to “Appearance -> Customize”. Once WordPress Customizer is open, expand the Custom CSS panel and copy the snippet to it.
  • Method 2 (Trough plugin) – NOT SUPPORTED! Since this is a CSS change, you can’t use the plugins like Code Snippets to add it. It must be installed manually.
What are your feelings
Updated on Oct 3, 2023