Recent Topics

1 Sep 09, 2005 06:27    

hey I enjoy this code to show link to NEXT - PREVIOUS posts at the end of Each post. (I use diffrent template for single posts so ppl see link to next post at the end of each post .)


                     <?php posts_nav_link(); ?>
		<?php
			 next_post( '<p>%</p>' );
			 previous_post( '<p>%</p>' );
		?>

but there is a problem. this Next tool , links to next post by date in ANY BLOG...
and it is disgusting , like ppl who are reading a blog click on next post and go go another post in another blog...

is there any way to limit this Function , to just Give us Next post in currect blog not "next post" by date even if it is in anotehr blog ?

I hope you undrestand what I mean..:oops:

2 Sep 09, 2005 06:47

C'mon medya - you've been around long enough to know that lots of stuff has been done already. Try searching for answers instead of just asking!!! A search for "prev next post*" turned up 55 responses. Adding "single" to the search gave me only 19, and replacing "single" with "hack" gave me only 9. In all cases [url=http://forums.b2evolution.net/viewtopic.php?t=2759&highlight=next+previous+post%2A]an old hack[/url] of mine showed up. I covered the same thing [url=http://wonderwinds.com/hackblog.php/2005/01/12/sniggling_the_cruftulator]on my blog[/url], but I wouldn't be surprised if my blog got bad stuff in it. Looks like the forum thread got a couple of corrections done based on feedback.

BTW as far as I recall there are two totally different ways to do the same exact thing. Some of the search results might show you a method you feel is much better. I linked the ones I liked here, but that doesn't mean it's the only or the best. It's nice to have choices eh?

3 Sep 09, 2005 07:12

oh I did search , but not in a right place, I searched just in HOW TO section . sorry :oops: because I thought as Next_POST is already a part of b2 , then there is no need to search for new hacks.

thanks .

4 Sep 09, 2005 07:47

aaaah! Someone who knows how to dial in a search! Didn't mean to sound mean or anything - it's just that you have been here for a while and I thought "gosh doesn't he know how to find some of the neato stuff?".

Hey! When are you going to put your b2evolution blog's website in your profile??? Maybe I'm the only one, but maybe others want to read what you have to say? I *still* dream of flying over Kurdistan...

5 Sep 09, 2005 09:19

EdB wrote:

aaaah! Someone who knows how to dial in a search! Didn't mean to sound mean or anything - it's just that you have been here for a while and I thought "gosh doesn't he know how to find some of the neato stuff?".

Hey! When are you going to put your b2evolution blog's website in your profile??? Maybe I'm the only one, but maybe others want to read what you have to say? I *still* dream of flying over Kurdistan...

:oops: I am really sorry ...

by the way I used to put my blog in my profile ...but you know what ? Turks are like Wolf and we kruds are like sheep....they hate us...about month ago , I saw a turk had posted something in the forum and asked you not to help me.... I worry that they may hack my site...

by the way take a look at me site using lovely b2evolution
http://northerniraq.info/news/index.php?p=1152&more=1&c=1&tb=1&pb=1#more1152
and
http://northerniraq.info/news/index.php?p=1106&more=1&c=1&tb=1&pb=1#more1106

I also have a kurdish site with b2 http://rojbash.net/
I made a Kurdish Skin for it (you may like me to give you this Right To Left version of Custom skin for Middle eastern Scripts ) ;)

but my personal blog is
http://blog.medyadaily.com ;)


Form is loading...