Title: mttd's Replies | WordPress.org

---

# mttd

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

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

 Search replies:

## Forum Replies Created

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

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

 *   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] Clearing notifications in bulk!](https://wordpress.org/support/topic/clearing-notifications-in-bulk/)
 *  Thread Starter [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/clearing-notifications-in-bulk/#post-17000266)
 * ![](https://i0.wp.com/uc5e0744d11f9fcc4e52a3b7dfde.previews.dropboxusercontent.
   com/p/thumb/ACCa2kQvZFsMwmEIG6scM91tlNr0BUxyj4kEBlzz53yMr1mK4Aj_Akneo-oMEl_WowxW4ptleZxC1kql9ZhCAZYSptWNIAFY2wGrdkZof0eSGhTRxeciiuoZHqGYKFL4Mnbv_vh5c4o2PF_pFBUAXx6YCN3b5hIfpkC11iqub_NYQUBXHg0xck0iYqfcRxkakRoYmSdO1W5J01jcIGu1mrKvYYXeb2m0X_PlZBmUw0iqIADtymQQTnj6XmdvBUrY3a_mJqiqaPUbKZRud0f472y5NVRVNL7JDnbhIfGwCP9pGhuTHM8y_0Ifm_4fygdln3OPkLLzGbydB0KvW4ZS0Bc5wMEQTq3xX0A92mM04v30zqSzlU4jygzEHjSXfKVScNk/
   p.jpeg?ssl=1)
 * I’ve tried the snippets found on your [support page](https://developer.yoast.com/customization/yoast-seo-premium/disabling-automatic-redirects-notifications/),
   but they don’t seem to work with existing notifications.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Dynamic pricing – Charging multiple times the expected final price](https://wordpress.org/support/topic/dynamic-pricing-charging-multiple-times-the-expected-final-price/)
 *  Thread Starter [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/dynamic-pricing-charging-multiple-times-the-expected-final-price/#post-9894344)
 * I did think that may be the case, apologies. I do currently have a topic on stack
   exchange but no joy yet!
 * Thanks,
    Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] [WCML v4.14] ReferenceError: woocommerce_price_slider_params is not defined](https://wordpress.org/support/topic/referenceerror-woocommerce_price_slider_params-is-not-defined/)
 *  [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-woocommerce_price_slider_params-is-not-defined/#post-9130269)
 * I ended up having to patch the file ‘class-wcml-price-filter.php’ on line 27 
   from:
 * `woocommerce_price_slider_params.currency_symbol = wcml_mc_settings.current_currency.
   symbol;`
 * to the following:
 *     ```
       if( typeof woocommerce_price_slider_params != 'undefined' ){
   
           woocommerce_price_slider_params.currency_symbol = wcml_mc_settings.current_currency.symbol;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] [WCML v4.14] ReferenceError: woocommerce_price_slider_params is not defined](https://wordpress.org/support/topic/referenceerror-woocommerce_price_slider_params-is-not-defined/)
 *  [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-woocommerce_price_slider_params-is-not-defined/#post-9130255)
 * I’m getting the same error…unsure what needs to be done to resolve!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] IF a variation selected, increase the base price by 20%. Is this possible?](https://wordpress.org/support/topic/if-a-variation-selected-increase-the-base-price-by-20-is-this-possible/)
 *  [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/if-a-variation-selected-increase-the-base-price-by-20-is-this-possible/#post-9092257)
 * Any news or finds on this from anyone?
 * This would be amazing, it seems mad, given the laborious process of updating 
   each variation with a price, that we can’t set a base price increase for variations
   rather than individual prices.
 * I did however find this if anyone else may find it useful…I’ve not bought yet,
   but think I will!
 * [https://codecanyon.net/item/woocommerce-bulk-edit-variable-products-prices/6822726](https://codecanyon.net/item/woocommerce-bulk-edit-variable-products-prices/6822726)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Business Worldpay Gateway for Woocommerce] Success Page](https://wordpress.org/support/topic/success-page-2/)
 *  [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/success-page-2/#post-8811572)
 * I’m getting the same error message. Has anyone got an update at all please?
    
   Cheers, Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Organiser] Incorrect Use of is_feed()](https://wordpress.org/support/topic/incorrect-use-of-is_feed/)
 *  Thread Starter [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/incorrect-use-of-is_feed/#post-8660946)
 * Hello?
 * Has anyone got an update for this at all? Also happening here:
 * Incorrect Use of is_feed()
    Used in wp-content/plugins/event-organiser/includes/
   event-organiser-archives.php on line 89.
 * Thanks,
    Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Business Worldpay Gateway for Woocommerce] Fatal error: Call to a member function get_total()](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-get_total/)
 *  Thread Starter [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-get_total/#post-8353867)
 * That’s great thanks for doing this. Will take a look on our staging site and 
   let you know.
 * Thanks,
    Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Ajax Cart Plugin] Popup Markup](https://wordpress.org/support/topic/popup-markup/)
 *  Thread Starter [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/popup-markup/#post-8291365)
 * Also, in general it would be great to not have hard coded inline images, like
   the close image for instance. I would think a div that we could overwrite with
   CSS would be more flexible.
 * Sorry to criticise, hopefully just helpful improvements/suggestions!
 * Cheers,
    Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Business Worldpay Gateway for Woocommerce] Fatal error: Call to a member function get_total()](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-get_total/)
 *  Thread Starter [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-get_total/#post-8275947)
 * Thanks for the reply, I came to the same conclusion! The plugin is [WC Sequential Order Numbers](https://github.com/wp-plugins/wc-sequential-order-numbers)
 * I’ve disabled for now, but a fix would be amazing!
    Thanks again, Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Social Share Buttons] W3 Validation](https://wordpress.org/support/topic/w3-validation/)
 *  Thread Starter [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/w3-validation/#post-7396666)
 * Hey, it’s a theme I’ve written with only one stylesheet that’s being added in
   the header. Weird, I’ll take a look and see but everything should be as expected!
 * I hadn’t had a proper explore of the advanced settings, thanks for pointing that
   out too, I’ll take a look!
 * Cheers,
    Tom
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[UpdraftPlus: WP Backup & Migration Plugin] Time waster. Doesn't actually backup full WP install](https://wordpress.org/support/topic/time-waster-doesnt-actually-backup-full-wp-install/)
 *  [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/time-waster-doesnt-actually-backup-full-wp-install/#post-8088663)
 * Who would be editing WordPress Core files anyway?!
 * As David rightly says, it’s your choice, but honestly you should review your 
   coding practices if you’re editing core files and not keeping WP up to date. 
   Although I do understand that due to some environments and requirements you can’t
   always keep WP up to date, but it should be a priority given the many security
   risks.
 * Good luck!
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Advanced Custom Fields: Unique ID Field] Almost Perfect.](https://wordpress.org/support/topic/almost-perfect-171/)
 *  [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/almost-perfect-171/#post-7978341)
 * If you add the class of “hidden” within the field properties then the field will
   be hidden!
 * 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Hide Login Area interferes with Password Protected pages](https://wordpress.org/support/topic/hide-login-area-interferes-with-password-protected-pages/)
 *  [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/hide-login-area-interferes-with-password-protected-pages/#post-4799710)
 * I’m still getting this issue with WP 4.1 and latest iThemes Security
 * Did anyone find or have a fix for this at all?
 * Thanks,
    Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Attachments] Random sort order](https://wordpress.org/support/topic/random-sort-order/)
 *  [mttd](https://wordpress.org/support/users/mttd/)
 * (@mttd)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/random-sort-order/#post-3505994)
 * below is what I have in my functions.php file (overriding the default instance
   as my pages were already setup using the default instance.
 *     ```
       function my_attachments_randomise( $attachments )
       {
           return shuffle( $attachments );
       }
   
       add_filter( 'attachments_get_attachments', 'my_attachments_randomise' );
   
       function attachments( $attachments )
       {
         $fields         = array(
           array(
             'name'      => 'title',                         // unique field name
             'type'      => 'text',                          // registered field type
             'label'     => __( 'Title', 'attachments' ),    // label to display
             'default'   => 'title',                         // default value upon selection
           ),
           array(
             'name'      => 'caption',                       // unique field name
             'type'      => 'textarea',                      // registered field type
             'label'     => __( 'Caption', 'attachments' ),  // label to display
             'default'   => 'caption',                       // default value upon selection
           ),
         );
   
         $args = array(
   
           // title of the meta box (string)
           'label'         => 'Page/Post Attachments',
   
           // all post types to utilize (string|array)
           'post_type'     => array( 'post', 'page' ),
   
           // meta box position (string) (normal, side or advanced)
           'position'      => 'normal',
   
           // meta box priority (string) (high, default, low, core)
           'priority'      => 'high',
   
           // allowed file type(s) (array) (image|video|text|audio|application)
           'filetype'      => array( 'image' ),  // no filetype limit
   
           // include a note within the meta box (string)
           'note'          => 'Attach files here!',
   
           // by default new Attachments will be appended to the list
           // but you can have then prepend if you set this to false
           'append'        => true,
   
           // text for 'Attach' button in meta box (string)
           'button_text'   => __( 'Attach Files', 'attachments' ),
   
           // text for modal 'Attach' button (string)
           'modal_text'    => __( 'Attach', 'attachments' ),
   
           // which tab should be the default in the modal (string) (browse|upload)
           'router'        => 'browse',
   
           // fields array
           'fields'        => $fields,
   
         );
   
         $attachments->register( 'attachments', $args ); // unique instance name
       }
   
       add_action( 'attachments_register', 'attachments' );
       ```
   
 * and here is what is in the template file:
 *     ```
       <ul class="grid full-page">
                               <?php 
   
                                   $attachments = new Attachments( 'attachments' ); /* pass the instance name */
                                   $count = 1;
   
                               ?>
                           <?php if( $attachments->exist() ) { 
   
                               ?>
   
                               <li <?php post_class('grid-item-copy'); ?> id="post_<?php the_ID(); ?>">
                                   <?php echo wpautop(get_the_content(), true); ?>
                                   <div class="social">
                                       <div class="fb-like" data-href="<?php the_permalink() ?>" data-send="true" data-layout="button_count" data-width="330" data-show-faces="false"></div>
                                   </div>
                               </li>
   
                               <?php while( $attachments->get() ) : ?>
   
                               <li<?php echo (++$count%3 ? '' : ' class="end-of-row"'); ?>>
                                   <h2>
                                       <a href="<?php echo $attachments->src( 'full' ); ?>" class="colorbox">
                                           <span class="item-image" style="background: url(<?php echo get_template_directory_uri() .'/scripts/timthumb.php?w=330&h=330&src='. $attachments->src(' full '); ?>) 0 0 no-repeat;">
                                               <img src="<?php echo get_template_directory_uri() .'/scripts/timthumb.php?w=330&h=330&f=2&src='. $attachments->src( 'full' ); ?>" alt="<?php echo trim(strip_tags( $attachments->field( 'caption' ) )); ?>" />
                                           </span><?php
                                               $profile_title = trim(strip_tags( $attachments->field( 'caption' )));
   
                                               if($profile_title != "") {
                                                   echo '<span class="item-content">'. $profile_title .'</span>';
                                               }
                                       ?></a>
                                   </h2>
                               </li>
                               <?php endwhile; ?>
                           <?php } else { ?>
   
                               <li <?php post_class('grid-item-copy'); ?> id="post_<?php the_ID(); ?>">
                                   <?php the_content(); ?>
                               </li>
   
                           <?php } ?>
                           </ul>
       ```
   
 * if I remove the shuffle() from the return statement then the attachments are 
   shown, if I leave it nothing is shown…
 * Many thanks,
    Tom

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

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