Need help? Check out our Support site, then


"Next" and "Previous" from permalinked post

  1. When you go to a post via its permalink, sometimes you want to see a nearby post as well. If the permalink display included a "Next" and "Previous" button so you could click to see the next/previous post, that would be most useful. Thanks.

  2. Some themes have them, some don't.

    It's actually one of my biggest pet peeves when they don't.

  3. Mine as well. I like the navigation on both the top and the bottom. Good points!

    Trent

  4. To get an idea of the impact on staff of the nature of the changes suggested and the amount of staff time that would be devoted to this, as opposed to being devoted to other priorities, I would like to know the answer to the following questions before I state my agreement or disagreement with the idea posed.

    (1) As we are all on a multi-user blogging platform then would each theme have to be coded to produce " next entry" and "previous entries" ?

    (2) Or can it be done through software changes for all wordpress.com blogs across the board without coding it into each theme?

  5. The way it would work is changing the code in each theme and it would automatically be reproduced for each and every blog using that theme. (drmike can confirm or deny this claim as he is the WPMU export)

    Trent

  6. /nod to trent and awaiting drmike's response

    I have a further question.

    (3) Can " next entry" and "previous entries" be added to a blog theme via css customization?

  7. TT, I don't think that next and previous entry could be added via CSS, since they are content rather than style.
    I wonder if a next entry/previous entry sidebar widget would be possible?

  8. No on the CSS additon. You'd have to modify the underlying theme files.

    Widget -> Probably not as well since it's a PHP function call to generate those links. Unless staff created a widget like that and then you had to write CSS to position it.

  9. Thanks for the clarification drmike.

  10. But to answer Trent's question, it's a standard function call so all it would mean would be adding in the same or nearly the same lines of code into the single.php file. For example Sapphire does this:

    <div class="navigation">
    <div class="alignleft"><?php previous_post('« %','','yes') ?></div>
    <div class="alignright"><?php next_post(' % »','','yes') ?></div>
    </div>

    May have to add in some CSS as well. It would be a cut and paste job though.

  11. Guess I just picked the wrong theme.

    Along these lines, it would also be nice to have "scroll" button when you're at a post via permalink, which would allow you to scroll up and down from the post, using the kind of abbreviated entries you get with a search. That, I know, would be a lot of work, but since this is a forum for ideas, and it's an idea... well, there it is.

Topic Closed

This topic has been closed to new replies.

About this Topic