Support » Fixing WordPress » Invisible sidebar when commenting

  • Hello!
    I was wondering if there was a way to make the sidebar (the calendar and things) not appear when a person comments on an entry; while not using pop-up comments.

Viewing 6 replies - 1 through 6 (of 6 total)
    if this is how u want, contact the author! 🙂

    Wow, that was pretty nifty. Snipped and pasted, thanks!

    Nice!! Thanks a lot! =D!!

    I have a question about this if $single attribute. I have put it inside the loop but nothing happens.
    However if I put if !$single then my previous/next buttons appear on the main page but they also appear on my separate category pages wich shows multiple posts. On my front page I have only one post and I tried all 3 settings in the options menu but I have it now set on posts paged.
    Any help would be gladly appreciated since I`m strugling with it for days now.

    It may be that it is early (or late) but I am not sure what you are trying to accomplish. The Previous/Next buttons should show up on the main page and in categories view. How else would you navigate from page to page?
    Anyhoo, !$single would not restrict anything on your main page because it is not technically a “single post” but shows one post because $posts_per_page is set to 1. Hopefully that will get you in the right direction, for whatever you are trying to accomplish.

    Thank for your response.
    I will try to better explain myself so you can understand the problem Im having.
    In my categories and months pages I have all the posts on 1 page and you have to scroll down.
    On my frontpage I have only the latest post (picture).
    This means you need the previous/next buttons on the frontpage to go to the previous post but on the category and month pages you do no need previous/next button since all the post are lined up in descending order.
    s why I need this !$single to prevent the previous/next buttons to show up on the category and month pages. But it does not work. My question is when I use the !$single attribute why do the previous/next button also show up on categorie/next pages.
    Maybe I`m interpreting this attribute and the reason why I need it wrong so tell me if I do.
    I hope I explained myself better this time 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Invisible sidebar when commenting’ is closed to new replies.