0
votes
1answer
57 views

get next/previous post name

i know that : <?php $pagename = get_query_var('name'); ?> get the name of the current page/post. But I dont know how to get the name of the next and the previous post. I will use it for a hover ...
0
votes
2answers
77 views

Styling Previous/Next Pages differently from Index

A friend of mine pointed me towards using child elements to style my index page so that I could have one loop and several different visual styles (a featured post, a smaller sub-featured post, and ...
3
votes
1answer
587 views

Get next/previous cousin page

Hey Guys, I'm trying to build pagination links for the next/previous cousin page. For example, my page structure is like this: Top Level A a1 a2 B b1 b2 When I'm on a2, I want the 'Previous ...