Relative Links plugin

Relative links (<link rel="" />) are an important accessibility feature each website should have. A lot of websites got their data structured like a directory, like WordPress powered sites, and users should always have the opportunity to navigate in this structure without the help of the navigating system provided by the site (eg. XHTML+CSS navigation menu).

So I’m finally releasing my plugin for WordPress called “Relative Links“.

As it’s written in the work page:

This plugin places relative <link>’s in each page header, such as rel="next" and rel="up", which allows some browsers to take advantage of this feature, by
providing sequential and structured navigation for a website to the user.

So, basically, what it does is: it puts relative <link>’s tags in each page header. It adds:

  • Top link based on weblog’s name and URI
  • Up link based on requested URI’s structure
  • Next, Previous, First and Last links based on the selected post/day/month/year.

The plugin is still in beta state, so it’s normal if you find bugs in it. Reading the “Notes” part included in the file before using it would be a good idea.

The plugin is here: Relative Links.

Enjoy!

There are 2 comments yet. Don't be shy.

1. On September 21st, 2005 at 9:25 pm, septor said :septor's gravatar

You should open PHP code with <?php ;]

2. On September 22nd, 2005 at 9:34 am, Remi said :Remi's gravatar

Thanks for the advice Pat :-)


Sidebar