Forum Replies Created
-
AuthorPosts
-
Hey Hejanni,
Thank you for the inquiry.
Would you like all external cookies to be blocked on initial load? If yes, you can set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior to the 3rd or 4th option. This should block all external services such as maps, analytics, videos etc. Users will be required to toggle or unblock them manually using the privacy toggles in the modal popup window or in the privacy policy page.
Best regards,
IsmaelAugust 27, 2021 at 11:43 am in reply to: Copyright mit Datenschutz jeweils extra für deutsche und englische Website #1318630Hi,
@Guenni007: Thanks for helping. Based on Google’s translation, I think he has problems with the page translations and wanted shortcodes to automatically be added to other pages. Not really sure. Hopefully, your solution above works.Best regards,
IsmaelHi,
Nice to know that you have found a different solution. The filter above could actually accomplish the same thing. Just replace post_content with post_excerpt.
add_filter("avf_masonry_entry_content", function($content, $entry, $atts) { return $entry->post_excerpt; }, 10, 3);This should return the unmodified version of the excerpt without the tags stripped.
If the filter above is not working, try to check if this same exact line exists in the enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php file (line 607).
$content = apply_filters( 'avf_masonry_entry_content', $content, $entry, $this->atts );Best regards,
IsmaelHi,
Yes, we agree. We have notified one of our developers to look into it. We will probably a small note about the link settings. Please let us know in a different thread if you need anything else.
Have a nice day.
Best regards,
IsmaelAugust 27, 2021 at 11:32 am in reply to: Enfold mobile search logo DE -> EN overlay with WPML #1318625Hi,
Took you a quite a while, but thank you for the update. Please feel free to open another thread if you need anything else. We will close this for now.
Have a nice day.
Best regards,
IsmaelAugust 27, 2021 at 11:31 am in reply to: Aditonal text under products on the product category page #1318624Hi,
Thank you for the update.
This is an example of the woocommerce_after_main_content hook, which you can add in the child theme’s functions.php file, or in the parent theme’s if child theme is not activated.
add_action("woocommerce_after_main_content", function() { // more snippets here echo "something here"; }, 10);Best regards,
IsmaelHi,
Thank you for the update.
Are you using any API to send SMS? With the current contact form configuration in the page above and if you are going to use the avf_form_send filter, you can access the value of the telephone number from the $new_post array as shown in the example below.
function avf_form_send_mod($send, $new_post, $params, $class) { // $new_post["4_1"] - this variable will hold the phone number value // do something with it before sending the email return true; } add_filter("avf_form_send", "avf_form_send_mod", 10, 4);Best regards,
IsmaelHi,
Thank you for the update.
You can use one of the hooks in the functions.php as follows.
add_action("ava_main_header", function() { // snippets here echo "something"; }, 10);.. or:
function ava_add_something_to_the_header() { // snippets here echo "something"; } add_action("ava_main_header", "ava_add_something_to_the_header", 10);Best regards,
IsmaelAugust 27, 2021 at 11:13 am in reply to: The Events Calendar "Disable the Event Search Bar" Option Disabled by Enfold? #1318619Hi,
We do not see any syntax error in the file. Did you copy the code directly from this forum? Please make sure that the single quotes or other characters in the code are not getting converted to something else. The conversion usually happens when the snippet has been copied directly from an email.
Posting the actual error here in the forum should also help.
Best regards,
IsmaelHi,
No problem. Please feel free to open another thread should you need anything else.
Have a nice day.
Best regards,
IsmaelAugust 27, 2021 at 9:31 am in reply to: Where can I change the responsive setting for smartphones, tablets and desktop? #1318605Hi,
Thank you for following up.
Did you toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code? Also, please make sure to remove the browser history or try to check the site on incognito mode to ensure that you are actually viewing an uncached version of the page with the updated stylesheets.
A list of css media queries for specific devices can be found here.
// https://css-tricks.com/snippets/css/media-queries-for-standard-devices/
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the expand button is not available when the Block Editor is active. Are you actually using the new block editor? If not, you can switch back to the classic editor by adjusting the Enfold > Theme Options > Select your editor settings.
We will forward the issue to our channel.
Best regards,
IsmaelHi,
No problem. Hope that we could help you better in the future. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
The shop_catalogue thumbnail, which is the default thumbnail used in the product grid, has a maximum width of 300px by default. And as we mentioned above, you could change it by adjusting the Thumbnail width option in the Appearance > Customize > Woocommerce > Product Images panel. Did you try to adjust the width value?
Best regards,
IsmaelHi,
@hypergolica (Tim): Setting the thumbnail size or name to “full” should return the source image with the original dimension or size (unresized/uncropped). You should replace the above line with this.$size = strpos( $blog_style, 'big' ) ? ( ( strpos( $current_post['post_layout'], 'sidebar' ) !== false ) ? 'full' : 'full' ) : 'square';.. or with this:
$size = strpos( $blog_style, 'big' ) ? 'full' : 'square';Thanks @Guenni007 for the info.
Best regards,
IsmaelAugust 27, 2021 at 9:04 am in reply to: Pagination not working on avia_product_slider in search.php #1318596Hi,
Glad to know that it is working properly now. We will forward this thread to our channel for further considerations. Please keep the modifications for now.
Thank you for your patience.
Best regards,
IsmaelAugust 27, 2021 at 8:55 am in reply to: Woocommerce single product layout issue (sidebar below product info) #1318595Hi,
There was a minor syntax error in the snippet. Please try it again.
/* zijbalk op productpagina */ function ava534345953_init() { add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25); add_action( 'woocommerce_after_single_product_summary', 'avia_close_image_div_mod', 20); add_action( 'woocommerce_before_single_product_summary', 'avia_open_image_div_mod', 1 ); } function avia_open_image_div_mod() { echo "<div class='product-main-container'>"; } function avia_close_image_div_mod() { echo "</div>"; } function avia_add_sidebar() { if(is_product()) { $avia_config['currently_viewing'] = "shop_single"; get_sidebar(); } } add_action('init','ava534345953_init', 50);Do not forget to add the css code. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.
Best regards,
IsmaelHi,
You may have to ask your hosting provider to adjust the above SFTP account and give it the proper permissions so that we could modify the wp-config.php file in the root directory and enable debugging, or just ask them to enable debugging.
I turned on the WP Debug in my raidboxes account
We are not really sure if enabling that option will enable both WP_DEBUG_DISPLAY or just the error log. Anyway, we have checked the error logs and found the error in the enfold/framework/php/function-set-avia-frontend.php file around line 74. We also noticed that the theme is outdated. You will have to upgrade the theme from version 4.6 to the latest version, 4.8.6.1. The upgrade should help fix the issue.
Thank you for your patience.
Best regards,
IsmaelHi,
Alright. Regarding handling it via child theme, you can deregister the script file, copy it to your child theme and register it back using its new path. Examples in the following link.
// https://kriesi.at/support/topic/is-it-possible-to-whitelist-a-custom-cookie/#post-1310899
// https://kriesi.at/support/topic/google-map-marker-size-increase/#post-1308434
// https://kriesi.at/support/topic/tabs-select-on-hover/#post-1307497You will need these functions.
// https://developer.wordpress.org/reference/functions/wp_deregister_script/
// https://developer.wordpress.org/reference/functions/wp_enqueue_script/If you do not want to override the script file, you might still be able to add the attribute with a custom script.
// https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#add-a-script-to-footer-section
Best regards,
IsmaelHi,
Thank you for the test page.
You can use this css code to change the background color of the table and the cells within to transparent.
.main_color table, .main_color table tbody, .main_color table tr, .main_color table td { background-color: transparent !important; }Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelAugust 27, 2021 at 8:31 am in reply to: Copyright mit Datenschutz jeweils extra für deutsche und englische Website #1318589Hi,
That is not possible without significant modification in the theme or without additional code, unfortunately. You may need to look for a plugin but I doubt there is one with that functionality. You may have to hire a freelance developer to implement that kind of feature.
Thank you for your understanding.
Best regards,
IsmaelHi,
Thank you for the update.
If you want to override it in your child theme, you will have to deregister the script file first and register it back using its new path in the child theme directory. The handle of the script is “avia-sticky-header”.
// https://developer.wordpress.org/reference/functions/wp_deregister_script/
A few examples can be found in the following threads.
// https://kriesi.at/support/topic/is-it-possible-to-whitelist-a-custom-cookie/#post-1310899
// https://kriesi.at/support/topic/google-map-marker-size-increase/#post-1308434
// https://kriesi.at/support/topic/tabs-select-on-hover/#post-1307497Best regards,
IsmaelHey Michelle,
Thank you for the inquiry.
You can use the expand option to make the builder fullscreen. It is located right beside the Templates button. The builder tab sticks to the top when the builder is expanded.
Best regards,
IsmaelHey flow2b,
Thank you for the inquiry.
That option is not available in the default implementation of the OSM Leaflet element in the theme, unfortunately. It is possible with a plugin but you will have to hire a third party developer to help you with the implementation.
// https://github.com/stefanocudini/leaflet-search#examples
Best regards,
IsmaelAugust 26, 2021 at 12:50 pm in reply to: Aditonal text under products on the product category page #1318450Hey Gilbert,
Thank you for the inquiry.
You can use the woocommerce_after_main_content hook to insert additional content after the product loop, or you can override the wp-content/plugins/woocommerce/templates/archive-product.php file by creating a copy of it in your child theme directory. For more info, please check the following documentation.
// https://docs.woocommerce.com/document/template-structure/
Best regards,
IsmaelAugust 26, 2021 at 7:46 am in reply to: The Events Calendar "Disable the Event Search Bar" Option Disabled by Enfold? #1318395Hey Lance,
Thank you for the inquiry.
You can add this snippet in the functions.php file to disable the function that removes the additional settings.
remove_action( 'tribe_display_settings_tab_fields', 'avia_events_display_tab', 10 );This function is created to keep the layout of the calendar view intact.
Best regards,
IsmaelHi,
Thank you for the update.
When logging in, there is a security question asking for the name of your first pet. I was tempted to input the name of my first pet, but I am quite sure that it is asking for yours. Please include it in the private field.
Regarding the database issue, it might be due to the Performance > File Compression settings as discussed in the following threads.
// https://kriesi.at/support/topic/wp_options-table-is-too-large-40-gb
// https://kriesi.at/support/topic/dynamic_avia-swedish-help/You might have to disable the Enfold > Performance > File Compression settings and use other compression plugins such as Autoptimize or BWP Minify.
Best regards,
IsmaelHey koraytastan,
Thank you for the inquiry.
We are not really sure what you are trying to do here. Are you trying to extract or capture the data sent from the contact form? If yes, then you might be able to use the avf_form_send filter to do something with the form data (ex. save it to the database) before sending it to the recipient. There are also other filters that you can use to adjust the email subject, message, from address etc.
Best regards,
IsmaelHey walhai,
Thank you for the inquiry.
The theme automatically strips html tags from the masonry excerpt, so you will not be able to add the span tags without modifying the theme. You could try this filter in the functions.php file but we are not sure if this will help return the unmodified excerpt.
add_filter("avf_masonry_entry_content", function($content, $entry, $atts) { return $entry->post_content; }, 10, 3);Best regards,
IsmaelAugust 26, 2021 at 7:06 am in reply to: The woocommerce variation product images doesn't change. #1318387 -
AuthorPosts
