|
|
Previous and Next Story Links
Posted under General by John Chong on Wednesday October 10 2001 @ 04:07PM EDT
|
Does anyone know how I can get rid of the previous and next story that shows up on each story page?
Example: on each story page you'll see something like this at the bottom of the story but just above the comments:
I have just upgraded from 0.5.0 to 0.5.2 and don't really like the way this looks on my site.
Thanks
|
|
|
|
Greg writes on Friday October 12 2001 @ 09:42PM EDT: [ reply | parent ]
In stories.php, look for (whether you can just comment this section out without affecting anything else, I don't know, but this is the stuff):
/*== construct next/prev links ==*/ $blah = ""; if ($prev_page) { $blah .= "[<< " . _PREV . "] \n"; } for ($i = $s_pages; $i $i \n"; } elseif ($i != 1) { $blah .= " $i "; } elseif ($page != $num_pages) { $blah .= " 1 "; } } if ($page != $num_pages) { $blah .= "[" . _NEXT . " >>] \n"; }
|
|
|
|
|