Title: stefk's Replies | WordPress.org

---

# stefk

  [  ](https://wordpress.org/support/users/stefk/)

 *   [Profile](https://wordpress.org/support/users/stefk/)
 *   [Topics Started](https://wordpress.org/support/users/stefk/topics/)
 *   [Replies Created](https://wordpress.org/support/users/stefk/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/stefk/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/stefk/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/stefk/engagements/)
 *   [Favorites](https://wordpress.org/support/users/stefk/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 47 total)

1 [2](https://wordpress.org/support/users/stefk/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/stefk/replies/page/3/?output_format=md) 
[4](https://wordpress.org/support/users/stefk/replies/page/4/?output_format=md) 
[→](https://wordpress.org/support/users/stefk/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdmin AWS CDN] Plugin Update: Change Line referring Non-Existant File](https://wordpress.org/support/topic/plugin-update-change-line-referring-non-existant-file/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-update-change-line-referring-non-existant-file/#post-16074238)
 * We appended this to correct:
    $wparoot = ABSPATH; $wpconfig = $wparoot . “wp-
   config.php”;
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdmin AWS CDN] Plugin Update: Change Line referring Non-Existant File](https://wordpress.org/support/topic/plugin-update-change-line-referring-non-existant-file/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-update-change-line-referring-non-existant-file/#post-16074136)
 * Update of the issue:
 * – The root cause of almost all of the entries in the log file is in this file:“\
   wp-content\plugins\aws-cdn-by-wpadmin\class-aws-cdn.php” in each of the four 
   sites.
 * – If this was to be addressed, this log file would be minimal
 * – This file, “class-aws-cdn.php”, has this code in it:
 * $wparoot = str_replace(“wp-content/plugins/aws-cdn-by-wpadmin”,””, (__DIR__) );
 * $wpconfig = $wparoot . “wp-config.php”;
 * – Above code ends up telling the script to open this file: “\wp-content\plugins\
   aws-cdn-by-wpadmin\wp-config.php” which is not in this directory. The “wp-config.
   php” file is located in the site root directory for each sites. This means that
   the variable $wparoot is not being set correctly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Courier Guy Shipping for WooCommerce] Enable charge over Free Delivery for Areas with Surcharge](https://wordpress.org/support/topic/enable-charge-over-free-delivery-for-areas-with-surcharge/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/enable-charge-over-free-delivery-for-areas-with-surcharge/#post-13985294)
 * Thank you, sending an email shortly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Exclude Sitemap Indexing for Non Existant URL](https://wordpress.org/support/topic/exclude-sitemap-indexing-for-non-existant-url/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/exclude-sitemap-indexing-for-non-existant-url/#post-13619537)
 * [@stodorovic](https://wordpress.org/support/users/stodorovic/) [@suascat_wp](https://wordpress.org/support/users/suascat_wp/)
   Thank you for your inputs, both valid suggestions, and comments.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Exclude Sitemap Indexing for Non Existant URL](https://wordpress.org/support/topic/exclude-sitemap-indexing-for-non-existant-url/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/exclude-sitemap-indexing-for-non-existant-url/#post-13619104)
 * A URL popped up on google webmaster tools, which is flagged with a crawl issue.
 * The example below:
    domainname.com/products/%products_categories%/tablet-pc
 * So initially I tried to do a redirect of that URL to another page, but redirect
   won’t work on it, I’m guessing because of the % in the slug.
 * So my thinking is that I need to exclude this URL, even though it does not exist
   from being crawled.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mailchimp for WooCommerce] Birthdate Field](https://wordpress.org/support/topic/birthdate-field-2/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/birthdate-field-2/#post-13212553)
 * [@ryanhungate](https://wordpress.org/support/users/ryanhungate/)
    We have updated
   the plugin. Its working only when I have a hardcoded value on the merge tag. 
   We are trying to add a date custom field using the date picker. Below is the 
   code we added to functions.php and comments included. This is working properly.
   The date you can see it in the backend saved. For some reason, this code is failing
   to get the submitted value. What am I doing wrong?
 *     ```
       /**
       * Add custom field to the checkout page
       */
   
       add_action('woocommerce_after_order_notes', 'custom_checkout_field');
   
       function custom_checkout_field( $checkout ){
   
   
   
       echo '<div id="date-of-birth-field"><h2>' . __('Date of Birth') . '</h2>';
   
   
   
           woocommerce_form_field( 'date_of_birth', array(
               'type'          => 'date',
               'class'         => array('my-dateofbirth-class form-row-wide'),
               'label'         => __('Fill in this field'),
               'placeholder'   => __('DD/MM'),
               ), $checkout->get_value( 'date_of_birth' ));
   
   
   
           echo '</div>';
       }
   
   
   
       /**
       * Checkout Process
       */
       add_action('woocommerce_checkout_process', 'customised_checkout_field_process');
       function customised_checkout_field_process(){
   
   
   
       // Show an error message if the field is not set.
   
   
   
       if (!$_POST['date_of_birth']) wc_add_notice(__('Please enter date of birth!') , 'error');
   
   
   
       }
   
   
   
       /**
       * Save the value given in custom field
       */
       add_action('woocommerce_checkout_update_order_meta', 'custom_checkout_field_update_order_meta');
       function custom_checkout_field_update_order_meta($order_id){
   
   
   
           if (!empty($_POST['date_of_birth'])) {
           //convert the submitted date so that we get only MM/DD as the Mailchimp set date format
               $date = new DateTime($_POST['date_of_birth']);
               $birthday = $date->format('d/m');
   
   
   
               update_post_meta($order_id, 'Date of Birth', $birthday);
   
   
   
           }
   
   
   
       }
   
   
   
       /**
        * @param array $merge_tags
        * @param MailChimp_WooCommerce_Order $order
        * @return array
        */
       function mailchimp_custom_order_merge_tags($merge_tags, $order, $order_id) {
   
   
   
           $birthday = get_post_meta( $order_id, 'date_of_birth', true );
           /// add whatever you want to the merge tags
           $merge_tags['MMERGE3'] = $birthday;
   
   
   
           return $merge_tags;
       }
   
   
   
       add_filter('mailchimp_get_ecommerce_merge_tags', 'mailchimp_custom_order_merge_tags', 10, 2);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mailchimp for WooCommerce] Birthdate Field](https://wordpress.org/support/topic/birthdate-field-2/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/birthdate-field-2/#post-13146293)
 * Having the same issue as you Kees78
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mailchimp for WooCommerce] Birthdate Field](https://wordpress.org/support/topic/birthdate-field-2/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/birthdate-field-2/#post-13096920)
 * Thank you for the feedback. I will take a look at the plugin as a last resort.
 * Was hoping to pass on the data natively, even with a function.
 * We have stored the data as both, order and user object.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Bug Found – Failed Authentication Password Reset](https://wordpress.org/support/topic/bug-found-failed-authentication-password-reset/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-found-failed-authentication-password-reset/#post-12087116)
 * Hi Slava, yes I am using the “Other SMTP” mailer setting.
 * Strangely enough, I have had the same issue with two sites.
 * I have checked settings and the logs – the error comes back as Authentication
   Failed only for password reset. I forgot to mentioned both sites are running 
   woocomerce.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Price Filter: Adjust product results based on their lowest price variable?](https://wordpress.org/support/topic/price-filter-adjust-product-results-based-on-their-lowest-price-variable/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/price-filter-adjust-product-results-based-on-their-lowest-price-variable/#post-12011789)
 * Thank you, I came across that and I am actively following it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Filter for WooCommerce by WBW] Force Page Reload on Filter](https://wordpress.org/support/topic/force-page-reload-on-filter/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/force-page-reload-on-filter/#post-12001252)
 * Thank you Nick
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Role Based Price For WooCommerce] Display Lowest Price Only](https://wordpress.org/support/topic/display-lowest-price-only/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/display-lowest-price-only/#post-11849316)
 * This is the function which worked pre-installation of this plugin
 * // Show only lowest prices in WooCommerce variable products
 * add_filter( ‘woocommerce_variable_sale_price_html’, ‘wpglorify_variation_price_format’,
   10, 2 );
    add_filter( ‘woocommerce_variable_price_html’, ‘wpglorify_variation_price_format’,
   10, 2 );
 * function wpglorify_variation_price_format( $price, $product ) {
 * // Main Price
    $prices = array( $product->get_variation_price( ‘min’, true ),
   $product->get_variation_price( ‘max’, true ) ); $price = $prices[0] !== $prices[
   1] ? sprintf( __( ‘From: %1$s’, ‘woocommerce’ ), wc_price( $prices[0] ) ) : wc_price(
   $prices[0] );
 * // Sale Price
    $prices = array( $product->get_variation_regular_price( ‘min’,
   true ), $product->get_variation_regular_price( ‘max’, true ) ); sort( $prices);
   $saleprice = $prices[0] !== $prices[1] ? sprintf( __( ‘From: %1$s’, ‘woocommerce’),
   wc_price( $prices[0] ) ) : wc_price( $prices[0] );
 * if ( $price !== $saleprice ) {
    $price = ‘‘ . $saleprice . $product->get_price_suffix().‘‘.
   $price . $product->get_price_suffix() . ‘‘; } return $price; }
 * But sadly, does not work anymore.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7 - Dynamic Text Extension] Assitance – Tags Stopped Working](https://wordpress.org/support/topic/assitance-tags-stopped-working/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/assitance-tags-stopped-working/#post-10592346)
 * This worked, appreciate the help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Facebook Opengraph Details Incorrect](https://wordpress.org/support/topic/facebook-opengraph-details-incorrect/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/facebook-opengraph-details-incorrect/#post-10577539)
 * Hi Michael
 * We found the issue. It was a malicious file that was uploaded via the contact
   form.
 * regards
    Stef
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7 - Dynamic Text Extension] Assitance – Tags Stopped Working](https://wordpress.org/support/topic/assitance-tags-stopped-working/)
 *  Thread Starter [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/assitance-tags-stopped-working/#post-10562656)
 * Thank you so much for the reply.
 * The tags aren’t showing in the email, I will regenerate them and let you know.

Viewing 15 replies - 1 through 15 (of 47 total)

1 [2](https://wordpress.org/support/users/stefk/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/stefk/replies/page/3/?output_format=md) 
[4](https://wordpress.org/support/users/stefk/replies/page/4/?output_format=md) 
[→](https://wordpress.org/support/users/stefk/replies/page/2/?output_format=md)