Forum Replies Created
-
AuthorPosts
-
Hi,
File merging/compression returns to default “enable” and I couldn’t activate the plugin.
Sorry for the delay. We tried to login to the site using the account above and the security answer, but when logging in, it just redirects back to the same page without giving any errors or warnings. Are you sure that the info is correct? Please post the FTP details in the private field so that we could access the server and edit the files when necessary.
Which plugin are you referring to? The theme’s merging/compression settings are located in the Enfold > Performance panel. It is not a plugin. If you are using a different minification/compression plugin, please keep it disabled temporarily.
Best regards,
IsmaelHi,
Thank you for the update.
Did you toggle or emporarily disable the Enfold > Performance > File Compression settings after adding the css code?
// https://kriesi.at/documentation/enfold/add-custom-css/#how-to-inspect-an-element-on-the-page
Style and layout adjustments for the archive pages are currently limited and you cannot use the Advance Layout Builder (ALB), so you will have to modify the template files directly and adjust the styles manually. But yes, you could create a page using the ALB and do a redirect. We have not encountered any documentation or article, which says that doing a 301 redirect is a bad SEO practice.
Best regards,
IsmaelAugust 30, 2021 at 4:34 am in reply to: The Events Calendar "Disable the Event Search Bar" Option Disabled by Enfold? #1318883Hi,
Thank you for the update.
What happens when you remove the avia_events_display_tab and avia_events_general_tab functions from the enfold/config-events-calendar/config.php file? These functions use the tribe_display_settings_tab_fields and the tribe_general_settings_tab_fields filters respectively to remove a few options options from the display and general tabs.
Best regards,
IsmaelHi,
Do you see the $entry parameter in the filter?
$content = apply_filters( 'avf_masonry_entry_content', $content, $entry, $this->atts );This parameter was recently added on version 4.8.6.1, if I am not mistaken.
Best regards,
IsmaelHi,
Thank you for the update.
What do you mean by “internal cookies”? Do you add any cookies that contains user data or that allows script to collect data from the current user? Cookies should only be disabled initially if they allow a certain script to collect data or any information from the users, or if the cookie itself contains personal information. Cookies that only enables essential site features such as breadcrumbs, shopping cart etc. should be allowed on page load.
Best regards,
IsmaelAugust 30, 2021 at 4:14 am in reply to: All Enfold sites crash because of wrong CSS MIME type #1318879Hi,
@conflock: Sorry for the confusion. @rikard is actually asking the other user (GWS) to open a new thread so that we could focus on yours. We checked the site and found out that an older version (4.8.3) of the theme is still active. Is there a staging or development version of the site containing the latest version (4.8.6.1)?
Please try to use the latest version of the theme (4.8.6.1), then add the snippet or filter that we provided above to prevent the post-css files from being generated. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the filter and make sure to purge the cache, or disable the plugin temporarily.
Best regards,
IsmaelAugust 30, 2021 at 4:05 am in reply to: Copyright mit Datenschutz jeweils extra für deutsche und englische Website #1318878Hi,
I see. Thank you for the clarification. Using the shortcode should help.
Best regards,
IsmaelAugust 30, 2021 at 4:02 am in reply to: Adding slider arrows to a Tab Section on Desktop and Mobile. #1318877Hi,
Is it possible to have the arrows move back to the first tab when on the last tab section.
Sorry for the delay. What do you mean by “moving the arrows back to the first tab”? Please provide a screenshot so that we can see the element that you would like to change.
Best regards,
IsmaelHi,
No problem. Please feel free to open a different thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHey Hejanni,
Thank you for the inquiry.
Yes, we could show the mobile menu icon earlier than what is set in the theme options. Please add this code in the Quick CSS field.
@media only screen and (max-width: 1366px) { .responsive #top .av-main-nav .menu-item-avia-special { display: block !important; } .responsive #top .av-main-nav .menu-item { display: none !important; } .responsive #top .av-main-nav .menu-item-avia-special { display: block !important; } }You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHey 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,
Ismael -
AuthorPosts
