Forum Replies Created

Viewing 30 posts - 31 through 60 (of 3,751 total)
  • Author
    Posts
  • in reply to: Timeline Element improvements #1478002

    Hi,

    Your welcome.
    Have a great day.

    Best regards,
    Günter

    in reply to: how to avoid insertion to content twice … #1478001

    Hi,

    Gerne.
    Einen schönen Tag noch.

    LG,
    Günter

    in reply to: how to avoid insertion to content twice … #1477912

    Hi,

    Ich habe den Code in Deine child functions.php unten eingefügt.

    Ohne static erscheint bild im footer, mit nicht mehr.
    Link siehe unten.

    Best regards,
    Günter

    in reply to: how to avoid insertion to content twice … #1477902

    Hi,

    If I understand you correctly the featured image is displayed also in the footer and you do not want to have it there.

    My snippet avoids to display it a second time.
    Simply add it at the beginning of the function:

    
    function avf_template_builder_content_postimage_mod($content = ""){
    
    static $exec = false;  //  initialise
    
    if( $exec )   // check if function was already executed once
    {
    return $content ;
    }
    
    $exec = true;     //  set flag as executed
    
    if(  (is_singular('post') || is_singular('portfolio')) && ( '1' != get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) ) )  {
    
    ......
    
    
    
    
    

    Best regards,
    Günter

    in reply to: Timeline Element improvements #1477865

    Hi,

    Please see private content.

    Best regards,
    Günter

    in reply to: New Vulnerability? #1477864

    Hi,

    These reports are fixed in latest version 7.0.

    • WordFence vulnerablity fix: limit download of theme options to admin only (discovered by mikemyers)
    • WordFence vulnerablity fix: removed not needed function avia_ajax_get_image_color() (discovered by mikemyers)

    Please update to this version.

    Best regards,
    Günter

    in reply to: how to avoid insertion to content twice … #1477800

    Hey Guenter,

    What about using a static var in the handler at the beginning like:

    
    
    static $exec = false;  //  initialise
    
    if( $exec )
    {
    return $content ;
    }
    
    $exec = true;     //  set flag as executed
    .....
    
    
    

    Best regards,
    Günter

    in reply to: how to replace standard icons #1477763

    Hey Guenter,

    wp-media-library svg are identified by attachment ID (which is unique) – title of svg which is used as name can be changed which would lead to loosing the icon. If you check the shortcode of e.g. ALB icon you will see that the ID is also used.

    For other svg iconsets you must use the name – as it is the name of the svg file it will never change.

    Best regards,
    Günter

    in reply to: Timeline Element improvements #1477479

    Hi Tim,

    Thanks.

    Could reproduce it and added a fix in next release 7.0.

    Best regards,
    Günter

    in reply to: Timeline Element improvements #1477316

    Hi Tim,

    Sorry, but it still does not work. I tried both e-mail and supplied username.

    Best regards,
    Günter

    • This reply was modified 7 months, 3 weeks ago by Günter.
    in reply to: Responsive Mode | Unfold – Fold Issue #1477259

    Hi,


    @mammamilla


    @Blatze

    Thank you for reporting this. It is bug and will be fixed in next release 7.0

    Enjoy the theme and have a great day.

    Best regards,
    Günter

    in reply to: Timeline Element improvements #1477236

    Hi tim,

    Thank you for the login – but it does not work. See Private Content.

    Best regards,
    Günter

    Hi,

    Hope you are also doing well.

    Thank you for suggesting the fix – I added it to next release 7.0

    Have a great day and enjoy the theme.

    Best regards,
    Günter

    in reply to: Possible bug with img tags being parsed #1476958

    Hi Tim,

    If the img tag disappears in database content (db field post_content and also in metadata ‘_aviaLayoutBuilderCleanData’) means that these fields are updated. I do not know a situation where Enfold itself updates this when a page is loaded in frontend. This happens when a post gets updated from backend.

    object cache in my opinion could only be a problem when this happens on saving/updateing a page – but not when it is loaded in frontend. In this case the content is only read.

    Is the page after the image disappeared an older version of the page before you added the image ? Then it could be that your hoster restored some older db entries from a backup ?

    Best regards,
    Günter

    in reply to: Timeline Element improvements #1476956

    Hey Tim,

    Sorry for the late reply.

    I cannot reproduce this on a local install. Do you have a staging site where you can reproduce it and I can have access to check your settings for the element ?

    Best regards,
    Günter

    Hey Jan,

    I did not test it – but I have the following idea:

    In …\enfold\config-templatebuilder\avia-shortcodes\blog\blog.php around line 861 you find filter:

    
    $query = apply_filters( 'avia_blog_post_query', $query, $params );
    

    In global variable $avia_config[‘posts_on_current_page’] you have all ID’s of already queried posts.

    $query[‘post__not_in’] can be used to skip already queried posts:

    
    $query['post__not_in'] = isset( $query['post__not_in'] ) ? array_merge( $query['post__not_in'], $avia_config['posts_on_current_page'] ) : $avia_config['posts_on_current_page'];
    

    Can you give this a try please?

    Best regards,
    Günter

    in reply to: Bug – Abuse of /?avia_extended_shop_select= queries #1474836

    Hi,

    There will be a fix in next release 6.0.9.

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1474110

    Hi @EZWebdesign,

    Thank you! We’ll add it to the core in the upcoming version.

    Merry XMas and a happy New Year !!

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1473919

    Hi @BigBatT,

    Thank you! We’ll add the Italian language files to the core in the upcoming version as well.

    Merry Christmas and a Happy New Year !!

    Best regards,
    Günter

    in reply to: Code Element WPML issue #1473491

    Hi,

    Did you already try to contact WPML support? Translations are handled by WPML and to me it sounds that WPML does not translate the codeblock element correctly.

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472730

    Hi,

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472724

    Hi,

    Final implementation:

    
    	function avia_add_metadata_to_body_class( array $body_classes )
    	{
    		global $post;
    
    		if( ! $post instanceof WP_Post )
    		{
    			return $body_classes;
    		}
    
    		$classes = [];
    
    		if( is_singular() )
    		{
    			$classes[] = 'post-type-' . sanitize_html_class( $post->post_type );
    
    			$taxonomies = get_object_taxonomies( $post->post_type, 'objects' );
    
    			foreach( $taxonomies as $taxonomy )
    			{
    				$terms = get_the_terms( $post->ID, $taxonomy->name );
    
    				if( ! is_wp_error( $terms ) && ! empty( $terms ) )
    				{
    					foreach( $terms as $term )
    					{
    						$classes[] = sanitize_html_class( $taxonomy->name ) . '-' . sanitize_html_class( $term->slug );
    					}
    				}
    			}
    		}
    
    		/**
    		 * @since 6.0.8
    		 * @param array $classes
    		 * @return array
    		 */
    		$classes = apply_filters( 'avf_metadata_to_body_class', $classes );
    
    		return array_merge( $body_classes, $classes );
    	}
    
    	add_filter( 'body_class', 'avia_add_metadata_to_body_class', 10, 1 );
    

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472722

    Hi,

    See private.

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472714

    Hi,

    See private.

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472707

    Hey Guenter,

    Yes – I forgot to remove the -dev.

    It is the latest production version.
    I apologize for this.

    Best regards,
    Günter

    Hi,

    Thank you for sharing this.

    I added it to core for next release 6.0.8.

    We highly appreciate your help.

    Best regards,
    Günter

    in reply to: CVE-2022-48285 on jszip 3.6.0 #1469608

    Hi,

    We tried, but could not update the js file to a later version – it had seemed to be buggy and using the methods to control the animation like play, pause, .. did not work as it should. So we left it unchanged.

    Checking the player today (https://developers.lottiefiles.com/) the implementation has completly changed.

    We will add it to our dev repo to consider updateing the element – but we have no ETA for it yet.

    Best regards,
    Günter

    in reply to: Barrierefreiheitsstärkungsgesetz #1469169

    Hey Ulf,

    Danke für diese Info.

    Wir werden diesem Thema höchste Priorität geben.

    Viel Freude mit Enfold und einen schönen Tag.

    Liebe Grüsse aus Wien,
    Günter

    in reply to: Please contribute and translate Enfold #1468915

    Hi @BigBatT,

    Thanks for your contributions!

    Added it to core. Have a great day.

    Best regards,
    Günter

    in reply to: toggle id’s in accordian #1468579

    Hi,

    Sorry to say – I’ve tried the last days to find a solution – but I was not able to find one without the risk of breaking existing sites and elements.

    Best regards,
    Günter

Viewing 30 posts - 31 through 60 (of 3,751 total)