Wim
Forum Replies Created
-
The only way to deal with this for now is to disable the plugin to the troublesome emails.
If you want it active for Fluent Support but not for FluentCRM, you should check the email source and see if there is a distinguishable feature in there on which you can filter.
If you only use FluentCRM the above filter will disable the WP HTML Template plugin for emails sent from the CRM.
A different solution would be to ditch the WP HTML Template plugin and see if a different plugin works without a bug.@mikes-1 it seems they have an issue with other tools that have some sort of email design features and which use the “<o:PixelsPerInch>96</o:PixelsPerInch>” directive in their template code. WPforms has this, FluentCRM has this and I’m sure other tools have this also.
I’m not sure if it would help you but for my client I wrote a snippet to exclude the WP HTML Template plugin for any FluentCRM emails. It checks to see if there is a FluentCRM unsubscribe link in the email. Adjust it to your own domain:add_filter( 'haet_mail_use_template', function ( $use_template, $mail ){ if( stripos( $mail['headers'], 'List-Unsubscribe: <https://your.own.domain/?fluentcrm' ) !== false ) return false; // otherwise just use WP HTML Mail Template return $use_template; } , 10, 2 );
I’m not sure what detail you are referring to, but all email through FluentCRM has this issue.
I cannot filter on “To” or “subject”. Maybe “From” with some luck, but that wasn’t in the list of the snippet for excluding.No WPForms on this site, Fluent CRM.
Forum: Plugins
In reply to: [Foyer - Digital Signage for WordPress] Preview aspect ratioHi, it’s been a bit hectic. I sent some data and a video a while ago.
Yes the aspect ratio settings work, however the display is viewed differently when the browser is not exactly the same size as the display. The aspect ratio is correct, but actual size also matters for font sizes and margins/paddings.
For a preview function I would prefer to see an option to exactly enter a resolution.
I’ve also been wondering if I should build a custom view so I can properly set font sizes and page margins/paddings. But I don’t want to make too many thinks custom as I would mis updates or things might break in the future.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] QR codeIn case you are referring to QR codes for payments, I use this in my templates:
<img class="" src="https://qrcode.tec-it.com/API/QRCode?data=BCD%0a001%0a1%0aSCT%0aKNABNL2H%0aYourName%0aNL77KNAB012345678%0aEUR$order_item_total['value']%0a%0a%0a%0a PDFINVOICENUM" alt="QR payment image" width="100" height="100" />
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] rendering images in table or blob dataCan you share some more details or links to documentation? I have problem displaying images in blob. WordPress seems to change my css styling.
That is indeed an option for the styling. As an alternative I’ve now created a new page template (copy of full-width) and added a div with class
woocommerce-page
withincontainer
. This way the styling works for the shortcodes in the page content.However I have some scripts that check if it is a woocommerce page. These don’t work as it is still not matched against the
is_woocommerce
function.Thanks Mike,
no this is my first post on the forum ever. However I’ve noticed someone else has posted a similar question just before I did (but after my search).
I’m trying to understand what the best way is to add this class to a non-woocommerce page. I’ve found some quick and dirty fixes, but I would like to find the correct way.
I think I should somehow add my custom pages/slugs to the same
is_woocommerce
function which picks up theshop
slug. That way I think the standard WC classes are added to the body.