Get next and previous page in wp_header
I’d like to add
<link rel="prev" href=".." />and
<link rel="next" href=".." />tags into
<head>of bbpress forum page. So I need to get links for the next and previous pages of my forum. It has to be outputed in
wp_headaction but in that time the bbPress class is not initialized yet, so I cannot get any information from that. Can you help me?
- You must be logged in to reply to this topic.