Forum Replies Created
-
AuthorPosts
-
February 21, 2022 at 10:46 am in reply to: Bug: Checkout Error WooCommerce Compatibility 4.8.1 #1341603
DELETED SEE NEXT POST for problem
- This reply was modified 2 years, 11 months ago by thinkjarvis. Reason: Deleted see next post for correct response
February 20, 2022 at 9:53 pm in reply to: Bug: Checkout Error WooCommerce Compatibility 4.8.1 #1341540Thanks Mike for going above and beyond.
I think this is caused by a mod I made to the search script. Using a snippet from another forum post.
I’ll check the file and report back.
EDIT: See resonse below. Custom Code is fine. No custom JS in fuctions file. This is caused by Enfold see my latest reply for location of problem.
Your fix seems to work though but needs adding to the 4.9 release of Enfold- This reply was modified 2 years, 11 months ago by thinkjarvis.
February 15, 2022 at 1:12 pm in reply to: Hotfix for fixed: problem with uploaded google fonts not working after 4.8.9.1 #1340686Thanks Yigit! I have your email.
On the site I first noticed this on I have re-uploaded the custom font – Removing the dash from the file name for now.
While I think about it.
The proof of consent may actually be available in Google Analytics.
I’d have to dig into this more.
For my sites – Every time a user clicks accept Google Analytics starts tracking. Therefore I should be able to find a record of when each session starts.Most of the paid add-ons cover this. Its not easy to implement – Which is why they are paid add-ons.
Without doing thorough research CookieYes appears to be free for small websites and can be installed on WordPress sites manually.
http://www.cookieyes.com/cookieyes-code-installation-on-wordpress/The law states you have to be able to prove consent took place. Which is kind of weird because Cookies can be deleted meaning consent from one user may actually be given several times in one 12 month period from the initial consent. Its a really weird part of the law because of how cookies work.
I think you may have to Go to Goolge for a solution on this one.
At this point in time I wont be adding this feature to my client’s sites. But I will likely have to soon to be able to comply with this part of the law.
- This reply was modified 2 years, 11 months ago by thinkjarvis.
Most are paid subscriptions.
I have the following running on a DIVI Theme site: https://wordpress.org/plugins/gdpr-cookie-compliance/
But again the free version does everything Enfold can do without a plugin.I would Just use the built in Privacy and Cookie Popup built in to Enfold.
I use the built in tools on 50 Enfold sites on my server. Works very well.Configured as per previous post is compliant for WordPress Essential Cookies and Google Analytics.
You can add extra cookies like Facebook Pixel yourself in the advanced settings.
Hope this helps.
No problem.
I have an example of this that I just published.
Take a look here:
https://www.mjftraining.co.uk/and privacy policy with cookie settings button to reopen the modal here:
https://www.mjftraining.co.uk/company-policies/Just seen this and thought I’d share a solution that meets all of the criteria using Enfolds built in Cookie Consent System.
Enfolds built in Cookie manager is more compliant than 99% of other websites systems out there. The only thing it doesnt not do is store the values of when a user clicked consent. If you require this then you will need a plugin like Cookie Bot.Users should be able to turn cookies on and off whenever they like. You can do this by embedding the shortcodes in your privacy page for each on/off option OR you can set the cookie icon to remain in the corner of the page so you can change your consent at any point in time.
Set cookies to essential only and then user must opt in
Change the buttons to Accept All and Settings on the popup
Change the buttons in the modal to Accept All and Do Not AcceptFrom Enfold > Privacy and Cookies > Cookie Handling > Advanced Options > Show Reopen badge
OR
Use the Privacy and Cookies > Shortcodes to add the options into your privacy and cookie page directly.From Cookie Bot:
Prior and explicit consent must be obtained before any activation of cookies (apart from whitelisted, necessary cookies).- Consents must be granular, i.e. users must be able to activate some cookies rather than others and not be forced to consent to either all or none.
- Consent must be freely given, i.e. not allowed to be forced.
- Consents must be as easily withdrawn as they are given.
- Consents must be securely stored as legal documentation.
- Consent must be renewed at least once per year. However, some national data protection guidelines recommend more frequent renewal, e.g. 6 months.
- Check your local data protection guidelines for compliance.
- This reply was modified 2 years, 12 months ago by thinkjarvis.
January 25, 2022 at 11:39 am in reply to: Bug: Blog Post ALB Element Meta Info Still displayed when turned off #1337036Unfortunately this didnt work.
I have found another solution in the forum which I am going to put to the client but it will mean customising loop-index.php and loop-author.php.
I have commented out the line that pulls in the VCard Author info.
Looks like the client site has an outdated version of loop-index.php in the child theme folder. I’ll have to address this with the client.
@yigit
Im going to try the following
Bulk edit all products. Mark as Draft, Then Bulk edit Publish again.Needs to be done out of hours I think!
I’ll try updating the product and see if it fixes things.
The only problem with that solution is if it works one of the shops affected has 3000 products!
The only difference is that it doesnt change the main product image to match the currently selected variation image. Its not a huge issue the Enfold Gallery is fine.
Hi Ismael,
This shows just how little time I spend with a WordPress default theme enabled.The Post Formats are a WordPress function and not specifically Enfold so outside of your scope. Sorry for reporting this as an issue.
Please close this issue as solved.
I have fixed this after reading through the JS with a bit more care.
I changed the custom JS script to look for .blog-meta a instead of .read-more-link a. This grabs the custom post link instead of the read more link solving the issue.
ORIGINAL// News Page JS window.addEventListener('DOMContentLoaded', function() { (function ($) { if ($("body.news-page .template-blog article").length == 0) { return; } // Whole Article Clickable $("body.news-page .template-blog article").each(function (elem) { var thisElem = $(this); var newsPostLink = thisElem.find(".read-more-link a").attr("href"); thisElem.append('<a href="' + newsPostLink + '"></a>'); }); }(jQuery)); });
CHANGED TO
// News Page JS window.addEventListener('DOMContentLoaded', function() { (function ($) { if ($("body.news-page .template-blog article").length == 0) { return; } // Whole Article Clickable $("body.news-page .template-blog article").each(function (elem) { var thisElem = $(this); var newsPostLink = thisElem.find(".blog-meta a").attr("href"); thisElem.append('<a href="' + newsPostLink + '"></a>'); }); }(jQuery)); });
Hi Gunter,
There was an error in one of the translations. Some ALB code was deleted by mistake.All fixed thanks for your help.
You can mark this as solved.
I’ll speak to the client about getting Debug turned on so we can investigate.
Like you said – It might be one of the posts needs re-publishing on Page 3 – Causing the Post loop to get stuck.
A bit of trial and error is required to test this theory. We could change these posts to draft and see if we can get it to work still.Will get back to you here if we discover anything this end.
January 4, 2022 at 11:19 am in reply to: Moving JS inline for ALB color section and Full width Easy Slider #1334162PS. Happy new year!
I hope you enjoyed a well deserved break! :)
January 4, 2022 at 11:19 am in reply to: Moving JS inline for ALB color section and Full width Easy Slider #1334161Hi Gunter,
Thanks for getting back to me.
I’ll save this for a rainy day. If I have any success I’ll report back. Going to be a while before I can pick it all apart!
I’ll raise this as an issue after I have done some more testing. No action required at the moment
The LCP seems to be heavily affected by custom fonts. I need to investigate further before I raise this as an issue. Even with SWAP enabled on fonts, the First element on the page is not fully loading until the fonts have downloaded (looking at the waterfall). I had a site recently where I accidently uploaded a font that after compression was still 500kb WOFF2. The LCP was extremely high. I used Font Forge to bring the size down to about 40kb and the LCP score started passing. Wev vitals is therefore waiting for the font to download and processed before LCP is calculated.I was then thinking. Is there an event listener in the JS files delaying things like “DOMContentLoaded” Specifically related to the fade in on the first element or slider titles and captions.
I’ll have a look when I get the chance. I think it might just be the way Chrome handles Preload of Fonts rather than anything else.
Did you upgrade your analytics property from UA to GA?
There was a bug in Enfold cookie popups a while ago but that was only if you had cookie consent enabled.
I had several sites stop recording until the bug fix came out.I can think of five things that might have caused the failure to report traffic.
-
Your site/server had an error stopping visitors reaching the site
(having not seen the site) If the site has speed issues – visitors may have left before the cookies and analytics were processed.
The version of Enfold running contained the cookie consent popup bugs
WP-Rocket is set to defer inline JS then that would stop the Cookie consent working and stop analytics.js and gtag.js running.
Google analytics outageOther than that – If traffic reports appear back to normal now then the problem is resolved
Which figure are you using in Analytics to compare against the server stats?
I would expect analytics to be lower than the server stats because Analytics will filter out bots, some known IPs and bad traffic.
I doubt your server stats will do this. So it is probably correct. “Hits” vs “Users” are two different metrics.@adibranch
Assuming there is no problem with your tracking methods: This is one of the many pitfalls of Cookie Consent Policies required under EU Data Protection Laws.If you serve customers in the area covered by GDPR then you are supposed to ask users to accept tracking cookies to be compliant. You should not load Google Analytics by default.
If you operate in the USA or other parts of the world where GDPR does not apply to those customers you can load all cookies on page load – Unless there are other local rules where cookie consent still applies.
However what you can do is improve the UX design to make it easier to click accept all cookies rather than reject all. Improving your data capture See below:
The Cookie Bar Popup
I normally set Enfold to essential cookies accepted on first page load only.
Button 1 – Accept All Cookies button – Accept all Cookies and dismiss the popup
Button 2 – Settings – Opens the modalIn the Modal:
They can turn cookies on and off in the modal.
Button 1 – Accept All Cookies button – Accept all Cookies and dismiss the popup
Button 2 – Do Not Accept – Reject all Cookies and Close windowThis give the user the option to opt out but makes them more likely to click accept all to hide the message without going into the modal – Helping improve Analytics data while still being compliant.
I hope this helps!
@Mischa
Some really nice speed scores from these mate!
Will have a look through them all properly I like some the features you have used on frischepartner.Hi Nikko,
You Legend. Thank you.
I have updated the site to 4.8.8 successfully with the modification in place.
Please leave this issue open for now. I am waiting for the client to QA the updates.
Cheers Gunter,
I wasn’t chancing for immediate release :) I’ll keep my eye out for it and apply it to the client’s site.
Looking forward to seeing the new Post CSS file changes as well!
All the best,
TomHi Mike,
I can confirm that your fix works.
Please can you add this to the documentation? I think this is a more robust way of doing things.November 9, 2021 at 2:53 pm in reply to: Enfold – CSS & Javascript Merging and Compression not working #1328367Discovered this post when looking for a solution:
If you find that Script Merging wont work in your staging or development environment see the post linked below:
https://kriesi.at/support/topic/performance-compression-not-working/#post-1328360Old thread but came up when I encountered a similar problem.
When using a host with a staging or dev environment like WpEngine, Siteground or Flywheel etc. or any server where a .htaccess password has been set.
Enfolds script merge function cannot verify the creation of the merged files and produces an error code 21 in the database merge fields.The function should run correctly in live anyway
To resolve in staging environments – I assume for testing purposes – Remove the password temporarily and then turn script merging off and on again in the Enfold performance control panel and click save.
This will allow the process to verify the creation of the files and serve a merged script.
Live push – I would recommend disabling script merge and re-enabling it after going live because the process will need to run again in live anyway.
Hope this helps others.- This reply was modified 3 years, 2 months ago by thinkjarvis. Reason: spelling mistake
Thanks Mike,
I’ll try changing the settings js was set to load in the footer on my test site.
is the issue that the script must run after the main js file has loaded or before? I may still be able to load scripts in the footer and add the code snippet but adjust the priority that they load. Like setting wp_head functions to -1 priority so they are loaded before other critical css generators.
October 30, 2021 at 4:13 pm in reply to: Error in Socket Menu Aria ARIA Accessability Issue #1327071Thanks Gunter,
It doesnt matter too much because there is no actual visible problem on the website – but under Web Vitals or Lighthouse testing it brings the accessibility score into orange from what was a 90 – 99 score.
I wasn’t sure if there was a problem or not as I saw a lot of changes in the 4.8.7 changelog relating to Aria.
I’ve rolled out 4.8.7 to all customer sites with no issues. It seems to have sped up most of the sites slightly in practice.
- This reply was modified 3 years, 3 months ago by thinkjarvis.
October 29, 2021 at 10:10 am in reply to: Error in Socket Menu Aria ARIA Accessability Issue #1326954This error also applies to the main menu in the header when desktop tests are ran.
But only occurs in the socket during mobile testing.
Both need investigating if you can.
Thanks,
Tom
No problem Rikard,
Some basic instructions to compress fonts with Enfold:
You can use Font Forge to remove unused characters and save as WOFF2Font Forge is open source but they do ask for donations.
I have just reduced the size of the font that was causing the problems from 533kb down to 19kb so I may reinstate it providing it functions correctly.Download Fontforge
https://fontforge.org/en-US/Instructions for producing optimised WOFF2 fonts
https://www.grantojanen.com/videos/pg/optimize-fonts.htmlNote that if you are using a translation plugin or you require translations. Ideally the font needs to contain any symbols / characters required for those languages.
- This reply was modified 3 years, 3 months ago by thinkjarvis.
October 22, 2021 at 10:17 am in reply to: Logo image sizing issue after updating to 4.8.6.4 and 4.8.6.5 #1326015As long as none of the other bugs have negatively affected your site – Instead of rolling back, just add the following to quick CSS. Its quicker.
I have upgraded a few sites to 4.8.6.5 and have not noticed any problems other than this so it depends which Enfold functions you use.
@media only screen and (min-width: 768px) and (max-width: 989px) { .responsive .logo a { height:90px !important; } } @media only screen and (max-width: 767px) { .responsive .logo a { height:80px !important; } }
Take a look at the release schedule. I dont think the team have plans for a 4.8.6.6.
Looks like we are going straight to 4.8.7
https://kriesi.at/support/topic/enfold-upcoming-fixes/There are a number of fixes being implelemented I assume that in the background the rest of the fixes and tweaks are almost complete – Hence no 4.8.6.6
I just hope that in the meantime people who have just purchased Enfold are not upset by the current bugs.
-
AuthorPosts