From: Anthony Talarico Date: Thu, 28 Jun 2018 13:29:09 +0000 (-0400) Subject: adding logout link to demo menu X-Git-Tag: v1.0.0^2~9 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=a21f9662e06a2eceb38aef909d4bfd8ad8d83389;p=WP-Themes%2Fhospitalitymentality.git adding logout link to demo menu --- diff --git a/functions.php b/functions.php index 68d2ea9..dc6c9aa 100644 --- a/functions.php +++ b/functions.php @@ -275,7 +275,7 @@ define( 'OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/inc/opti function add_logout($items, $args) { $url = wp_logout_url( home_url() ); - if( $args->theme_location == 'login' ){ + if( $args->theme_location == 'demo' ){ $items .= ""; diff --git a/header.php b/header.php index 57035ce..298c55e 100644 --- a/header.php +++ b/header.php @@ -42,7 +42,7 @@