Forum Replies Created

Viewing 30 posts - 451 through 480 (of 3,742 total)
  • Author
    Posts
  • in reply to: Page 3 pagination not working WPML site #1334695

    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ünter

    in reply to: Missing scrset in ALB gallery #1334337

    Hi,

    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ünter

    Hi 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ünter

    in reply to: Missing scrset in ALB gallery #1334259

    Hi 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:

    https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Images%20and%20Lightbox/avf_masonry_flex_image_html.php

    Best regards,
    Günter

    Hey 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ünter

    in reply to: CRITICAL Uncaught Error #1333647

    Hi,

    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ünter

    in reply to: Bug: Wrong href=manually link if content-slider slide… #1333376

    Hey 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

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_8_1/core/class-generic-helper.php

    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ünter

    in reply to: Missing scrset in ALB gallery #1333354

    Hi,

    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.php

    The 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ünter

    in reply to: Missing scrset in ALB gallery #1333269

    Hey 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ünter

    in reply to: Responsive Typography (Feature Request) #1333268

    Hi,

    The release should be out soon.

    Best regards,
    Günter

    in reply to: Responsive Typography (Feature Request) #1333168

    Hi,

    Best regards,
    Günter

    in reply to: Responsive Typography (Feature Request) #1333160

    Hi,

    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:

    https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Layout/avf_el_styling_responsive_font_size_skip.php

    If you want to have a beta version for testing let us know.

    Best regards,
    Günter

    Hi,

    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ünter

    in reply to: Responsive Typography (Feature Request) #1332750

    Hi 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ünter

    in reply to: Yes, Enfold is compatible with PHP 8! #1332748

    Hi,

    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ünter

    Hi,

    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ünter

    Hi,

    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ünter

    in reply to: Please contribute and translate Enfold #1331818

    Hi @comkapi,

    Thanks a lot for your work. Added it to core.

    Have a great day.

    Best regards,
    Günter

    in reply to: Planned release of 4.8.7.2 #1331676

    Hey 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ünter

    in reply to: Fatal error when running PHP 8.1 #1331601

    Hi,

    Thanks for using Enfold and have a great day.

    Best regards,
    Günter

    in reply to: excerpt line breaks not showing in magazine element #1331537

    Hi,

    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ünter

    in reply to: Fatal error when running PHP 8.1 #1331532

    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ünter

    in reply to: Shortcodes in ALB #1331498

    Hi,

    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ünter

    in reply to: wp_options very large entrie of about 26,5MB #1331497

    Hi,

    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ünter

    in reply to: Invalid HTML in Enfold #1330987

    Hi,

    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ünter

    in reply to: Shortcodes in ALB #1330966

    Hi,

    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ünter

    in reply to: Invalid HTML in Enfold #1330962

    Hey 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 of

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7_1/alb/testimonials.php

    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ünter

    in reply to: Blog meta improvements #1330947

    Hi,

    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ünter

    in reply to: Blog meta improvements #1330868

    Hi 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

    in reply to: Small Footer issue #1330677

    Hi,

    Thanks for the feedback. It is added for next release.

    Have a great weekend also and stay safe of corona.

    Best regards,
    Günter

Viewing 30 posts - 451 through 480 (of 3,742 total)