Pavol Caban
Forum Replies Created
-
Forum: Plugins
In reply to: [SuperFaktura WooCommerce] Kompatibilita s WC Sequential Order Numbers ProV admine je zobrazena hlaska, ze vo fakturach sa pouziva sekvencne cislovanie, ale Sequential Order Numbers Pro nie je aktivny.
A to len preto, ze tam chyba ta podmienka, ktora skontroluje aj ten novy nazov hlavneho suboru pluginuwoocommerce-sequential-order-numbers-pro/woocommerce-sequential-order-numbers-pro.php
.Forum: Plugins
In reply to: [Contact Form 7] Special Mail TagsHi,
I have similar problem.After updating CF7 from 4.7 to 4.8, special tags in emails stopped working.
InsteadNew submission from My super post
it would showNew submission from [_post_title]
Edit:
Figured it out.
There is this new condition which checks whether the form is inside WP Loop.
I wasn’t using WP Loop on my custom single.php pages, so I added it and it is working now!Forum: Plugins
In reply to: [a3 Lazy Load] How can i deactivate a3 Lazy Load on some pages?Sorry, forgot to mention,
you have to use it with another filter mentioned in other thread.add_filter( 'a3_lazy_load_run_filter', 'skip_a3_lazy_load_for_this_page', 11 ); function skip_a3_lazy_load_for_this_page( $apply_lazyload ) { if ( is_page_template('template-map.php') ) { $apply_lazyload = false; } return $apply_lazyload; }
Forum: Plugins
In reply to: [a3 Lazy Load] How can i deactivate a3 Lazy Load on some pages?Hi,
I found a way.
You can remove lazyload images filters on specific pages or templates, etc./** * Remove lazyload images filter. * Use 'wp' hook because Lazyload instance is loaded in the same hook and we need to use WP conditional tags. */ function exclude_template_lazyload() { $A3_Lazy_Load = A3_Lazy_Load::_instance(); if ( is_page( 'my-page' ) ) { remove_filter( 'the_content', array( $A3_Lazy_Load, 'filter_content_images' ) ); remove_filter( 'widget_text', array( $this, 'filter_images' ), 200 ); remove_filter( 'post_thumbnail_html', array( $this, 'filter_images' ), 200 ); remove_filter( 'get_avatar', array( $this, 'filter_images' ), 200 ); } } add_action( 'wp', 'exclude_template_lazyload' );