Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: Is it possible to completely remove the top bar menu?

New Front EN Support Forums Ikebana Theme Support Is it possible to completely remove the top bar menu? Reply To: Is it possible to completely remove the top bar menu?

#2995
mmsatori
Keymaster

Hey Jonas,

if you want to get rid of the top bar completely, you can go two ways:
1). remove the code that generates it from the “header.php” theme file (found in the theme’s root folder): lines 75-142
2). OR just add a CSS rule to not display it:

#header { display: none !important; }

this will not physically remove the code, i.e. it will still be loaded into the browser, yet it will never be displayed to the users.

Regarding your second question – this one is rather tricky. In fact, I’ve spent quite some time battling with this issue for one of my other projects as well. It seems that in WordPress the slugs for custom post types (which is what Projects are) cannot be removed via the admin back-end – the only solution I know of is to create rewrite rules in the website’s .htacess file. There is a plugin that helps you accomplish exactly that – yet I’d recommend extreme caution with rewrite rules as they may affect how search engines and users see your website.

Sincerely,
Andrii / Satori Studio