link to the frontend pages

This commit is contained in:
Nicola Mustone 2015-04-01 15:41:33 +02:00
parent c19f2e573e
commit d7a4d83b46
1 changed files with 5 additions and 3 deletions

View File

@ -507,7 +507,9 @@ if ( ! defined( 'ABSPATH' ) ) {
}
if ( ! $error ) echo '<mark class="yes">#' . absint( $page_id ) . ' - ' . str_replace( home_url(), '', get_permalink( $page_id ) ) . '</mark>';
if ( ! $error ) {
echo '<mark class="yes">#' . absint( $page_id ) . ' - <a href="' . get_permalink( $page_id ) . '" target="_blank">' . str_replace( home_url(), '', get_permalink( $page_id ) ) . '</a></mark>';
}
echo '</td></tr>';
}