lloc/Multisite-Language-Switcher — Issue #4: [Feature Request] Support for archives (dates/author/...)
Author: TobiasBg
Created: 2011-11-10 15:43:04+00:00
State: open

It would be great if the plugin could match archives to the other sites, too.

Currently, when viewing an archive page (like http://www.example.com/en/2011/10/ (for the month October 2010)), the link in the output points to the last post that is shown on the page, instead of to the same archive page in a different language (http://www.example.com/de/2011/10/ for example).

If the permalink structure is the same in all connected sites (which it in most setups likely is), this should not even require a manual matching, as the "/2011/10" would be the same.

The relevant conditional tags should be is_date() and is_author(), maybe some more. is_archive() is probably not useful, as it also contains categories and tags, which are handled already.