mttd
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Clearing notifications in bulk!I’ve tried the snippets found on your support page, but they don’t seem to work with existing notifications.
I did think that may be the case, apologies. I do currently have a topic on stack exchange but no joy yet!
Thanks,
TomI 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; }
I’m getting the same error…unsure what needs to be done to resolve!
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
Forum: Plugins
In reply to: [Business Worldpay Gateway for Woocommerce] Success PageI’m getting the same error message. Has anyone got an update at all please?
Cheers,
TomForum: Plugins
In reply to: [Event Organiser] Incorrect Use of is_feed()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,
TomThat’s great thanks for doing this. Will take a look on our staging site and let you know.
Thanks,
TomForum: Plugins
In reply to: [WooCommerce Ajax Cart Plugin] Popup MarkupAlso, 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,
TomThanks for the reply, I came to the same conclusion! The plugin is WC Sequential Order Numbers
I’ve disabled for now, but a fix would be amazing!
Thanks again,
TomForum: Plugins
In reply to: [Easy Social Share Buttons] W3 ValidationHey, 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,
TomWho 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
In reply to: [Advanced Custom Fields: Unique ID Field] Almost Perfect.If you add the class of “hidden” within the field properties then the field will be hidden!
??
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,
TomForum: Plugins
In reply to: [Attachments] Random sort orderbelow 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