Just two hours later the issue was fixed. Great!
]]>Learn more about troubleshooting WordPress.
]]>Thanks!
]]>I have neve theme and elementor pro page builder.
when I build a landing page or do any change on my website, change is not visible on both mobile and tablets. after update again sometimes change occur on one device. especially sometimes hero disappears on some devices.
I contacted with elementor about this issue and I have received below message;
“The error messages are being caused by the “Orbit Fox Companion by Neve theme” plugin. We kindly recommend reporting this issue to the third-party author, they’d be in a better position to address this issue or assist you with this. If they need any help from us, they can open an issue on our Github account and our developers will be happy to assist.
https://github.com/elementor/elementor/issues”
could you please help to sort this issue out?
thanks,
Tacettin
The issue is that once the notification is set via Woo Instant Notifications and a test order is made the content of the notifications contained in the email is not what is set in the template but it is the html of the frontpage of the target website.
As a solution to the above issues, Justin from Romania has resolved by changing a function in class-wc-notifications-instance.php file of the plugin to this. and adding a custom tag / the_content1
function get_content_plain() {
$html = $this->format_string( $this->custom_template );
// do_action( 'woocommerce_email_header', $this->get_heading(), $this );
ob_start();
$html = $this->format_string( $this->custom_template );
// do_action( 'woocommerce_email_header', $this->get_heading(), $this );
add_filter( 'the_content1', 'wptexturize' );
add_filter( 'the_content1', 'convert_smilies' );
add_filter( 'the_content1', 'convert_chars' );
add_filter( 'the_content1', 'wpautop' );
add_filter( 'the_content1', 'shortcode_unautop' );
add_filter( 'the_content1', 'prepend_attachment' );
add_filter( 'the_content1', 'do_shortcode' );
echo apply_filters( 'the_content1', $html );
// do_action( 'woocommerce_email_footer', $this );
return ob_get_clean();
// do_action( 'woocommerce_email_footer', $this );
return $html;
}
]]>