Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the inquiry.
Yes, the “Load only elements” option should increase the site performance because the site will only load the required resources (js and css). However, this option will only work when the file compression settings are not enabled.
If you are using the Autoptimize plugin, the “Load only elements” option should still work properly even if the css and js files are compressed.
Best regards,
IsmaelHey Natesh,
Thank you for the inquiry.
You can find such settings in the Slider Settings > Slideshow panel, under the Slideshow Behavior, set the Start slide with field accordingly. But to force the slider to stop after transitioning to the second slide, you may need to create or configure your own Events Callback.
// http://docs.webshopworks.com/layerslider/39-advanced-customization/194-layerslider-api
Best regards,
IsmaelMay 11, 2021 at 8:52 am in reply to: How to add an "Add to Cart" Button in Product List option & Thumbnail Zoom #1299594Hey Beth,
Thank you for the inquiry.
You can use this filter in the functions.php file to insert an “Add to Cart” text next to the excerpt in the catalogue item.
add_filter("get_the_excerpt", function($excerpt, $post) { if(get_post_type($post->ID) == "product") $excerpt .= "<strong class='avia-catalogue-add-to-cart'>Add to Cart</strong>"; return $excerpt; }, 10, 2);
Best regards,
IsmaelHi,
Thank you for the inquiry.
The videos do not play automatically because of the privacy options, which block the scripts until the user decided to enable or allow external videos or services. You have to set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior settings to the first or second option if you want the video to autoplay, without user consent.
Best regards,
IsmaelMay 11, 2021 at 8:26 am in reply to: Is there a way to the ddefault header transparency for all new pages and posts #1299589Hi,
Thank you for the inquiry.
We added the code again and it is working as expected. Please note that the new default option will only be applied to new pages, and not on pages that previously exist, which have their header settings already set.
Best regards,
IsmaelMay 10, 2021 at 7:34 am in reply to: woocommerce category description displayed in title header #1299285Hi,
Glad it is working. We will forward the issue to our channel, see if we can do any changes in the next patch. We will close the thread for now. Please feel free to open another if you need anything else.
Have a nice day.
Best regards,
IsmaelMay 10, 2021 at 7:26 am in reply to: Functions.php file in Enfold Child not updating changes #1299284Hi,
Did you remove the css code? The default padding of the mobile menu items or of the social icon entries are back. This is the css code that was missing.
#top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items.social_icon_1 { margin-left: 50px; }
It applies a 50px margin to the left of the first social icon, consequently moving the other icons.
Best regards,
IsmaelMay 10, 2021 at 6:40 am in reply to: 4 column portfolio grid displays as 3 columns on large monitor (27 inch) #1299278Hi,
Thank you for the inquiry.
We cannot reproduce the issue on our end either, shown in the screenshot below. Would you mind providing a screenshot?
Screenshot: https://imgur.com/mgVmCAk
Best regards,
IsmaelHey swisstraveler,
Thank you for the inquiry.
Would you mind providing a screenshot of the issue? We found no breadcrumb element in the site, so the error should not be occurring in the console. Did you try to run the validation process?
// https://support.google.com/webmasters/answer/9216203?hl=en#zippy=%2Cabout-validation
Best regards,
IsmaelHey MarcusJeroch,
Thank you for the inquiry.
How did you embed the video? If it is an iframe or if you are using a video tag, you can add the preload attribute and set it to none.
Example:
<video width="1000" height="640" controls="controls" preload="none"> <source src="movie.mp4" type="video/mp4" /> </video>
// https://www.w3schools.com/tags/att_video_preload.asp
Best regards,
IsmaelHi,
Parallax effect is actually disabled on mobile view by default. And iOS devices do not fully support fixed elements or backgrounds, so the only solution is to set the background attachment behavior back to default as suggested above, which unfortunately disables the fixed and/or parallax effect.
// https://caniuse.com/background-attachment
// https://stackoverflow.com/questions/21476380/background-size-on-iosBest regards,
IsmaelHey filz51,
Thank you for the inquiry.
You are probably looking on the default language switcher from the theme. To remove or disable those flags, please go to the Enfold > Header > Extra Elements and set the Enfold WPML Language Flags ( global setting – used for all languages ) to the second option.
You can also try this snippet in the functions.php file.
//-------------------------------------------------------------- // Remove Enfold Language Switcher //-------------------------------------------------------------- function avia_remove_main_menu_flags(){ global $avia_WPML; add_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 9999, 2 ); remove_filter( 'wp_nav_menu_items', [ 'avia_WPML', 'handler_append_lang_flags' ], 9998, 2 ); remove_filter( 'avf_fallback_menu_items', [ 'avia_WPML', 'handler_append_lang_flags' ], 9998, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10 ); remove_action( 'ava_main_header_sidebar', 'avia_wpml_language_switch', 10 ); } add_action('init','avia_remove_main_menu_flags', 9999);
Best regards,
IsmaelMay 10, 2021 at 6:12 am in reply to: "Custom Product Tabs for WooCommerce" Plugin Display Problem #1299261Hi,
Awesome! Glad that worked. Please feel free to open another thread if you need anything else. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHi,
Great! Glad to know that it is solved. Please do not hesitate to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Unfortunately, we do not know what permissions the user role should or should not have in order to edit the contact form. You may need to contact the plugin developer for that.
You can also check this documentation to control access to the forms.
// https://contactform7.com/restricting-access-to-the-administration-panel/
According to it, Contact Form 7 allows all users except subscriber users to have access to the administration panel; but allows only administrator and editor users to edit contact forms. This is why the editor user role that we created above can still access the form. To work around that, try to declare the constants from the documentation to only allow access to user roles that can manage_options.
define( 'WPCF7_ADMIN_READ_CAPABILITY', 'manage_options' ); define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'manage_options'
Best regards,
IsmaelHi,
Thank you for the info.
Is it working properly when the default editor is active?
Please provide the login credentials (in the “private data” field) so that we can take a look at the dashboard.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use wordpress@kriesi.at ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When the issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
IsmaelMay 10, 2021 at 5:59 am in reply to: Language flags back in the menu after upgrading to 4.8.2 #1299245Hi,
Glad to know that the option is working. Please feel free to open another thread if you need anything else. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
We did not find the filter or code in the functions.php file, so we added it again. We also renamed the font to Roboto New, and reselected it from the Enfold > General Styling > Fonts panel. The correct font weight is now displaying properly. Please do not forget to purge the cache before checking the page.
Best regards,
IsmaelHi,
@hacart: Please continue here: https://kriesi.at/support/topic/hide-social-icons-in-main-menu-of-desktop-version/#post-1297754Best regards,
IsmaelHi,
Thank you for the info.
We still see the same error in the browser console and the core scripts are still concatenated. Are you sure that CONCATENATE_SCRIPTS is set to false? Please post the FTP details in the private field so that we could edit the core files and check the issue further.
Best regards,
IsmaelHi,
Unfortunately, we are still not sure what is causing the issue. Additional info from the plugin developers might help. Did you previously use the Webtoffee PayPal express plugin?
Please disable the plugin or remove it completely, then optimize the database and remove any transients that the plugin might have left. This plugin should help with the database optimization.
// https://wordpress.org/plugins/wp-optimize/
Best regards,
IsmaelHi,
We tested the site using the lighthouse tool and the result showed that the CLS score is already 0 — there is minimal or no layout shift in the page anymore. But the site needs further optimization. You may need to purge the cache in your end or test the site using another machine. Please check the screenshot below.
Screenshot: https://imgur.com/KPqBnMs
Best regards,
IsmaelHi,
Do you still have a copy of the latest version 4.8.2? The files should for the static folder should be there. If not, go to the Enfold > Layout Builder panel and set the Integrated (Bundled) LayerSlider Plugin settings to the second option to deactivate the layer slider.
Best regards,
IsmaelHi,
We get this error when we try to update the theme, and it looks like your token does not have the correct permissions.
Errors occurred checking on 2021/05/07 08:26:
Download Package URL: Errorcode 403 returned by Envato: Forbidden:
– response_code: 403
– reason: scope-missing
Download Package URL: A problem occurred accessing your download link. Unable to perform update.
Following Envato package errors occurred:
Enfold – Request for Download URL failed.Please generate another token and make sure that the token has the necessary permissions.
View and search Envato sites (checked by default)
View your Envato account username
View your email address
View your account profile details
Download your purchased items
Verify purchases of your item
List purchases you’ve madeThe following documentation should help.
// https://kriesi.at/documentation/enfold/theme-registration/#toggle-id-5
Best regards,
IsmaelHi,
The static folder should not be empty and should contain these files.
Screenshot: https://imgur.com/NjqlveO
Please get copies of the missing files from the theme zip file and move it to the static directory.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like this is a common issue with the WP import. Another user created a tool that prevents conversion of paragraphs to br tags, which is probably what is happening in your import. The tool is available in the following link.
// https://scotthom.com/2018/12/fix-wordpress-import-wpautop/
Download the zip file, extract it to the same directory where your XML file is, then run this command.
php fix-wordpress-export-wpautop.php < original-export-file.xml > new-export-file.xml
Replace the file name with the actual name of your XML file and the desired output name.
IMPORTANT: Please create a backup of the XML file before doing the steps above.
This is the original thread: https://wordpress.org/support/topic/double-line-breaks-changed-to-single-line-breaks-after-importing-xml-file/
Best regards,
IsmaelHi,
Thank you for the update.
You can adjust the style of lightbox container so that it only takes a percentage of the screen instead of depending on the content. Try to use this css code.
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { width: 80%; margin: 50px; }
We also added a 50px margin around the lightbox container.
Best regards,
IsmaelHi,
Alright. Please feel free to open another thread if you need anything else. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHi,
That should be possible. Please add these filters in the functions.php file to disable the time in the event list.
// disables the time for event list function ava_remove_time_list_view( $settings ) { $settings["time"] = false; return $settings; } add_filter( "tribe_events_event_schedule_details_formatting", "ava_remove_time_list_view" ); function ava_remove_end_date ( $settings ) { $settings["show_end_time"] = false; return $settings; } add_filter( 'tribe_events_event_schedule_details_formatting', 'ava_remove_end_date' );
Best regards,
IsmaelHi,
Thanks for the update.
We have added this script in the functions.php file to add the no-scroll class name to the hotspot links. This prevents the document from scrolling when clicking a hotspot with an anchor.
// a custom script // prevent hotspot scroll function ava_custom_script_mod() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', ' (function($) { $(document).ready(function() { $("a.av-image-hotspot_inner").each(function() { $(this).addClass("no-scroll"); }); }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
Best regards,
Ismael -
AuthorPosts