Navigation help? (5 posts)

  1. Duilen
    Posted 11 years ago #

    I have a simple navigation between posts in my blog. It basically adds 1 to the current ?p= to go forward and subtracts 1 to go back.

    The problem is I would like to seperate this into categories. I need the navigation to go to the next or last post within its own category.

    Any ideas?

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    Have you implemented permalinks ?
    Options > permalinks

  3. Duilen
    Posted 11 years ago #

    This is the code I use for navigation.

    <?php previous_post('%', '', 'yes', 'no', 1, '') ?>
    > > || Home || < <<?php next_post('%', '', 'yes', 'no', 1, '') ?>

    <?php } ?>

  4. Duilen
    Posted 11 years ago #

    I could query the DB to pull up only threads within the desired cat then build my navigation around that...does anyone know of an easier way?

  5. Kafkaesqui

    Posted 11 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.