From a21f9662e06a2eceb38aef909d4bfd8ad8d83389 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 28 Jun 2018 09:29:09 -0400 Subject: [PATCH] adding logout link to demo menu --- functions.php | 2 +- header.php | 2 +- style.css | 9 +++------ 3 files changed, 5 insertions(+), 8 deletions(-) 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 @@