WordPress.org

Ready to get started?Download WordPress

Forums

Invisible sidebar when commenting (7 posts)

  1. nukie
    Member
    Posted 10 years ago #

    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.
    =D

  2. OperaManiac
    Member
    Posted 10 years ago #

    http://mindfulmusings.net/weblog/
    if this is how u want, contact the author! :)

  3. davedorm
    Member
    Posted 10 years ago #

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

  4. nukie
    Member
    Posted 10 years ago #

    Nice!! Thanks a lot! =D!!

  5. Anonymous
    Unregistered
    Posted 10 years ago #

    Hello
    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.

  6. Beel
    Member
    Posted 10 years ago #

    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.

  7. Anonymous
    Unregistered
    Posted 10 years ago #

    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.
    That
    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 :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.