2015-09-15, 04:55:18
(2015-09-14, 05:58:06)wdburgdorf Wrote: Hi,
I did actually read the wiki, but either there is a piece of information missing, or something does not work right on my site:
Choosing "private", the page gives a 404 when not logged in - fine. But the menu item remains visible. Should it not disappear? I can switch it off, of course, but then the page could not be found anymore at all ...
Thanks!
try to get content when you are login into admin area:
PHP Code:
if (isset($_COOKIE['GS_ADMIN_USERNAME'] == 'admin')){
//do something / echo something //
}
PHP Code:
<?php get_i18n_navigation(return_page_slug(),0,1,I18N_FILTER_MENU | I18N_FILTER_LANGUAGE); ?>
user plugin: scroll to top