I realize the bbpress sidebar only displays properly when I add widgets to the default wordpress sidebar; however, I only want sidebar displays in the forum page.
Sorry, I just retyped my problem. I forgot to encode the error code.
Hi,
I expect to add a Login/Logout to the menu,however,I encountered this syntax error (indicating in the title) while editing the theme functions.php. According to the error message,
$loginlink = '</pre><ul><li><a title='Logout' href="'.$url2.'">Logout</a></li></ul><pre>';
is the code causing this parse error.
Since this code is provided in the documentation and works fine for others, I wonder what the problem is.
Hope you can help. Thank you so much!