Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Plugin Author,

    First would like to say, that is an awesome simple code you provided to redirect on custom login page…

    So after adding the code on my child theme function.php, It’s working for me perfectly…

    Just i see Please log in or register to complete your purchase. message isn’t appearing on my custom login page, do you have any solution or cute simple magic code?

    If so, please give me ??

    I was tried with something like this but didn’t work…

    add_filter( 'wc_force_auth_message', function ( $url ) {
      $page_id = 6382; // change this
      return get_permalink( $page_id ); 
      return apply_filters( 'wc_force_auth_message', __( 'Please login or register to complete your purchase.', 'wc-force-auth' ) );
    } );

    I hope you can give me a solution ASAP ??

    Thread Starter mdmahinurkhan

    (@mdmahinurkhan)

    Wow! Thank you so much… I love this plugin a lot, Right now i’m free user of this plugin, planning to purchase PRO plan than ?? Love again for such great plugin making….

    I solved the issues…

    Follow this way if you wanna fix for mobile devices…

    Go to in your FTP and then wp-content > plugins > swiftninjapro-inspect-element-console-blocker > assets

    Now in assets folder, you’ll see 5 JS items.

    and all those JS you need to modify to fix mobile issue.

    But very simple..

    You can simply wrap with this code in every single JS file

    if (window.screen.width > 780) {
        // put the js orgianl codes here
    }

    If you do that, then js will not load in mobile devices. Then will work perfectly!

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