Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter beauvafr

    (@beauvafr)

    Also note that Woocommerce is enabled and works weel appart this.

    The problem seems to be related to this part of the code in \wp-content\themes\yith-proteo\inc\widgets\class-yith-proteo-account-widget.php.

    		public function widget( $args, $instance ) {
    $login_url = isset( $instance['login-url'] ) ? $instance['login-url'] : wp_login_url();
    $account_url = isset( $instance['myaccount-url'] ) ? $instance['myaccount-url'] : get_permalink( wc_get_page_id( 'myaccount' ) );
    if ( class_exists( 'woocommerce' ) ) {
    $url = ! is_user_logged_in() ? $login_url : $account_url;
    } else {
    $url = ! is_user_logged_in() ? $login_url : get_admin_url();
    }

    @francgrasso @geckod22 Can you report please?

    • This reply was modified 11 months, 3 weeks ago by beauvafr.
    Theme Author YITHEMES

    (@yithemes)

    Hello there, version 1.9.6 (just released) will fix this for you. Thanks for kind reporting

    Francesco Grasso

    (@francgrasso)

    YITH Support Representative

    Hello there, version 1.9.6 was just released to fix this issue. Thanks for reporting

    Thread Starter beauvafr

    (@beauvafr)

    I works. Wonderfull, thanks!!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress login insted of Woocommerce in the header’ is closed to new replies.