Navigation hacks?
-
Hi,
I’m running my webcomic on WP 2.0 with Tyler Martin’s ComicPress theme and I’d like to figure out how to modify the navigation in the following ways:
1. The index.php page currently has page-to-page navigation links, called by the next_posts_link() and previous_posts_link() functions. Since each page will only ever have one entry per page (namely, that day’s comic), I’d like to dispense with the page-to-page navigation links and use post-to-post links. Post-to-post links show up on single.php via the previous_post_link() and next_post_link() functions, but when I try plugging those functions in the index.php page, I get no links. Is there a way to make this happen?
2. Similarly, I’d like to modify the calendar links to take me directly to that day’s comic (as opposed to an archive page of “all” posts for that day since, again, there will only be one post per day). Right now I’m using a javascript redirect on archive.php, but I’d like to do something that doesn’t depend on javascript to work.
Any suggestions with either of these would be much appreciated. The site is at https://www.braincud.com/ in case you need it.
Thanks,
Matt Jordan
- The topic ‘Navigation hacks?’ is closed to new replies.