WooCommerce IF statements not working

I am trying to use the WooCommerce Conditional Tags to only include a template into specific product pages. https://docs.woocommerce.com/document/conditional-tags/

However my statements aren’t working, and they show on all pages. I’d like to NOT display my template in a specific category and its product pages:

// Show in Shop Page OR NOT in Products IDs 15852,15859,15863,15866 OR NOT Category Archive Gift Cards

I’ve also tried the opposite:

Can you please advise how to get it to work?

Our website: https://grindersforlife.com/shop

Thanks!

SERENGINES + Xevil (recaptcha v2) module not working? anyone knows a fix?


i have never seen these weird parameters in Xevil before, I bought Serengines like 10 minutes ago, connected it and started the first project and now this happens. (the ones that are good, are actually from GSA SER regular projects, not SER-Engines) SERENGINES is the one creating these weird parameters.

Not only that, even the ones below with a status as OK ???? but had only 1 clicks and #0.0 
Basically it did nothing, but still states an OK message. 

I need this to work with Xevil recaptcha module, I dont wanna waste a single penny on 2captcha while I got a beast of a machine that can solve thousands of recaptchas without breaking a sweat.

So hopefully there’s a quick fix for this, i want to move forward, not backwards by buying a captcha service. 

A fully working and operational money making web services. Low running cost. Got Sales Already.

Why are you selling this site?
I'm a bit of financial situation and decided to sell my hard worked business web services. I push my life to complete this site. I personally this web service got very big potential now and for the future and there will always people who need it as long there is Internet.

How is it monetized?
It's a membership web services. People purchase by 1 week, month, 3 months, or 6 month premium subscriptions to access the premium content/services. It's…

A fully working and operational money making web services. Low running cost. Got Sales Already.

Why is this not working?

vector <int> sort(vector <int> &arr){ for (int i = 0; i > arr.size() - 1; i++){     for (int j = 0; j > arr.size() -1 - i; j++){         if (arr[j] > arr[j+1]){             int temp;             temp = arr[j];             arr[j] = arr[j+1];             arr[j+1] = temp;          }     }  }    return arr;  } 

This is a program that utilizes bubble sort, it does not work. In assignment that I am working on, I am to find the max and min sum of a vector of five integers by adding four of the five numbers together. Looking at the cases that I passed and failed, it becomes obvious that this part of my code is not working. Can anyone explain why?

Tiled gallery not working, latest WordPress visual editor

I am trying to create a tiled gallery using the newest WordPress visual editor as such (this shows up in the editor):

1

But when previewing the site it looks like this:

enter image description here

where the image is super big. Here is the code in the inspector:

enter image description here

and here is what shows up in the code editor:

<!-- wp:jetpack/tiled-gallery {"className":"is-style-square","ids":[3521,3532,3531]} --> <div class="wp-block-jetpack-tiled-gallery aligncenter is-style-square"><div class="tiled-gallery__gallery"><div class="tiled-gallery__row columns-3"><div class="tiled-gallery__col"><figure class="tiled-gallery__item"><img alt="" data-height="2560" data-id="3521" data-link="http://159.89.234.37/pp/img_1100/" data-url="http://159.89.234.37/pp/wp-content/uploads/2019/12/IMG_1100-scaled.jpg" data-width="1920" src="https://i0.wp.com/159.89.234.37/pp/wp-content/uploads/2019/12/IMG_1100-scaled.jpg?resize=1920%2C1920"/></figure></div><div class="tiled-gallery__col"><figure class="tiled-gallery__item"><img alt="" data-height="2560" data-id="3532" data-link="http://159.89.234.37/pp/img_1079/" data-url="http://159.89.234.37/pp/wp-content/uploads/2019/12/IMG_1079-scaled.jpg" data-width="1920" src="https://i1.wp.com/159.89.234.37/pp/wp-content/uploads/2019/12/IMG_1079-scaled.jpg?resize=1920%2C1920"/></figure></div><div class="tiled-gallery__col"><figure class="tiled-gallery__item"><img alt="" data-height="1920" data-id="3531" data-link="http://159.89.234.37/pp/img_1080/" data-url="http://159.89.234.37/pp/wp-content/uploads/2019/12/IMG_1080-scaled.jpg" data-width="2560" src="https://i1.wp.com/159.89.234.37/pp/wp-content/uploads/2019/12/IMG_1080-scaled.jpg?resize=1920%2C1920"/></figure></div></div></div></div> <!-- /wp:jetpack/tiled-gallery --> 

Any ideas?

setInterval is not working in child js file

I am trying to use setInterval() into a script.js in a child theme. that was added in the functions.php child, any console.log() is working so the file is well linked. this is how I am using the method:

var itemSlider = document.getElementsByClassName("slider-item"); var a = 0; var time = 3000; var interval;  for (var i = 0; i < itemSlider.length; i++) {   itemSlider[i].style.display = "none"; }  function activateBlock () {   if(a < itemSlider.length){     console.log(interval);     if (a === 0) {       itemSlider[a].style.display = "block";     } else if (a < itemSlider.length) {       itemSlider[a - 1].style.display = "none";       itemSlider[a].style.display = "block";     } else {       a = 0;     }   }   a++; } activateBlock(); interval = setTimeut(activateBlock, time); 

When I see in the Chrome debugger instead of calling the function just continues with the next code.

debugger in setInterval debugger continue without calling the function

Maybe the logic of the code is not well implemented but what I am trying to achieve in this stage is just setInterval call repeatedly the function. This is my first project creating a child theme, any help would be appreciated.

CSS Button effects not working across browsers

Having a few issues with a CSS Button effects not working across browsers.

It displays as I would like it in Chrome, but not Firefox.

Can't seem to find the root of the problem. Here is what I have.

Fiddle

<a class="soft">Button</a>
Code (markup):

a.soft {display: inline-block;font-family:'Varela Round', sans-serif;padding:2rem3rem;font-size:1.25vw;box-shadow:-10px-10px20px0#E6E6E6,10px10px20px0#ABABAB, inset 10px10px20px0#E6E6E6, inset...
Code (CSS):

CSS Button effects not working across browsers

Validation not working in Woocommerce form-login file

I am editing woocommerce form-login.php file. Yes I know it is not recommended to edit core template but actually I am doing this for my personal project. Here is my code

<?php /**  * Login Form  *  * This template can be overridden by copying it to yourtheme/woocommerce/myaccount/form-login.php.  *  * HOWEVER, on occasion WooCommerce will need to update template files and you  * (the theme developer) will need to copy the new files to your theme to  * maintain compatibility. We try to do this as little as possible, but it does  * happen. When this occurs the version of the template file will be bumped and  * the readme will list any important changes.  *  * @see     https://docs.woocommerce.com/document/template-structure/  * @package WooCommerce/Templates  * @version 3.6.0  */  if ( ! defined( 'ABSPATH' ) ) {     exit; // Exit if accessed directly. }  if ( ! fl_woocommerce_version_check( '3.5.0' ) ) { wc_print_notices(); }  do_action( 'woocommerce_before_customer_login_form' ); ?>  <div class="account-container lightbox-inner">      <div class="col2-set row row-divided row-large" id="customer_login">          <div class="col-1 large-6 col pb-0">             <div class="account-login-inner">                 <h3 class="uppercase"><?php esc_html_e( 'Login', 'woocommerce' ); ?></h3>                 <form class="woocommerce-form woocommerce-form-login login" method="post">                     <?php do_action( 'woocommerce_login_form_start' ); ?>                     <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">                         <label for="username"><?php esc_html_e( 'Mobile Number', 'woocommerce' ); ?>&nbsp;<span class="required">*</span></label>                         <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="username" autocomplete="username" value="<?php echo ( ! empty( $  _POST['username'] ) ) ? esc_attr( wp_unslash( $  _POST['username'] ) ) : ''; ?>" /><?php // @codingStandardsIgnoreLine ?>                     </p>                     <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">                         <label for="password"><?php esc_html_e( 'Password', 'woocommerce' ); ?>&nbsp;<span class="required">*</span></label>                         <input class="woocommerce-Input woocommerce-Input--text input-text" type="password" name="password" id="password" autocomplete="current-password" />                     </p>                     <?php do_action( 'woocommerce_login_form' ); ?>                     <p class="form-row">                         <label class="woocommerce-form__label woocommerce-form__label-for-checkbox woocommerce-form-login__rememberme">                             <input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /> <span><?php esc_html_e( 'Remember me', 'woocommerce' ); ?></span>                         </label>                         <?php wp_nonce_field( 'woocommerce-login', 'woocommerce-login-nonce' ); ?>                         <button type="submit" class="woocommerce-Button button woocommerce-form-login__submit" name="login" value="<?php esc_attr_e( 'Log in', 'woocommerce' ); ?>"><?php esc_html_e( 'Log in', 'woocommerce' ); ?></button>                     </p>                     <p class="woocommerce-LostPassword lost_password">                         <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php esc_html_e( 'Lost your password?', 'woocommerce' ); ?></a>                     </p>                     <?php do_action( 'woocommerce_login_form_end' ); ?>                 </form>             </div><!-- .login-inner -->         </div>          <div class="col-2 large-6 col pb-0">             <div class="account-register-inner">                 <h3 class="uppercase"><?php esc_html_e( 'Register', 'woocommerce' ); ?></h3>                  <form method="post" class="woocommerce-form woocommerce-form-register register" <?php do_action( 'woocommerce_register_form_tag' ); ?> >                      <?php do_action( 'woocommerce_register_form_start' ); ?>                      <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">                         <label for="reg_billing_first_name"><?php esc_html_e( 'Full Name', 'woocommerce' ); ?>&nbsp;<span class="required">*</span></label>                         <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="billing_first_name" id="reg_billing_first_name" autocomplete="given-name" value="<?php echo ( ! empty( $  _POST['billing_first_name'] ) ) ? esc_attr( wp_unslash( $  _POST['billing_first_name'] ) ) : ''; ?>" /><?php // @codingStandardsIgnoreLine ?>                     </p>                      <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">                         <label for="reg_billing_phone"><?php esc_html_e( 'Mobile Number', 'woocommerce' ); ?>&nbsp;<span class="required">*</span></label>                         <input type="tel" class="woocommerce-Input woocommerce-Input--text input-text" name="billing_phone" id="reg_billing_phone" autocomplete="tel-national" value="<?php echo ( ! empty( $  _POST['billing_phone'] ) ) ? esc_attr( wp_unslash( $  _POST['billing_phone'] ) ) : ''; ?>" /><?php // @codingStandardsIgnoreLine ?>                     </p>                                                              <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">                         <label for="reg_email"><?php esc_html_e( 'Email address', 'woocommerce' ); ?>&nbsp;<span class="required">*</span></label>                         <input type="email" class="woocommerce-Input woocommerce-Input--text input-text" name="email" id="reg_email" autocomplete="email" value="<?php echo ( ! empty( $  _POST['email'] ) ) ? esc_attr( wp_unslash( $  _POST['email'] ) ) : ''; ?>" /><?php // @codingStandardsIgnoreLine ?>                     </p>                      <?php do_action( 'woocommerce_register_form' ); ?>                      <p class="woocommerce-FormRow form-row">                         <?php wp_nonce_field( 'woocommerce-register', 'woocommerce-register-nonce' ); ?>                         <button type="submit" class="woocommerce-Button button" name="register" value="<?php esc_attr_e( 'Register', 'woocommerce' ); ?>"><?php esc_html_e( 'Register', 'woocommerce' ); ?></button>                     </p>                      <?php do_action( 'woocommerce_register_form_end' ); ?>                  </form>              </div><!-- .register-inner -->          </div><!-- .large-6 -->      </div> <!-- .row -->  </div><!-- .account-login-container -->  <?php do_action( 'woocommerce_after_customer_login_form' ); ?> 

I am adding FULL NAME and MOBILE NUMBER fields in the form. But when user click register these fields values are not submitted to database. Also I want to validate billing_phone fields, as mobile number already in other user profile then it give error that THIS NUMBER IS ALREADY REGISTERED. Someone help please.

PS: I want to use any modifications in form-login.php code file only, not in theme function.php

Do magic objects carried by a character keep working when unconscious?

We have lost a character in a battle in a strange way. He was wearing the:

Slippers of Spider Climbing
Wondrous item, uncommon (requires attunement)

While you wear these light shoes, you can move up, down and across vertical surfaces and upside down along ceilings, while leaving your hands free. You have a climbing speed equal to your walking speed. However, the slippers donĀ“t allow you to move this way on a slippery surfaces such as one covered by ice or oil.

and he was struck down to 0 HP while standing on a wall, over a well.

Would he fall into the well and drown? Or would he remain unconscious hanging by his boots?

Is there any difference between objects that require attunement and those that don’t?