Forum Replies Created
-
AuthorPosts
-
Hi,
Sorry for the problem. It will be fixed in next release 4.8.7.2.
I uploaded via ftp the modified file to enfold\includes\admin\option_tabs\avia_blog.php and renamed the original to avia_blog_old.php.
As we do not have a link to your site we cannot check.
You also find the modified file here: https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7_1/includes/avia_blog.php
Best regards,
GünterHi,
Thanks for the feedback and we could help you.
Feel free to come back when you need further assistance and enjoy the theme.
Have a great day.
Best regards,
GünterHi,
You are using an object cache pugin and there are known WP bugs in conjunction with object cache.
In Enfold Options -> Performance -> Show advanced options -> Unique timestamp of merged files and WP object cache bug
please try to select “Fix WP bug, add unique timestamps”.
This could help.
To force a rebuid of ALB element usage in database:
In enfold\config-templatebuilder\avia-template-builder\php\class-element-manager.php line 19:
const VERSION = '1.0.1'; // Main version - needed to check for main global updates
please update to:
const VERSION = '1.0.1.1';
and then reload the admin page.
Make a backup of your site to have a fallback, disable any cache plugins and clear all server and browser cache before doing this.
Best regards,
GünterHi,
Sorry for this. I forgot that the element has already been modified for 4.8.7.2 and this function is already part of this release.
Can you wait – or do you want the dev branch for testing?
Best regards,
GünterHi,
I created a test page (see below) with an ALB button shortcode and your shortcode [SUPER-STORE-FINDER] in codeblocks.
The button shortcode works as expected.
Seem to be a problem with your shortcode. We have to call the standard WP function
do_shortcode( $codeblock )
at an early stage in
add_filter( 'avia_builder_precompile', array( $this, 'code_block_extraction' ), 10, 1 );
Could be that the plugin registers the shortcode too late so it is not found.
If it works in a normal textblock then please use it in this way.
Best regards,
GünterHey Leon,
Thanks for the shortcode. Could reproduce the problem and fixed it.
Will be part of the next update (planned for this week).Meanwhile you can replace enfold\config-templatebuilder\avia-shortcodes\testimonials\testimonials.php
with the content ofDo 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,
In the “new” version only the selected Blog Meta Elements are rendered in HTML.
Filters are only needed if you want to customize or even extend output for certain posts.Best regards,
GünterHi Tim,
Changes are added to next release.
Modified files are loop-author, loop-index, loop-search, loop-portfolio-single
Added filters to customize output – see https://kriesi.at/support/topic/enfold-upcoming-fixes/
Best regards,
GünterHi,
Thanks for the feedback. It is added for next release.
Have a great weekend also and stay safe of corona.
Best regards,
GünterHey Leon,
Thank you for using Enfold and reporting this.
class ='avia-testimonial-row'
is fixed for the next update.
closing div
You probably mean around lines 840 the code
$output .= '</section>';
The opening section is added in the item shortcode av_testimonial_single and the closing div is a few lines after.
Did you find any broken layout? If yes, can you give us the underlying shortcode so we can reproduce it please.
Best regards,
GünterHey Tim,
Thanks for reporting this.
I think I have a fix.
Please update ..\themes\enfold\footer.php
with the content of
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7_1/footer.php
Do not forget to make a backup of the file for a fallback and clear server and browser cache.
Best regards,
GünterHi,
I updated the file enfold\config-templatebuilder\avia-shortcodes\page_split.php to the latest version.
The page …haus/bundesland-musterstadt now works in frontend when published.
Preview is loading, but paging is not working. I copied your shortcodes to my dev server to check, if I can find a solution for preview. But it might be a limitation to this element with the preview.
Edit 26.11.
Removed “nextpage” tag.
Updated page_split.php.
Preview renders correct layout and content for first page and paging also works now.
Best regards,
GünterHey Caorda,
Sorry for the late reply.
Thank you for using Enfold and pointing to this.
I found a plugin:
https://www.envato.com/lp/market-plugin/
At a first glance it should be possible to integrate it in our theme. I added it to our developer repo and I will have an eye on it for one of the future release.
Please keep an eye on https://kriesi.at/support/topic/enfold-upcoming-fixes/ or the changelog.
Best regards,
GünterNovember 23, 2021 at 4:33 pm in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1330153Hi,
Thanks. I got my 3rd vaccination on friday – so I did everything I can do.
Also stay safe and healthy.
Best regards,
GünterNovember 23, 2021 at 4:30 pm in reply to: Archive (especially tag archive) in grid layout with featured image #1330151Hi,
Does this help as a frame:
Best regards,
GünterNovember 23, 2021 at 4:07 pm in reply to: Archive (especially tag archive) in grid layout with featured image #1330147Hi,
Sorry, my fault. Added the snippet without testing.
Second parameter function to call was missing in add_filter.
Updated it on github, please check now.Best regards,
GünterNovember 22, 2021 at 5:49 pm in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1330020Hi,
Thank you for the feedback – and glad we found the solution.
No, I will merge it into 4.8.7.2. Only keep
add_theme_support( 'custom_uploaded_fonts_relative_url' );
Enjoy the theme and have a nice day.
Let us know, if you need further assistance – simply create a new topic.
Best regards,
GünterAdded:
Keep an eye on the changelog in case we might add a theme option to replace the add_theme_support in a future release.
November 22, 2021 at 1:47 pm in reply to: Archive (especially tag archive) in grid layout with featured image #1329954Hi,
would be nicer to have a snippet solution.
Did you see filter ‘avf_post_featured_image_link’ around line 100 of loop-index.php?
Best regards,
GünterNovember 22, 2021 at 1:23 pm in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1329948Hi,
I think I found the problem. When creating the merged files we change relative urls in enfold.css to absolute urls.
I added to config-templatebuilder\avia-template-builder\php\class-asset-manager.php line 677:
/** * e.g. WPML needs relative paths when using directories for languages * * @since 4.8.7.2 */ if( current_theme_supports( 'custom_uploaded_fonts_relative_url' ) ) { return $content; }
Now after merging files you find in avia-merged-styles-974f232210bc9596190f218f629b8b53—619b7b9d06faf.css the relative urls:
.... @font-face{ font-family:'poppins'; src:url('/wp-content/uploads/avia_fonts/type_fonts/poppins/poppins-black.ttf') format('truetype'); font-style:normal; font-weight:900; ont-display:auto } @font-face{ font-family:'poppins'; src:url('/wp-content/uploads/avia_fonts/type_fonts/poppins/poppins-blackitalic.ttf') format('truetype'); font-style:italic; font-weight:900; font-display:auto } ........
Can you check with the other language please.
Best regards,
GünterNovember 21, 2021 at 10:58 am in reply to: Archive (especially tag archive) in grid layout with featured image #1329835Hi,
Thanks for feedback.
Will add a filter to select image size. Will inform you here.
Best regards,
GünterNovember 21, 2021 at 10:53 am in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1329834November 19, 2021 at 12:15 pm in reply to: Archive (especially tag archive) in grid layout with featured image #1329659Hi,
Added at bottom of function.php:
add_filter('avf_blog_style', function($style, $context){ if( 'tag' == $context ) { return 'big'; } }, 10, 2 );
Ancestors Widget für single post hab ich einmal ins dev repo als feature aufgenommen.
Du meinst damit 2 Bereiche:
– Vorherige Posts
– nächste Postsjeweils in den Kategorien des aktuellen Posts.
Best regards,
GünterNovember 19, 2021 at 11:19 am in reply to: Archive (especially tag archive) in grid layout with featured image #1329644Hi,
Zunächst einmal Filter Lösung für ” Tag Archive for: “
Best regards,
GünterNovember 19, 2021 at 9:23 am in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1329634Hi,
Sorry for not mentioning this:
To functions.php add:
add_theme_support( 'custom_uploaded_fonts_relative_url' );
This should activate the condition.
Do not forget to clear cache (if you use a cache plugin).
Edit:
And also save theme options please.
Best regards,
GünterNovember 18, 2021 at 3:57 pm in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1329534Hi,
uploading the font: Theme Options -> Import/Export -> Custom Font Manager
You can upload new fonts or delete already uploaded fonts (and reupload them).
—-
But I added a solution that removes the absolute URL part when creating the file dynamic_avia/enfold(_child).css on the fly.
Please update enfold\framework\php\font-management\class-avia-type-fonts.php with the content of
Around line 988ff you find theme support ‘custom_uploaded_fonts_relative_url’ (and filter ‘avf_custom_uploaded_fonts_url’).
Adding theme support will modify the output in dynamic_avia/enfold(_child).css to e.g.:
@font-face { font-family: 'lato'; src: url('/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('/wp56/wp-content/uploads/avia_fonts/type_fonts/lato/lato-blackitalic.ttf') format('truetype'); font-style: italic; font-weight: 900; font-display: auto; }
If WPML copies this file (or the merged files) to the other domain and the ttf files are in the same folder location there it should work.
Best regards,
GünterNovember 17, 2021 at 1:19 pm in reply to: Cross-Origin Request Blocked: Font loading blocked on English WPML #1329341Hi,
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, 11 months 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ünter -
This reply was modified 3 years, 11 months ago by
-
AuthorPosts