http://mindfulmusings.net/weblog/
if this is how u want, contact the author! 🙂
Wow, that was pretty nifty. Snipped and pasted, thanks!
Thread Starter
nukie
(@nukie)
Nice!! Thanks a lot! =D!!
Anonymous
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.
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.
Anonymous
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 🙂