I’m using the 2.1 version of this plugin with Wordpress 2.8.4 but the
Any ideas? Cheers, Dan.
I’m using the 2.1 version of this plugin with Wordpress 2.8.4 but the
I'm also having this problem, just was about to submit a ticket.
Will be very happy for ideas how to solve this, or to other plugin that does the same job and don't have this bug.
Thanks
Just downloaded and installed this... I noticed this as well. I'm bumping this up since it's also something that I'd like fixed as well.
Thanks,
Alex
I have the same issue.
I have figured out the problem.
In page-links-to.php, lines 178-181 are:
if ( $highlight ) {
$pages = str_replace( ' class="page_item current_page_item"', ' class="page_item"', $pages );
$pages = str_replace( '<li class="page_item"><a href="' . $current_page . '"', '<li class="page_item current_page_item"><a href="' . $current_page . '"', $pages );
}
Replace them by:
if ( $highlight ) {
$pages = preg_replace( '/ class="page_item page-item-(\d+) current_page_item"/', ' class="page_item page-item-$1"', $pages );
$pattern = '|<li class="page_item page-item-(\d+)"><a href="' . $current_page . '"|';
$replacement = '<li class="page_item page-item-$1 current_page_item"><a href="' . $current_page . '"';
$pages = preg_replace( $pattern, $replacement, $pages );
}You must log in to post.