Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Pavol Caban

    (@palicko)

    V 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 pluginu woocommerce-sequential-order-numbers-pro/woocommerce-sequential-order-numbers-pro.php.

    Hi,
    I have similar problem.

    After updating CF7 from 4.7 to 4.8, special tags in emails stopped working.
    Instead New submission from My super post it would show New 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!

    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;
    }

    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' );
Viewing 4 replies - 1 through 4 (of 4 total)