Zurasha
Forum Replies Created
-
hi @mivtt,
Thank you for response.
I mean, i want to fetch currency rates from external API and set currency rates for this plugin programatically.
Hello there,
i used this hook to apply CSS searched on internet.
This works well if i enable HTML5 output but not in pdf.
Thanks,
add_action(‘wpo_wcpdf_custom_styles’, function($type, $pdf) {
$template_path = $pdf->get_template_path();
$css = <<<CSS@font-face {
font-family: ‘BPG Mrgvlovani Caps’;
font-style: normal;
font-weight: normal;
src: url(mydomain.loc/app/uploads/sites/5/fonts/bpg-mrgvlovani-caps-webfont.ttf) format(‘truetype’);
}
.address,
.shop-name h3,
.item-name,
body {
font-family: ‘BPG Mrgvlovani Caps’ !important;
}
CSS;
echo $css;
}, 10, 2);Hi, @kluver,
Yes, i tried with Open Sans, also with Georgian font and sans-serif. Neither worked as expected.
I checked MBString extension and it is really activated with PHP 7.2
Some Georgian characters are ????????, ?????????, ??????, ?????.
I’ll be glad if you check and give me solution around this.
Thanks in advance.
- This reply was modified 4 years, 9 months ago by Zurasha.
Hi, thank you for response.
We’re using “Accesspress social login lite” plugin alongside with W3Total Cache.
W3total cache ( https://prntscr.com/n5uyy9 )
Accesspress ( https://prntscr.com/n5uzis )When both, accesspress and w3total cache is activated, cache is disabled on website and we have no-cache in header. ( https://prntscr.com/n5v0h3 )
If deactivate Accesspress cache is working properly. ( https://prntscr.com/n5v05s )
this screenshots both are taken from unauthorized user so thats truth that accesspress social login lite plugin disables total caching.
What is the solution to fix this issue?