Add no-index to non-public page templates
This commit is contained in:
parent
16df0286c7
commit
c78448f8f0
2
404.php
2
404.php
@ -12,7 +12,7 @@
|
||||
$custom_404 = intval( get_option( 'fictioneer_404_page', -1 ) ?: -1 );
|
||||
|
||||
// Header
|
||||
get_header();
|
||||
get_header( null, array( 'no_index' => 1 ) );
|
||||
|
||||
?>
|
||||
|
||||
|
@ -20,7 +20,7 @@ if ( ! get_option( 'fictioneer_enable_bookmarks' ) ) {
|
||||
}
|
||||
|
||||
// Header
|
||||
get_header();
|
||||
get_header( null, array( 'no_index' => 1 ) );
|
||||
|
||||
?>
|
||||
|
||||
|
@ -64,7 +64,7 @@ if ( ! array_key_exists( $current_tab, $tabs ) ) {
|
||||
$tabs[ $current_tab ]['classes'][] = '_current';
|
||||
|
||||
// Header
|
||||
get_header();
|
||||
get_header( null, array( 'no_index' => 1 ) );
|
||||
|
||||
?>
|
||||
|
||||
|
@ -80,7 +80,7 @@ if ( ! array_key_exists( $current_tab, $tabs ) ) {
|
||||
$tabs[ $current_tab ]['classes'][] = '_current';
|
||||
|
||||
// Header
|
||||
get_header();
|
||||
get_header( null, array( 'no_index' => 1 ) );
|
||||
|
||||
?>
|
||||
|
||||
|
@ -56,7 +56,7 @@ $hook_args = array(
|
||||
);
|
||||
|
||||
// Header
|
||||
get_header( null, array( 'type' => 'user-profile' ) );
|
||||
get_header( null, array( 'type' => 'user-profile', 'no_index' => 1 ) );
|
||||
|
||||
?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user