WordPress.org

Ready to get started?Download WordPress

Forums

Smarter Navigation
Change the rel="next/prev" links in the header (2 posts)

  1. Parakoos
    Member
    Posted 2 years ago #

    Hello,

    WordPress automatically adds two links to the header, like this:

    <link rel="prev" title="Fear" href="http://www.themodernnomad.com/2011/fear/">
    <link rel="next" title="Fear" href="http://www.themodernnomad.com/2011/getting-things-done/">

    All well and fine, but these do not get changed by Smarter Navigation. Is this a conscious decision, and if so, why? If not, then how might we do this? I looked around for some filter but couldn't find one. (Although I'm not very good at this.)

    Thanks for a great plugin!

    Gustav

    http://wordpress.org/extend/plugins/smarter-navigation/

  2. scribu
    Member
    Plugin Author

    Posted 2 years ago #

    It's not a conscious decision. I just never thought about them.

    One option is to unhook the 'wp_head' action that generates them and replace it with our own.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic