Forum Replies Created
-
AuthorPosts
-
November 17, 2021 at 1:19 pm in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1329341
Hi,
Currently we store the absolute URL to the ttf files in database when the font is uploaded and reuse this when we create the enfold.css file.
I think the best solution would be to use relative urls in the enfold.css file for the fonts instead of absolute.
In a first step I would suggest to activate this with an add_theme_support( … ).What I would need to do is to add the relative url to our database structure.
Is it possible for you to delete the fonts and upload them again – this would make it easier for me because I do not need to write an extra update routine to manipulate database content.
Best regards,
GünterNovember 15, 2021 at 6:54 pm in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1329125Hi,
Sorry for the problems you have.
My knowledge about setting up WPML sites is not so good. It seem to be a problem in setup of WPML and Enfold.
If I understand it correctly you have a french domain and a seperate english domain.
Do you upload the fonts to french domain only or also to the english domain?
Second thing to check would be if you disable css file merging, save theme options (on both sites) and check the files:
../wp-content/uploads/dynamic_avia/enfold_child.css
in both domains. At the beginning you should find something like:
@font-face { font-family: 'lato'; src: url('https://localhost/wp56/wp-content/uploads/avia_fonts/type_fonts/lato/lato-black.ttf') format('truetype'); font-style: normal; font-weight: 900; font-display: auto; } @font-face { font-family: 'lato'; src: url('https://localhost/wp56/wp-content/uploads/avia_fonts/type_fonts/lato/lato-blackitalic.ttf') format('truetype'); font-style: italic; font-weight: 900; font-display: auto; } .....
It would be interesting to know the value of src: ….
If you have a staging site – can you give us WP admin access and FTP access so I can also see your backend.
It might be necessary that we get in contact with WPML support also to find a solution. So it might be necessary to forward your credentials to them also.Added 16.11.:
=============Could you please create a ticket at WPML support with reference to this thread and that they should pass it to head of compatibility team so we can find a solution.
If you give us the link to this ticket we can also get in touch with him additionally.
Best regards,
Günter- This reply was modified 3 years ago by Günter.
November 15, 2021 at 4:01 pm in reply to: Archive (especially tag archive) in grid layout with featured image #1329113Hi,
Sorry for the late reply.
To make it easier for me – do you have links to staging pages where I can see it (and if possible with backend access to see the settings).
Best regards,
GünterHey Tim,
Thank you for sharing your ideas – a great help as always.
I agree – we need to think about updates to WC integration.
I added it to our dev repo to have an eye on it. But we already have a lot in queue there for ALB core improvements. So I cannot give an ETA when we can start with it.
We will add any updates on this to the changelog (or as a preview to https://kriesi.at/support/topic/enfold-upcoming-fixes/
Best regards,
GünterNovember 9, 2021 at 7:07 pm in reply to: Enfold – CSS & Javascript Merging and Compression not working #1328387Hi,
@thinkjarvis
Thanks a lot for this info here.
We also added it to our docu: https://kriesi.at/documentation/enfold/optimization/#performance-compression-is-not-working
Have a great day.
Best regards,
GünterNovember 8, 2021 at 11:52 am in reply to: Error: public_html/sdwo-content/themes/enfold/template-builder.php on line 151 #1328204Hi,
I updated
if(in_array($last_el['tag'], AviaBuilder::$full_el_no_section ))
to
if( is_string( $last_el['tag'] ) && is_array( AviaBuilder::$full_el_no_section ) && in_array( $last_el['tag'], AviaBuilder::$full_el_no_section ) )
in next release. This should fix the problem.
Best regards,
GünterHey Tim,
Thanks for your feedback.
I’ve already been adressed with this notice – see https://kriesi.at/support/topic/error-in-socket-menu-aria-aria-accessability-issue/#post-1327070https://kriesi.at/support/topic/error-in-socket-menu-aria-aria-accessability-issue/#post-1327070
But I have no idea how to remove/solve that.
Best regards,
GünterNovember 4, 2021 at 5:59 pm in reply to: Add file-size and dimensions to Media Library – with sortable file-size column #1327835Hi,
Thanks @Guenni007.
Added it to core – extended code that svg show viewBox content in dimension column.
I added filter ‘avf_media_gallery_sortable_filesize’ ( https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Images%20and%20Lightbox/avf_media_gallery_sortable_filesize.php ) because you have to “fill” filesize postmeta for all media elements before sorting works correct.
Best regards,
GünterHi,
Thanks for this positive feedback – and I hope everything works as expected.
I have an eye on the sticky mobile menu.
Best regards,
GünterHi,
Thank you for the feedback.
I added this fix to core already (4.8.7.2). So hopefully there should not be any more problems.
Seems to be PHP 8.0.11 related – but we cannot reproduce it (also not on 8.0.12, I’m working on 8.0.0).
Best regards,
GünterNovember 2, 2021 at 6:13 pm in reply to: how setting pagination without "?avia-element-paging=2" #1327510Hi,
This element is not working any longer due to changes since WP 5.5 in routing logic.
I updated the element and it will be part of next version 4.8.7.2.
Meanwhile please replace enfold\config-templatebuilder\avia-shortcodes\page_split.php
with the content of:
Do not forget to make a backup of the original file for a fallback and clear server and browser cache.
If you need help let us know and we can do it for you.
Best regards,
GünterHey andrea_werkhoven,
Thank you for using Enfold and sorry for the problem.
It is a PHP bug on a few client servers.I changed the text string a little – I hope this fixes the problem.
Please update enfold\includes\admin\option_tabs\avia_blog.php with the content of
Do not forget to make a copy of the original file and clear server and browser cache.
If you need help let us know and we can do it for you.
Best regards,
GünterHi,
Updated version:
Can you check please.
You can remove add_theme_support and it should work without your workaround with nextpage.
Best regards,
GünterHi,
Sorry the fix did not work.
As this element is only accessible via add_theme_support we did not get any reports up to now.
I will have to rewrite the complete logic as WP has changed some backend logic in pagination with 5.5.
I will let you know here when it is ready.
Best regards,
GünterHi,
Did you save theme options as well – to force recreating the post css files ?
Can you please create an admin account for us so we can check the backend. You can put it in private content.
Best regards,
GünterHey Jan,
Thanks for digging into this.
First:
Did you see the option:
Theme Options -> Performance -> Show advanced options -> Unique timestamp of merged files and WP object cache bug
Try to select “Fix WP Bug …..”.
Second:
The hash value is created from the filenames that are merged and not from file content (filenames are from wp_enqueue object).
This means whenever you change a merged file content manually you have to save the theme options to invalidate the merged files.
On theme update invalidating is done by default.Hope this helps.
Best regards,
GünterHi,
Sorry for the problems. Will be fixed in next update.
Meanwhile please replace content of enfold\config-templatebuilder\avia-shortcodes\grid_row\cell.php with
Do not forget to make a copy of the original file for a fallback and clear server and browser cache and save theme options to force a rebuild of the post-css files.
If you need help let us know and we can do it for you.
Best regards,
GünterOctober 30, 2021 at 4:24 pm in reply to: Error in Socket Menu Aria ARIA Accessability Issue #1327073Hi,
Glad to hear that you had no problems with the update.
We keep an eye on the accessibility and ARIA – lets see if we get more feedback from other users.
Have a nice weekend.
Best regards,
GünterOctober 30, 2021 at 3:23 pm in reply to: Error in Socket Menu Aria ARIA Accessability Issue #1327070Hi,
I had a look into it.
I added to header menu:
<ul id="avia-menu" role="menu" class="menu av-main-nav">
But this does not solve the problem, in contrary I get the additional message:
Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children.
But we have a structure:
role=”navigation”
– role=”menu”
— role=”menuitem”I did not dig into the ARIA, but at the moment I have no idea how to solve this or what is wrong.
And also https://www.w3.org/WAI/GL/wiki/Using_ARIA_menus – Example Code at bottom is built in a similar structure.
Best regards,
GünterHi,
Sorry for the late reply – and thank you for reporting this.
I could locate the problem and fix it for most permalink structures.
It should work for yours. Will be part of the next update.Meanwhile please replace enfold\config-templatebuilder\avia-shortcodes\page_split.php
with the content of:
Do not forget to make a backup of the original file for a fallback and clear server and browser cache.
If you need help let us know and we can do it for you.
Best regards,
GünterHi,
Not idea, why this does not work any longer with px. Maybe something has been changed in the internal browser logic – we did not change anything in the last versions. If you use % it works.
I plan to add an option where you can select the width between the columns in 0.5% steps (maybe already for 4.6.7.1).
Best regards,
GünterOctober 27, 2021 at 1:04 pm in reply to: Problematic storage / versioning of Post specific CSS #1326665Hi Jan,
Agree. Makes sense to group the folders below /wp-content/uploads/enfold/ to have a clear directory structure.
I add it to the dev repo and will check how we can move the existing folders without breaking existing sites.
The avia_posts_css is no problem as it is cleared after each theme update or when saving theme options.
I will let you know here about the progress.
Thank you very much for your ideas
Best regards,
GünterOctober 21, 2021 at 3:49 pm in reply to: Problematic storage / versioning of Post specific CSS #1325904Hi Jan,
Thank you for your feedback.
I added
define( 'WP_CACHE', true );
to wp-config.php on my localhost server (WP 5.8.1, PHP 8.0).
On my install this does nothing – cache directory is not created.
After installing and activating “WP Super Cache” the directory is created. When I deactivate this plugin the cache directory is deleted even if I add a folder with content inside the cache directory.
This behaviour does not allow to rely on the cache folder.
What I can think of are 2 filter where you can set a full path in your file system and the url to this folder. But you have to make sure that folder permissions are correct and the folder is not deleted by other plugins.
Best regards,
GünterHi,
Thank you for your input.
I forwarded this to Kriesi and have it in our dev repo so we do not forget it.
Best regards,
GünterHi,
I had, but it turns out to be more complicated because of the many settings for the header.
I cannot give an ETA at the moment – but I have an eye on it.Best regards,
GünterHi,
Es gibt schon das Filter ‘avf_post_slider_entry_excerpt’.
Das sollte es eigentlich ermöglichen.
Hab für die nächste Version noch $this als letzten Parameter dazugenommen.
Best regards,
GünterHi,
There is currently no way to filter post_excerpt length in postslider.php.
I will change it that first the content is fetched (either post_content or post_excerpt) and then the filter will be applied.
I add this to our dev repo and will let you know tomorrow about the final solution.
Best regards,
Günter -
AuthorPosts