From: Anthony Talarico Date: Tue, 24 Jul 2018 13:23:19 +0000 (-0400) Subject: updating the login redirect urls, removing extraneous menu calls X-Git-Tag: v1.0.0^2~34 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=7625d48cf8a741f5e59fe48a3cf1650e59e0aec2;p=WP-Themes%2Fsaultstemarie360.git updating the login redirect urls, removing extraneous menu calls --- diff --git a/functions.php b/functions.php index dc6c9aa..ae30a6b 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 == 'demo' ){ + if( $args->theme_location == 'primary' ){ $items .= ""; diff --git a/header.php b/header.php index d4ee71b..4c8ab33 100644 --- a/header.php +++ b/header.php @@ -70,12 +70,6 @@ 'login' , - // 'container' => false - // ) ); - - $sections = of_get_option('parallax_section'); if((of_get_option('enable_parallax') == 1 && of_get_option('enable_parallax_nav') == 1) || (is_page_template('home-page.php') && of_get_option('enable_parallax_nav') == 1)): ?> @@ -109,18 +103,11 @@ 'demo' , - 'container' => false - ) ); - }else { wp_nav_menu( array( 'theme_location' => 'primary' , 'container' => false ) ); - } + endif; ?> diff --git a/inc/glm-dev.php b/inc/glm-dev.php index c0676f8..48febcc 100644 --- a/inc/glm-dev.php +++ b/inc/glm-dev.php @@ -7,7 +7,7 @@ function glm_login_form( $atts ){ $args = array( 'echo' => false, 'form_id' => 'glm_login_form', - 'redirect' => get_permalink(195), + 'redirect' => get_permalink(414), ); $loginForm = wp_login_form($args); $captcha = apply_filters('cptch_display', '', 'glm_login_form');