Forum Replies Created

Viewing 30 posts - 241 through 270 (of 3,704 total)
  • Author
    Posts
  • Hi,

    Fix above is not working properly.
    Meanwhile please stick to the fix from @stop0bit.

    Next release will contain a better solution.

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1406334

    Hi Luigi,

    Thank you for your contribution as always!

    Best regards,
    Günter

    Hi,

    Sorry for the problem and for reporting this.

    The final fix will be:

    
    	if( function_exists( 'did_filter' ) && did_filter( 'after_setup_theme' ) )
    	{
    		avia_lang_setup();
    	}
    

    We had to add this check with 5.6 to avoid double calling of avia_lang_setup which results in a large hit in WP object cache since WP 6.1 (due to new added class WP_Textdomain_Registry).

    Best regards,
    Günter

    in reply to: Logo Missing Quick Fix #1405930

    Hi,

    Have a great day.

    Best regards,
    Günter

    in reply to: images – masonry and iOS less than 13 #1405814

    Hey Guenter,

    Can you try to add to body tag class avia-mobile-no-animations:

    
    let body = document.getElementsByTagName('body');
    body[0].classList.add('avia-mobile-no-animations');
    

    Best regards,
    Günter

    in reply to: Custom Query for blog or archives #1405803

    Hi,

    Definition of is_tax():

    I would say yes, this should be the way (but I did not test it).

    Best regards,
    Günter

    in reply to: Custom Query for blog or archives #1405785

    Hi,

    Sorry for the late reply.

    To modify the main query for archive you can use the pre_get_posts filter. An example how we use it to modify the search query is here:

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

    For the ALB blog element we have the filter avia_blog_post_query.

    Hope this helps you.

    Best regards,
    Günter

    in reply to: Required Enfold Image Sizes #1405784

    Hi,

    Have a look in our theme options page -> Performance -> Responsive Images (check it) -> Image Thumbnails Info

    There you have an overview of the registered image sizes and if they are registered by Enfold.

    You can also have a look in enfold/functions.php around line 264ff and filter ‘avf_modify_thumb_size’ to deregister file sizes not needed.

    Hope this helps you.

    Best regards,
    Günter

    in reply to: Bug on German version of datepicker in forms. #1405711

    Hi,

    It will be in 5.6, which should be released in the next days.

    If you need it before you find the latest translation files here: https://github.com/KriesiMedia/enfold-language-files

    But keep a copy of the old files for a fallback.

    Best regards,
    Günter

    in reply to: Search products, pages and posts [ENFOLD] #1405710

    Hi,

    Solution will be in 5.6.

    Use filter ‘avf_search_result_layout’ and return ‘grid’.

    Above changes to custom.css are no longer necessary.

    Best regards,
    Günter

    in reply to: Search products, pages and posts [ENFOLD] #1405696

    Hi,

    I made the following modifications to your core theme files:

    search.php (line 55):

    
    global $wp_query;
    
    						$atts = array(
    									'type'		=> 'grid',
    //									'post_type'	=> [ 'attachment' ],
    									'items'		=> get_option('posts_per_page'),
    									'columns'	=> 3,
    									'class'		=> 'avia-builder-el-no-sibling',
    									'paginate'	=> 'yes',
    									'use_main_query_pagination'	=> 'yes',
    									'wp_query'	=> $wp_query
    								);
    
    						/**
    						 * @since 4.5.5
    						 * @return array
    						 */
    						$atts = apply_filters( 'avf_post_slider_args', $atts, 'search' );
    
    						$blog = new avia_post_slider( $atts );
    //						$blog->query_entries();
    						echo '<div class="entry-content-wrapper">' . $blog->html() . '</div>';
    
    

    enfold\config-templatebuilder\avia-shortcodes\postslider\postslider.php (line 566):

    
    
    $this->entries = isset( $atts['wp_query'] ) && $atts['wp_query'] instanceof WP_Query ? $atts['wp_query'] : array();
    
    

    and to custom.css:

    
    
    .template-search .post-entry{
    clear: unset;
    }
    
    

    Can you have a look at it please.

    Best regards,
    Günter

    in reply to: Search results page #1405492

    Hi,

    Thanks for the feedback and have a nice day.

    Best regards,
    Günter

    in reply to: Woocommerce v3 Lightbox image size #1404945

    Hi Tim,

    I’m afraid there is no easy way at the moment. The whole HTML for the gallery is managed by WC. If you activate a standard theme like twenty twenty three you also only get the maximum image.

    But I will keep it in mind for future.

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1404703

    Hi @EZWebdesign,

    Thanks, Roger! We’ll include them in the upcoming version :)

    Best regards,
    Günter

    in reply to: Bug on German version of datepicker in forms. #1404596

    Hey Garrfild,

    Translations are provided by users on contribution base (https://github.com/KriesiMedia/enfold-language-files).

    Nevertheless I updated it to “Vorher” for the next release which is planned for next week.

    If you need it before you can use a plugin like https://wordpress.org/plugins/loco-translate/ and search for your “Vorangegangen”

    Best regards,
    Günter

    in reply to: Update on ACF support #1404457

    Hi Jason,

    Thank you for coming back.

    I agree that this is getting an important feature and I have put this on top of my to do list with a high priority. Though it has heavy impact on the existing code and it will take some time.

    I will try to have a first implementation for 5.7 (starting with standard WP custom fields and then ACF elements step by step).

    I hope this gives you a roadmap for near future and allows you to stay with Enfold.

    Best regards,
    Günter

    in reply to: Woocommerce v3 Lightbox image size #1404452

    Hey Tim,

    Sorry for the late reply again.

    This is caused by WC core limiting the sizes attribute to the image size you select.

    In 5.6 I remove the sizes attribute when opening the lightbox – so the max image size is always used. This is actually a hack but I do not see another workaround.

    I added filter ‘avf_wc_30_gallery_lightbox_use_max_image_size’ to remove this hack again.

    Meanwhile what you can do:

    In enfold\config-woocommerce\woocommerce-mod.js around line 27 you find:

    
    img.trigger('click');
    

    Replace this with:

    
    			let img_tag = img.find( 'img' ).eq(0);
    			if( img_tag.length )
    			{
    				img_tag.removeAttr( 'sizes' );
    			}
    
    img.trigger('click');
    

    As also mentioned in previous post you need to minify this file when using minified or merged js (=> woocommerce-mod.min.js)

    Best regards,
    Günter

    in reply to: Search question #1404442

    Hey Tim,

    Sorry for the late reply.

    The underlying js for the search icon behaviour can be found in enfold\js\avia.js line 69:

    new $.AviaTooltip({ …..

    and line 90:

    new $.AviaAjaxSearch({scope:’#header, .avia_search_element’});

    As far as I see there is no easy way to remove this without hacking core js. If you do this and use minify or merged files you need to minifiy this js file again (or make a copy of unminified and name it avia.min.js

    You could try to rename the class avia-search-tooltip and remove data-avia-search-tooltip on pageload before avia.js is executed.
    Or remove the HTML completly and insert your own icon HTML and bind this to your js (which seems to be the easiest and clean solution for me).

    Hope this helps you.

    Best regards,
    Günter

    in reply to: Six columns in footer #1404351

    Hi,


    @tebitrongmbh


    @Guenni007

    In 5.6 I extended theme options for 6 columns.

    Best regards,
    Günter

    in reply to: Update on ACF support #1404236

    Hi,

    I’ve been tagged on this topic recently. I’ve not been using ACF up to now but I installed the free plugin to get an idea what it does. And I also had a look how Elementor handles it (https://elementor.com/help/elementor-acf/).

    The problem is not to display the custom fields (which is actually only post meta data to read) but the overall integration of custom post types, taxonomies and how to display it.

    It is possible to use our Advanced Layout Builder for custom post type “posts” (as we do already for the portfolio) but this is only for one post and (currently) not reuseable.

    What you are looking for is to design a template (with the ability to show custom meta data) which is reused for other posts. And this for single post and multiple posts (blog).

    This at the moment is only possible by creating or editing the underlying php template files using the default WP routing.

    I will add this as a feature request to our dev repo and will keep an eye on it.

    Best regards,
    Günter

    in reply to: Übersetzungsfehler / Translation mistake #1404215

    Hi,


    @Blatze

    Fix will be in next update.
    Have a nice day.

    Best regards,
    Günter

    in reply to: WP 6.1 + Enfold Performance Issue #1404112

    Hi Jason,

    I found this post: https://wordpress.org/support/topic/website-slowdown-problem/

    Enfold with the ALB shortcodes has some overhead to load in php, css and js. We added the .min files for css and js on user request as HTML 5 is optimized for that. You could try this instead of the merged files.

    Maybe increase of memory might also help – and use of a cache plugin and responsive images (but this you probably know/use already).

    Best regards,
    Günter

    in reply to: WP 6.1 + Enfold Performance Issue #1404109

    Hi,

    Thank you for breaking down the problem. WP introduced class WP_Textdomain_Registry with 6.1 and this class caused the problem.

    If you need a hotfix please modify enfold/functions.php:

    Around line 173 you find:

    
    if( ! function_exists( 'avia_lang_setup' ) )
    {
    	add_action( 'after_setup_theme', 'avia_lang_setup' );
    
    	function avia_lang_setup()
    	{
    		$lang = apply_filters( 'ava_theme_textdomain_path', get_template_directory()  . '/lang' );
    		load_theme_textdomain( 'avia_framework', $lang );
    	}
    
    	avia_lang_setup();
    }
    

    Replace

    
    avia_lang_setup();
    

    with

    
    	if( did_filter( 'after_setup_theme' ) )
    	{
    		avia_lang_setup();
    	}
    

    If you need help let us know and we can do it for you.
    Do not forget to make a backup of the original file for a fallback.

    Best regards,
    Günter

    Hey Butterfly44,

    Hi, in 5.6 it will be possible with the translation files found in /lang directory. These are either contributed by other users or you need a plugin like
    https://wordpress.org/plugins/loco-translate/ to translate it by yourself.

    Best regards,
    Günter

    in reply to: Add category to blog widget #1403730

    Hi,

    Next release will have improved settings for some widgets in core.
    See https://kriesi.at/support/topic/enfold-upcoming-fixes/

    Best regards,
    Günter

    in reply to: Add category to blog widget #1403517

    Hi,

    I uploaded an optimized version:

    https://github.com/KriesiMedia/enfold-library/blob/master/customizations/widgets/class-avia-newsbox.php

    If you replace line 64:

    
    $this->use_blog_meta_settings = false;
    

    with

    
    $this->use_blog_meta_settings = true;
    

    then theme options blog layout settings are used to show/hide categories and time

    Best regards,
    Günter

    in reply to: Add category to blog widget #1403507

    Hi,

    See file :
    https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Widgets/avf_widget_loader_widget_classes.php

    At the bottom you have the code to paste into function.php of your child theme:

    
    /*
     * Snippet to replace Newsbox widget with your custom Newsbox widget
     *
     * @since 5.5
     */
    
    function custom_avf_widget_loader_widget_classes_newsbox( array $default_widgets )
    {
    	$namespace = '\\aviaFramework\widgets\\';
    
    	// Create a folder widgets in enfold-child:     enfold-child/widgets
    	$path = trailingslashit( get_stylesheet_directory() ) . 'widgets/';
    
    
    	// Replace link to original file with your child theme modified newsbox widget
    	$default_widgets['newsbox'] = array(
    												'class'	=> $namespace . 'avia_newsbox',
    												'file'	=> $path . 'class-avia-newsbox.php'
    											);
    
    	
    	return $default_widgets;
    }
    
    add_filter( 'avf_widget_loader_widget_classes', 'custom_avf_widget_loader_widget_classes_newsbox', 10, 1 );
    

    This is a modified newsbox widget with the categories:

    https://github.com/KriesiMedia/enfold-library/blob/master/customizations/widgets/class-avia-newsbox.php

    Put this file in folder enfold-child/widgets.

    It will replace the original newsbox.

    If you need help please provide ftp access and we can do it for you.

    Best regards,
    Günter

    in reply to: Product-grid is still showing out-of-stock-products #1403387

    Hi,

    I’m afraid this is not so easy.

    Lets say your product has the ID 6499.

    Then in the post meta for this post_id you find meta_key:

    _stock_status

    This is I think the “old” field (has meta_value e.g. outofstock, instock).

    For the new tax query have a look into enfold\config-woocommerce\config.php around line 2981 function avia_wc_set_out_of_stock_query_params(…)

    Database tables involved are wp_terms, wp_term_taxonomy, wp_term_relationships.

    To be honest, I did not dig deeper how it is set by WC. But I think you need to set the “outofstock” term to wp_term_relationships
    object_id = post_id, term_taxonomy_id = term_id of “outofstock” found in wp_terms

    Hope this helps you a little.

    the only real solution is to change the import

    Yes, this would be the future safest way

    Best regards,
    Günter

    in reply to: Product-grid is still showing out-of-stock-products #1403373

    Hi,

    I digged into the core code of WC.

    With WC 3.0 the info for stock/out of stock was moved from meta data query to tax query and the meta data query was deprecated and is no longer supported by WC core.

    It seems, that your import plugin does not take care of that. As mentioned above, after saving a product stock/out of stock is recognized correctly.

    I think to be backwards compatible with older code WC still fills the meta data field – but this is nothing to rely on.

    The only thing I can offer is to add a filter that allows you activate the meta data query instead of the tax query. This is not an option to select but you will need to add some php code we can provide you.

    The preferred way would be to contact the import plugin authors that they should fix this. Or you add a script that sets the taxonomies correctly after import.

    Best regards,
    Günter

    • This reply was modified 1 year, 8 months ago by Günter.

    Hi Alexander,

    Google Maps Alternative:

    WP Dashboard -> Theme Extension Tab -> OpenStreetMaps ist die Alternative. Links dazu findest Du in der description dazu

    Contact Form

    Eine einfache Brücke ist das numerische captcha – komplett ohne irgendwelche requests.

    Borlab plugin bietet eine gute Möglichkeit für die DSGVO – da kann @Guenni007 mehr Informationen liefern.

    WP Armour soll laut Beschreibung in der Bezahl Version Enfold Contact Form unterstützen – wie oben schon erwähnt.

    Leider habe ich momentan dazu noch keine näheren Info.

    Best regards,
    Günter

Viewing 30 posts - 241 through 270 (of 3,704 total)