while creating my custom theme, i come about a problem with the logout link. i've created a header.php and included it in every page. the logout link works fine, except for the 404 page, its not loading.
seems like, the function does not exist on a logout page?
this is my code inside the header.php to load the link:
`if (function_exists('printUserLogin_out')) { printUserLogin_out('', '');`
Comments
the function does not exist on 404 pages. so `function_exists('printUserLogin_out')` returns false and `printUserLogin_out()` gives an error.
maybe i should use a hardcoded link?! would work for now...