Show "Submit a Job" button only when registered
in the sidebar-sjob.php file, I have added the following code at the beginning:
<>php if ( ! is_user_logged_in() ) : ?>
and the following code at the end:
<?php else : ?>
"Not Logged In"
<?php endif; ?>
Needless to say, it doesn't work. Getting the following error:
Parse error: syntax error, unexpected T_ELSE [on line 26, which is the 1st line of the bottom code]
Need help. Thanks in advance.