Forum Replies Created
-
AuthorPosts
-
Hey Thomas,
Strange.
Do you see anything in the php error log (can you reproduce it on a stageing site where you can turn on WP_DEBUG and the WordPress Error Log) ?
Seems that WPML query gets stuck. Maybe something went wrong in saveing the translations. Are you using translation management?
If you can reproduce it on a stageing site try to translate the posts on this page 3 again – or delete one post after the other and check ?Best regards,
GünterHi,
Great it solved the problem.
Sorry for the wrong code. In the next version av-helper-masonry.php is deprecated and a modified code is moved to config-templatebuilder\avia-shortcode-helpers\class-avia-masonry.php and there $this->config exists – and I tested it in this version.
Best regards,
GünterJanuary 4, 2022 at 6:03 pm in reply to: Moving JS inline for ALB color section and Full width Easy Slider #1334262Hi Thomas,
Happy new year to you also.
Most of the jQuery js code is packed in
(function($) { ...... })( jQuery );
or
$(function() { // Handler for .ready() called. });
see https://api.jquery.com/ready/
It is certainly possible to execute code before the dom is ready – but this will be special use cases only and cannot be done in general in the framework.
We have to rely that the dom is complete.Best regards,
GünterHi Tim,
Thanks for digging into this.
I think the best way is to use a filter and limit the changes right in av-helper-masonry.php.
For the next release I added the following filter:
/** * Allows to add width and height attribute to supress WP filters for responsive images * (can be used to server optimized images from an image proxy service like Imgix * * @since 4.8.9 * @param string $img_html * @param array $attachment * @param array $entry * @param array $this->config * @return string */ $img_html = apply_filters( 'avf_masonry_flex_image_html', $img_html, $attachment, $entry, $this->config );
right before (around line 481)
$img_html = Av_Responsive_Images()->make_image_responsive( $img_html, $thumb_ID, $this->config['lazy_loading'] );
and this is an example how to use it:
Best regards,
GünterDecember 28, 2021 at 1:54 pm in reply to: Moving JS inline for ALB color section and Full width Easy Slider #1334005Hey Thomas,
Sorry for the late reply. Hope you had a peacefull christmas time with your family.
This cannot be solved easily. It would need to hack core js files (and that after each update). And there are also dependencies to be considered (like jQuery) – and logic for file merging also.
Best regards,
GünterHi,
Please replace the content of /enfold/config-woocommerce/config.php with the contents of
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_8_1/WooCommerce/config.php
If you need help with it, let us know.
Do not forget to make a backup of the original file for a fallback and clear server and browser cache.
Best regards,
GünterDecember 18, 2021 at 5:01 pm in reply to: Bug: Wrong href=manually link if content-slider slide… #1333376Hey Mischa,
Thanks for reporting this.
Is a bug in a helper function analysing this input field. So all ALB elements will show the same behaviour.
I added a fix for the next update.Meanwhile you can replace enfold\config-templatebuilder\avia-template-builder\php\class-generic-helper.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.Thank you for using Enfold and have a great day.
Best regards,
GünterHi,
I hope you’ve seen that with 4.8.4 the following files have changed due to post css file support (in case you modified them in child theme):
enfold\config-templatebuilder\avia-shortcodes\masonry_gallery\masonry_gallery.php
enfold\config-templatebuilder\avia-shortcodes\masonry_entries\masonry_entries.php
enfold\config-templatebuilder\avia-shortcodes\av-helper-masonry.phpThe attachment url for the image is set by following code in av-helper-masonry.php line 1330:
$this->loop[ $key ]['attachment'] = ! empty( $this->loop[ $key ]['thumb_ID'] ) ? wp_get_attachment_image_src( $this->loop[ $key ]['thumb_ID'], $img_size ) : '';
This is a default WP function.
I hope this helps you to locate the problem.
In case you need a filter that would help let us know.
Best regards,
GünterHey Tim,
Yes, you are right. We missed it.
I have added a fix for it – but the release 4.8.8.1 was already out. So it will be in next release.
If you want I can send you a copy including the fix (based on 4.8.8.1, no other changes) so you can check, if it is working as expected.Best regards,
GünterHi,
For next release 4.8.8.1 I added this feature:
add_theme_support( 'avia_options_extended_typography' );
replaces the selectboxes with plain input fields where you can add any valid CSS (there is no check).
To skip your ALB settings for responsive fonts there is a filter:
If you want to have a beta version for testing let us know.
Best regards,
GünterDecember 14, 2021 at 5:03 pm in reply to: Important: Enfold 4.8.8 bug with RSS Feed? (Update: Issue = PHP 8 & child theme) #1332821Hi,
Strange. The only idea I have is that the ” ‘ ” are not the usual ASCII single quote but something different and PHP 8 does not accept that any longer.
Please try my new code.
Best regards,
GünterHi Tim,
Thanks for your feedback.
ad 1)
That makes sense. I took px because Kriesi did in his default setting (and also in the Advanced Styling tab).
I will change it to plain input fields with a default of px (if no other unit is specified).ad 2)
For elements that support post css files (like ‘Special Heading’ does) the responsive handling for font sizes in in aviaElementStylingResponsive::add_responsive_font_sizes(…).
What I would suggest is to extend the parameter list with a reference to the shortcode object and add a filter to supress generating the media queries.
That will allow more flexibility without touching any other core code.ad 3)
Yes, Advanced Styling has priority. Selectors are e.g.
#top #wrap_all .all_colors h1
Selectors from typography tab are simple e.g.:
h1
Best regards,
GünterHi,
Thanks for your feedback.
I’m working on PHP 8.0.0 for several months now and did not encounter any problems either.
Best regards,
GünterDecember 14, 2021 at 1:04 pm in reply to: Important: Enfold 4.8.8 bug with RSS Feed? (Update: Issue = PHP 8 & child theme) #1332747Hi,
Adding your code to my function.php the only thing I see are the ” ‘ “.
I modified the code to get a valid syntax on my install (see below).
Can you try that.What is line 55 in your code above ?
Best regards,
GünterDecember 12, 2021 at 2:44 pm in reply to: Enfold 4.8.8 – magazine element – hide Author, category and tags #1332484Hi,
Thank you for reporting this.
There are options in the element itself. We made some changes in 4.8.8 to remove this information from HTML and not only hide with CSS. Seems we missed something in this element.
I will add a fix in the next release so the options will work again.
Sorry for the troubles. Have a nice sunday and enjoy the theme.
Best regards,
GünterHey Thomas,
Release is planned for today/tomorrow. Here you find the changes that are merged for an oncoming release: https://kriesi.at/support/topic/enfold-upcoming-fixes/
Have a great day.
Best regards,
GünterDecember 4, 2021 at 1:40 pm in reply to: excerpt line breaks not showing in magazine element #1331537Hi,
I added
$excerpt = str_replace( ']]>', ']]>', apply_filters( 'the_content', $excerpt ) );
for the next release 4.8.7.2.
Think, it makes sense.
Also added filter avf_magazine_skip_excerpt_content_filter to skip.
Best regards,
GünterHi,
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ünter -
AuthorPosts