Forum Replies Created
-
AuthorPosts
-
Hi Victoria,
Thank you!
All the best,
This reply has been marked as private.February 28, 2019 at 11:12 am in reply to: Enfold 4.5.4 problem with too long loading avia-merged-styles and avia-footer #1072592Ok, thank you!
February 25, 2019 at 2:45 pm in reply to: Enfold 4.5.4 problem with too long loading avia-merged-styles and avia-footer #1071295Hey Rikard,
Thank you for checking. Still I am loading the website ca 5 s for the 1st time (after cached our website is only 0,7 s), however, it seems this is something wrong on my computer, not server or website.
Thank you.
OK, we have already solved. The problem was in the fact that the old favicon (different favicon) was selected in the Customize mode. However, I would say the changing favicon via WP administration (Enfold Child Theme Options) should work in the same way.
January 22, 2019 at 8:58 am in reply to: Enfold child (4.5.2) is up-to-date, but Theme update notifies on new update #1057104It seems to me now that everything is OK. Perhaps, it was cached. Thank you for your prompt reply.
Hi Basilis,
thanks for your suggestion, unfortunately, this plugin is 4-year old (https://wordpress.org/plugins/advanced-widgets/) I do not want to risk that this plugin causes some other problem which we explore later. Any other tips?
Thank you.
Thank you!
Sorry, I have just re-uploaded the following file https://www.sketchengine.eu/wp-content/uploads/search_form_ruskell.png (1162×202; 27 kB) but when I look at its thumbnail https://www.sketchengine.eu/wp-content/uploads/search_form_ruskell-768×134.png it has 60 kB. I am using the code above in the following format:
function av_return_100(){ return 75; add_filter('jpeg_quality', 'av_return_100'); add_filter('wp_editor_set_quality', 'av_return_100'); };
I cannot see that it will work properly.
So it means to create the folder /includes/ in the folder /enfold-child/ and then create the file helper-markup.php with the code above. Am I sure that the folder structure must be preserved in the child folder too or just only create helper-markup.php in /enfold-child/?
Thank you for your clarifying.
Hi,
I would like to ask whether this code won’t be overridden by a new version of the Enfold theme when the file is in the /wp-content/themes/enfold/includes/ a not in enfold-child folder?
Thanks.
Just by clicking on the Regenerate thumbnails button for the image https://www.sketchengine.eu/wp-content/uploads/main-image-5.jpg
Hi,
no changes happened. I am using the following code in our function.php file within the child folder of Enfold theme:
function av_return_100(){ return 60; } add_filter('jpeg_quality', 'av_return_100'); add_filter('wp_editor_set_quality', 'av_return_100');
and I commented the following code in the functions-enfold.php file within the original folder of Enfold theme:
#if( ! function_exists( 'av_return_100' ) ) #{ # /** # * Sets the default image to 100% quality for more beautiful images when used in conjunction with img optimization plugins # * # * @since 4.3 # * @added_by Kriesi # */ # function av_return_100(){ return 100; } # add_filter('jpeg_quality', 'av_return_100'); # add_filter('wp_editor_set_quality', 'av_return_100'); #}
How can I do so that it works?
Hi,
I did not find the right format of notation or the code does not work.
The following notations do not work:
function av_return_100(){ return 60; } add_filter('jpeg_quality', 'av_return_100'); add_filter('wp_editor_set_quality', 'av_return_100');
add_action('after_setup_theme', function() { function av_return_100(){ return 60; } add_filter('jpeg_quality', 'av_return_100'); add_filter('wp_editor_set_quality', 'av_return_100'); });
This one works () but after regenerating thumbnails no changes.
function av_return_100(){ return 60; add_filter('jpeg_quality', 'av_return_100'); add_filter('wp_editor_set_quality', 'av_return_100'); };
(I am not sure about it at all)
Can you please find a code which would have an effect?
Hi,
thank you, regenerating works now. But the size was not reduced. My original file has dimension 1500×1000 with the quality 90 and the size 145 kB. https://www.sketchengine.eu/wp-content/uploads/main-image-5.jpg
When I see the thumbnails (the quality 75, I tried also 50 and 5 and there was no difference) the thumbnails have the following sizes:
dimensions 1500×1000 – 414 kB
dimensions 1030×687 – 432 kBIt seems to me that it does not work because the sizes were preserved.
Hi Ismael,
it looks like a great solution, but I have got the error
ERROR: Attempted to set image quality outside of the range [1,100].
when I regenerate the thumbnails. I have just exactly copied your code above where the values are 76 and 75 which corresponds to the range 1,100.Hi Basilis,
you don’t solve our problem. The solution is not to use a plugin of the third party, because the pictures are maximally optimized while preserving the quality. The only solution, which I can see, is to upload the image in all dimension we need, but it is not very practical.
The example below shows that automatic modifying of pictures by Enfold does not work very well. I would guess that using another dimension (smaller) from my original one the result size in bytes will not bigger or not too much, but the reality is different.https://www.sketchengine.eu/wp-content/uploads/main-image-5-min.jpg (154 kB; dimension 1500×1000) – original file
https://www.sketchengine.eu/wp-content/uploads/main-image-5-min-1500×1000.jpg (414 kB; dimension 1500×1000) – modified file by Enfold
https://www.sketchengine.eu/wp-content/uploads/main-image-5-min-1210×423 (330 kB; dimension 1210×423) – modified file by Enfold
https://www.sketchengine.eu/wp-content/uploads/main-image-5-min-1500×630 (405 kB; dimension 1500×630) – modified file by Enfold
https://www.sketchengine.eu/wp-content/uploads/main-image-5-min-845×684.jpg (359 kB; dimension 845×684) – modified file by EnfoldHi Ismael,
you’re right. But I mean the size in bytes. The resized picture has 7 KB, but the original one only 5KB. For greater pictures, the difference is bigger. I would not have e.g. 20% more data due to the fact my pictures are modified by Enfold/WP…
Thank you too! I definitely leave Google testing. Anyway, your review shows that Minify JavaScript and Inline small CSS are rated with the grade E in comparison with the preview version 4.2.3 of Enfold. So how can I understand the minification and optimization JS and CSS in the current version of Enfold?
Also, I have noticed that pictures which are resized by Enfold/WP are greater in the size than their original files, even though the modified picture is smaller, e.g.
https://www.sketchengine.eu/wp-content/uploads/cornelsen-min-180×180.png
vs the bigger original picture
https://www.sketchengine.eu/wp-content/uploads/cornelsen-min.png
Best,Thank you for sending next tool and tips, but I do not need to find a tool which gives us the best time of loading. I would need to have the best time on Google test tool because U guess Google does not take in consideration any other tools. It looks at its tool and if the website does not have a good statistics it penalizes this website. As I wrote in my first post, I do not think that cache or optimizing plugins are a good way because we cannot be sure that caching and optimizing will work for all users in all browsers correctly every time.
Hey Rikard,
thank you for sending this tool. But how does Google compute speed loading of our website? I would not like to find a tool which shows better time, I would like to have the best time on Google because most of users come from Google on our website. When Google penalize our website due to the size it may not help us that our website is loaded faster via another tool.
OK, thanks.
I have another question relating to anchors too. I would like to add anchors to texts in accordions at https://www.sketchengine.co.uk/documentation/api-documentation/
Even though I have followed the instructions mentioned in the thread https://kriesi.at/support/topic/adding-anchors-to-the-accordion-slider/ it does not work. For example, https://www.sketchengine.co.uk/documentation/api-documentation/#java does not open the first accordion “Authentication” with the specific anchor but hides the first accordion.
Hi,
we finally solved it by turning “Lightbox Modal Window” in Enfold settings.
Thanks,
I would like to open the video in a new tab (on Youtube).
July 25, 2017 at 11:42 am in reply to: Contact form element – how to include reply-to email address? #829583Hello,
we would like to modify the default Contact form of Enfold theme in the way emails contain “reply to” field in the heading. Apart from this, we use Easy WP SMTP plugin.
We tried to use the source code (above), but it does not work, probably it changed something during the time. Could you please insert the current code for adding the reply-to field to heading of emails.
There are two conditions that we would need the emails satisfy:
– use SMTP (it was the cause of this problem because sending mails from user’s address [e.g. gmail] via our server is blocked because we are not “Google server”)
– use reply-to field (we could just answer strictly to sender’s address)May 9, 2017 at 10:44 am in reply to: Contact form inside the Avia layout builder – change email sender #790122Hello Mike,
after a longer time we are back with detailed information.
The problem is, that WP sends emails (via PHPMailer) with the header “From: (Email address hidden if logged out) “. The mail is send via our mailservers, but if the domain has DMARC policy enabled and the receiving servers (Google in our case) test this, the mail is not delivered. For Google it seem, that our servers send emails for domain whaever.com, but whaever.com DMARC policy says something else. We already have this problem with yahoo.com (and other, who has DMARC).
So we need the WP plugin set up from mail address to (Email address hidden if logged out) to satisfy the DMARC.
The login details to the admin account are attached in the private field.
This does not work either. Please check here https://www.lexicalcomputing.cz/corpus-structures/#toggle-id-1
Please provide us with a solution that will work. Please give me your email so that I can set you up as a user on the website. This would make things easier. Thank you.
Hi,
I have added that code in the functions.php but the problem is remaining. Look at https://www.sketchengine.co.uk/_test-2/#toggle-id-1 – there
<code>
tags around my xml tags. Then try editing the page, the code gets interpreted if you re-edit the page. -
AuthorPosts