2013-02-08, 02:15:54
(2013-02-08, 01:41:23)Carlos Wrote: @mvlcek I'm very curious about how yo intend to fix this. I can only think of using an alternative template tag, to be used like:
<?php get_pagify_header() or get_header(); ?>
(This is what I'll probably do with a plugin that has the same issue)
That's why I answered with "I'll try...".
I18N already uses the approach mentioned: get_i18n_header() - but what do you use if you have both I18N and Pagify?
I suppose that I could do a hack like this (argh):
- on index-pretemplate set globals $PRETTYURLS to 1 (if it isn't already) and set $PERMALINK (if it isn't already), then modify the $PERMALINK to contain the page number - or alternatively the parameter complete for the non-paged version.
- on theme-header reset $PRETTYURLS and $PERMALINK
- hope that in between no plugin wants to create a link to another page :-(