Forums

Organize Series "Previous Entries" really "Next Entries" (5 posts)

  1. kconover
    Member
    Posted 10 months ago #

    I am using organize-series on WordPress 3.2.1 (at ed-informatics.org) and I am almost blissfully happy with it.

    The only problem I see is, when I go to the page of a series the "Next Entries" link points at the "Previous Entries" and vice versa.

    Before I started hacking at the page code I thought I'd better post a message here and see if anyone can point out some very obvious idiotic thing I have overlooked.

    Thanks for any thoughts.

  2. nerrad
    Member
    Posted 10 months ago #

    The "next entries" and "previous entries" links are specific to the theme as series archive pages inherit however the archive pages are setup with your theme. You can modify how series archive pages are displayed by creating a new file named taxonomy-series.php and copy whatever is in the archive file (archive.php, category.php or index.php) that your theme uses for displaying taxonomy archive pages and then just do conditional around the "next entries" and "previous entries" links using the provided is_series() function with organize series.

  3. kconover
    Member
    Posted 10 months ago #

    Hmmm. Seems that if I create a copy of my archive.php and name it taxonomy-series.php - which will only be invoked for series, not other archive pages - there would be no need to insert a conditional like "is_series()". Any tweaks to taxonomy-series.php would only apply to series archive pages.

    Or do I misunderstand?

  4. kconover
    Member
    Posted 10 months ago #

    Indeed, I copied index.php (my theme doesn't use archive.php) to taxonomy-series and edited a bit without any conditionals and it seemed to work OK.

  5. nerrad
    Member
    Posted 10 months ago #

    glad it's working for you. and yes is_series() wouldn't have to be used in the taxonomy-series.php template. However, it is another conditional function that can be used to indicate code that should be executed when the item is a part of a series.

Reply

You must log in to post.

About this Topic