[SMALL FIX] Need someone experienced in php & wordpress

Status
Not open for further replies.

12lolwut12

Junior Member
Joined
May 26, 2010
Messages
135
Reaction score
9
Hello,

I have a website which streams episodes of anime series. On every page of an episode there is a 'Next Episode' and 'Previous Episode' button. Both of those work. However they are tied to the date when the post is published.

For example:

Episode 1: Posted on Sat 25 Dec 14:12
Episode 2: Posted on Sun 26 Dec 13:53
Episode 3: Posted on Sat 25 Dec 16:13

This results in Episode 1 linking the 'Next Episode' button to Episode 3. When it should obviously link to Episode 2.
I need the buttons to work sort out the order of the episodes by Title, and not by Date.

My current code for the next button looks like this
Code:
 <?php next_post_link('%link', 'Next Episode', TRUE, '3'); ?>
 
Last edited:
You will have a greater chance of someone volunteering to help if you give some more detail of what the issue is.
 
I'm still looking for someone, I also added the task I need done to the description.
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top