DaanvandenBergh
Forum Replies Created
-
Appreciate that! Whenever you have the possibility again, head on over to the support forum and I’m sure we can get this resolved!
Hi @hanspeter777 !
Sorry to hear that OMGF wasnt’t working for you! It should, however, definitely work with Elementor. So, if you want to see this resolved, head on over to the support forum, pop in a support request and I’ll see what I can do!
- This reply was modified 1 week, 1 day ago by DaanvandenBergh.
Hi!
This seems to be an issue with some Google Fonts. It’s documented in the Google Fonts Github repository here. Your font, Signika, is in the list of affected fonts.
In short, this isn’t up to me to fix, but the fonts’ author.
The script is already minified, so there’s no need for optimization plugins to process it again. Excluding it automatically is a good way to guarantee compatibility. So, I’ll keep it this way.
Thanks again, Gal!
Oops. It was late and I wasn’t paying attention. This beta works.
Hi Gal!
Give this beta a try and let me know if that worked for you! It only contains the changes you suggested.
Forum: Plugins
In reply to: [CAOS | Host Google Analytics Locally] trouble getting it to workRegenerate aliases is only necessary if, e.g. you’re changing tracking IDs, or when browser cache is acting up when testing, but it’s not necessary to click it after initial setup.
So, what exactly isn’t working?
Forum: Plugins
In reply to: [CAOS | Host Google Analytics Locally] multiple IDs?Ah, sorry, you’re right, here’s the correct code:
add_filter('caos_gtag_additional_config', 'daan_add_additional_ids');
function daan_add_additional_ids() {
echo "gtag('config', 'G-123ABC456');"; // Replace with your Measurement ID
}Okay, so looking at your page source an awful lot of Google Fonts are loaded — even when they’re not actually used in the frontend.
This is line 118 – 135 from the page source of your homepage, and I removed all lines pointing to your staging site’s URL:
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyopen-sans700regularsubsetcyrilliccyrillic-extgreekgreek-extlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyopen-sansregularsubsetcyrilliccyrillic-extgreekgreek-extlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyopen-sans700subsetcyrilliccyrillic-extgreekgreek-extlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyoswald700300subsetcyrilliccyrillic-extlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyoswald600300subsetcyrilliccyrillic-extlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyopen-sans300subsetcyrilliccyrillic-extgreekgreek-exthebrewlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyoswald700subsetcyrilliccyrillic-extlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyopen-sans300subsetcyrilliccyrillic-extgreekgreek-extlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyoswald600subsetcyrilliccyrillic-extlatinlatin-extvietnamese-css' type='text/css' media='all' />
<link rel='stylesheet' id='vcv:assets:source:styles:httpsfontsgoogleapiscomcssfamilyopen-sansregularsubsetcyrilliccyrillic-extgreekgreek-exthebrewlatinlatin-extvietnamese-css' type='text/css' media='all' />So, the answer to your question is simple: OMGF is detecting all these fonts, because they’re loaded. You can use OMGF to clean up the unused fonts, by leveraging the Unload option.
Forum: Plugins
In reply to: [CAOS | Host Google Analytics Locally] multiple IDs?Tracking an additional ID is as simple as adding another
config
rule to the tracking code. In CAOS this can be achieved by using a filter in a custom plugin.add_filter('caos_gtag_additional_config', 'daan_add_additional_ids');
function daan_add_additional_ids() {
echo "gtag('config', 'G-123ABC456');" // Replace with your Measurement ID
}That should do it! If you need more help, you know where to find me!
Can you share the site’s URL? Then I’ll be able to provide a more detailed reply. If you don’t want to share it here, you can send it to me using this contact form.
- This reply was modified 1 month, 3 weeks ago by DaanvandenBergh.
Hi!
Thanks for providing the screenshot. That’s very helpful!
wp_remote_get()
times out while fetching the stylesheet from the Google Fonts API. So that means that PHP (cURL) probably isn’t allowed by your server to request/open/read external resources. I suggest you contact your hosting provider and have them look into it.If you need more help, you know where to find me!
- This reply was modified 1 month, 3 weeks ago by DaanvandenBergh.
- This reply was modified 1 month, 3 weeks ago by DaanvandenBergh.
- This reply was modified 1 month, 3 weeks ago by DaanvandenBergh.
Hi @tillkruess,
The issue seems to occur in the
EAE_DOM_Encoder
class on line 82:$this->dom->root->innertext()
.Somewhere before that (I assume in the
loop()
function) the duplicate attribute is removed.Do you think you can do something about this? If not, please let me know and I’ll have to discuss internally if we should/can change the way these attributes are handled on our side.
I’ve been able to reproduce the issue on my local machine. Investigating a possible fix now.
Yes, (unfortunately) a page reload is needed for the cookie value to be read. There’s no way around that. Some cookie notice plugins offer an option to reload the page directly after consent though. Maybe yours does, too?