Forum Replies Created

Viewing 30 posts - 271 through 300 (of 3,695 total)
  • Author
    Posts
  • in reply to: Lightbox swipe feature request & Gallery navigation #1397941

    Hi,

    I forgot to mention, that the fix will be part of next release 4.5.2.

    So you can actually replace the 2 original files in ..\enfold\js\…

    No need to copy to child theme.

    Script from Yigit is not correct, as it loads the same code twice (.min is minified only).



    @Guenni007

    Your code should work. Depending on theme option either the normal version of the file or the .min. version is loaded.
    If you do not upload a .min. version you can skip {$min_js} (or set it to ” hardcoded).

    Best regards,
    Günter

    in reply to: Lightbox swipe feature request & Gallery navigation #1397910

    Hi,

    Update for swipe feature:

    Please replace enfold\js\avia-snippet-lightbox.js and enfold\js\avia-snippet-lightbox.min.js

    with

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_4_1/js/avia-snippet-lightbox.js
    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_4_1/js/avia-snippet-lightbox.min.js

    Do not forget to clear server and browser cache (or toggle theme options if using merged js) and make a backup of the files for a fallback.

    Best regards,
    Günter

    Hi,

    If you do not need the WP block editor (= Gutenberg) Enfold has an integrated option to disable it without the need of any plugin:

    Theme Options Enfold -> Theme Options tab -> Select Your Editor at bottom.

    And if you want to switch depending on page/post you edit you can also do that with

    
    add_theme_support( 'avia_gutenberg_post_type_support' );
    

    This adds additional options on options page and links to open a page/post

    Best regards,
    Günter

    in reply to: Failed to initialize plugin: avia_builder_button #1397325

    Hi,

    I uploaded our latest dev version that fixes a problem with Google Maps.

    There is a problem with your server sending js files to client. It adds characters that cause syntax errors. These characters are not in the original files.

    I switched theme option to load minified files – and that works. Switching back to unminified again causes the error described above.

    To check with your hoster:

    File themes\enfold\framework\js\avia_advanced_form_elements.js line 811:

    This is what is rendered to browser:

    if(the_value != “” && the_value != null && baseurl) {Â the_value = the_value.replace(‘{{AVIA_BASE_URL}}’, baseurl); }

    instead of

    if(the_value != “” && the_value != null && baseurl) { the_value = the_value.replace(‘{{AVIA_BASE_URL}}’, baseurl); }

    And the same happens to other js files also.

    If you correct it with theme file editor (backspace and add blank) on your server and save the js file the additional character is no longer present.

    I hope this helps your hoster to solve/locate the problem.

    Best regards,
    Günter

    in reply to: 5.4 dev 2 ? #1394880

    Hey Guenter,

    Thanks for pointing at this.

    We missed to update it. Kriesi will upload a correct version.

    Best regards,
    Günter

    in reply to: WooCommerce question #1394768

    Hey Tim,

    Sorry for the late reply. Please see private field.

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1394751

    Hi Roger,


    @EZWebdesign

    Thank you very much. I added it to core.
    Have a great day.

    Best regards,
    Günter

    in reply to: blog alb and full content – does not work #1393943

    Hi,

    Glad we could help.

    Have a great day – I will close this topic.

    Best regards,
    Günter

    in reply to: blog alb and full content – does not work #1393884

    Hi,

    I added a working filter to functions.php in your child theme.

    You also find it here:

    https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/ALB%20Elements/Blog%20Posts/avf_blog_content_in_loop.php

    But please keep in mind that displaying ALB content might break the layout.
    We had users who faced this problem, thats why we removed it by default.

    We will add it to the description of the option.

    Best regards,
    Günter

    in reply to: blog alb and full content – does not work #1378886

    Hi,

    I understand the intention, but you have the risk of nested or circular called shortcodes which leads into endless loops or broken layout.
    That’s why we added a check for ALB Posts and force ‘excerpt_read_more’ for these.

    see includes\loop-index.php line 69.

    Good news is that there is filter at line 86:

    
    $blog_content = apply_filters( 'avf_blog_content_in_loop', $blog_content, $current_post, $blog_style, $blog_global_style );
    

    You can return ‘content’ to show the complete post content.
    But be sure to add logic to check where you want to change it.

    Best regards,
    Günter

    in reply to: blog alb and full content – does not work #1378663

    Hey Guenter,

    This is the intended and default Enfold behavior that in a blog content created with ALB is not executed.
    If you use a standard editor (even with shortcode) it is displayed correctly.

    see loop-index line 130 ff.

    If you really want to display the executed shortcode you can use the filter (line 130):

    
    $current_post['content'] = apply_filters( 'avf_the_content', '', 'loop_index' );
    

    and return whatever you like.

    Best regards,
    Günter

    Hey dominictschupp,

    Thank you for using Enfold.

    Very sorry for this – there happened a small typo error in the latest version.
    Will be fixed in next release 5.4

    In file enfold\includes\admin\register-backend-advanced-styles.php around line 452 you find:

    
    	'group' 		=> __( 'Main Menu (Icon )', 'avia_framework' ),
    

    Replace this line with:

    
    	'group' 		=> __( 'Main Menu (Icon)', 'avia_framework' ),
    

    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 please and we can do it for you.

    Best regards,
    Günter

    in reply to: 5.3 update folder locations #1377573

    Hi Thomas,

    Glad I could help you.

    Also happy New Year.

    Best regards,
    Günter

    in reply to: 5.3 update folder locations #1377508

    Hey Thomas,

    As the fonts have entries in database, I decided to leave existing sites untouched. The chance of breaking sites is too high.

    To move to new locations you need to delete all the fonts (icon and type fonts) and re-upload them again.
    I was aware that this is not user friendly but stability has priority.

    You can do this any time you like – there is no need to hurry.

    Best regards,
    Günter

    in reply to: Custom fonts and CDN #1377380

    Hi,

    Yes I think it should. Using the option “Performance -> Show Advanced -> Custom Font Loading Source” (5.4) will supress the output of @font-face in dynamic css file.
    So if you copy the files to your CDN and handle the @font-face CSS rule by yourselfe it should work.

    Best regards,
    Günter

    in reply to: Bug: CDN Use and fonts loading twice #1377288

    Hey Thomas,

    Thank you for this input.

    With next release 5.4 I decided to add a new option:

    “Performance -> Show Advanced -> Custom Font Loading Source”

    If you select to load from CDN server output of @font-face is suppressed in dynamic CSS file (only a comment line about that is added and can be seen when WP_DEBUG = true).

    Meanwhile to test in file framework\php\font-management\class-avia-type-fonts.php function handler_create_dynamic_stylesheet() around line 1177 you find:

    
    			if( ! in_array( $context, array( 'before' ) ) )
    			{
    				return $output;
    			}
    

    after this line add:

    
    return $output;
    

    Now you can use your custom CSS for @font-face.

    Hope this helps with the CDN problem.

    Best regards,
    Günter

    Hi,

    Yes, changes are in 5.3.1

    Best regards,
    Günter

    Hi,

    Was a CSS problem. I changed the classes to return and now you can use any value you like:

    https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/ALB%20Elements/Animations/avf_alb_element_animation.php

    what is the default offset if i do not influence the setting?

    ‘bottom-in-view’

    no center logo

    check config-templatebuilder\avia-shortcodes\icon_circles\icon_circles.css line 52ff.

    Best regards,
    Günter

    Hey kisys,

    Thank you for reporting this.

    You have enabled WP_DEBUG on that install.

    If you disable it, this error will disappear.
    As a second hotfix you can remove the two following lines in enfold\config-templatebuilder\avia-template-builder\php\base-classes\class-object-properties.php

    
    throw new \InvalidArgumentException ( $message );
    

    We added these checks with 5.3 during development to catch problems – we will change it to debug notices in the next release so it does not break any longer.

    Very sorry for the inconvenience.

    Best regards,
    Günter

    in reply to: Important change request for avia_google_maps_api.js! #1376210

    Hey!

    With next release 5.4 I added this to core and a filter to activate it:

    
    add_filter( 'avf_gmaps_no_google_fonts', '__return_true' );
    

    Best regards,
    Günter

    in reply to: Waypoints removed? #1376050

    Hi,

    The waypoints script is now enqueued seperate right before the avia.js in functions.php around line 496.

    We removed it from avia.js because we needed to make changes to the original script to be compatible with jQuery 3.5 and WP 5.6 and to avoid conflict with the minify routines we added.

    Hope this helps you.

    Best regards,
    Günter

    Hi,

    Bitte um WP Admin Login Daten und FTP damit wir uns das anschauen können. Ohne Zugangsdaten können wir leider nichts machen.
    Danke.

    Die Daten bitte im Private Content eingeben, dann sind Sie nur für Moderatoren sichtbar.

    Best regards,
    Günter

    in reply to: Using Enfold Parallax with PHP 5.5 #1375368

    Hey loghash,

    Thank you for using Enfold.

    PHP 5.5 is totally outdated and also for security reasons you should consider to update to a newer version.

    The problem you see here is already solved in 5.6 (https://www.javatpoint.com/php-variable-length-argument-function).

    There is a workaround for it:

    https://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list

    and

    https://www.php.net/manual/en/function.func-get-args.php

    You will need to modify theme core file

    enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-element-styling-base.php after line 633.

    But keep in mind you must modify this with every new release. We will not add this to core.

    If you need help with it let us know.

    Best regards,
    Günter

    in reply to: Custom fonts without upload #1375327

    Hi,

    Glad we could help.

    I will close this topic. Feel free to open a new topic in case you need further help.

    Enjoy the theme and have a great day.

    Best regards,
    Günter

    Hi,

    Yes. Only ‘av_icon_circles’ are changed.

    Best regards,
    Günter

    in reply to: Custom fonts without upload #1375241

    Hey geektech-42,

    The easiest way would be to add your customs fonts to the “Websafe Font” section in the dropdown.

    You can do that and manipulate this array with the following filter:

    
    function custom_available_websafe_fonts( $fonts )
    {
    	$fonts['Montserrat'] = 'Montserrat';
    	$fonts['Aclonica'] = 'Aclonica';
    
    	return $fonts;
    }
    
    add_filter( 'avf_available_websafe_fonts', 'custom_available_websafe_fonts' );
    

    Then you have to load your @font-face declarations on all backend post types that support ALB and in frontend.

    As a start you could add it to enfold-child\style.css which will do it.

    To see a rough preview on theme options page you must also load it there. There is no special file in the child theme for that.
    You can use the following action hook only called on theme options page to enqueue your own backend file containing the @font-face declarations:

    
    			/**
    			 * Allows to add additional submenus
    			 *
    			 * @used_by				aviaElementTemplates::handler_ava_menu_page_added     10
    			 *
    			 * @since 4.8
    			 * @param string $top_level
    			 * @param avia_adminpages $this
    			 * @param string $the_title
    			 * @param string $menu_title
    			 */
    			do_action( 'ava_menu_page_added', $top_level, $this, $the_title, $menu_title );
    

    Example fo Font Face declarations:

    
    @font-face {
         font-family: 'montserrat';
         src:    url('https://localhost/wp56/wp-content/uploads/dynamic_avia/avia_type_fonts/custom/montserrat-black.ttf') format('truetype');
         font-style: normal;
         font-weight: 900;
         font-display: auto;
    }
    @font-face {
         font-family: 'montserrat';
         src:    url('https://localhost/wp56/wp-content/uploads/dynamic_avia/avia_type_fonts/custom/montserrat-blackitalic.ttf') format('truetype');
         font-style: italic;
         font-weight: 900;
         font-display: auto;
    }
    
    

    I hope this helps you.

    Best regards,
    Günter

    Hi,

    There is already a new container class av-animated-when-visible-95 (see enfold\js\shortcodes.js – function activate_waypoints() since 5.0 ).

    I will add filter ‘avf_alb_element_animation’ (will try for 5.3) to elements.

    Best regards,
    Günter

    in reply to: PHP 8 Support #1374591

    Hey Gabriel,

    Thanks for reporting this.

    Sounds a bit strange as I work with 8.0 and get no notices.

    But I added fixes for the next release for both problems. Can you wait for that or do you need the fixes now?

    Best regards,
    Günter

    in reply to: Critical error with PHP 8.1 #1374326

    Hi,

    Enjoy the theme and have a great day.

    Best regards,
    Günter

Viewing 30 posts - 271 through 300 (of 3,695 total)