I've installed the splashgate plugin in order to create a disclaimer page that the user must access before gaining access to the sensitive information. This also means hiding the main nav menu until the user has agreed to the disclaimer / TOS.
The "if" statement should be quite straightforward but I keep on geting a "unexpected T_IF" error on line 86 (where I test for the page ID). i know the error must be glaring, but I can't find it...
Can anyone point me into the right direction?
<? php
if ( is_page('35547')
{php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'vuoto' ) );
}
else if
{php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) );
}
endif;
?>
Thx
Paul