Forum Replies Created

Viewing 30 posts - 12,871 through 12,900 (of 66,745 total)
  • Author
    Posts
  • in reply to: Database MySQL problem #1318888

    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,
    Ismael

    in reply to: Category page styling #1318886

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Portfolio – excerpt – working with span #1318881

    Hi,

    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,
    Ismael

    in reply to: Cookies #1318880

    Hi,

    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,
    Ismael

    in reply to: All Enfold sites crash because of wrong CSS MIME type #1318879

    Hi,

    @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,
    Ismael

    Hi,

    I see. Thank you for the clarification. Using the shortcode should help.

    Best regards,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Portfolio random – cache GetFlywheel & WP Rocket #1318875

    Hi,

    No problem. Please feel free to open a different thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Burger menu set screen size #1318633

    Hey 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,
    Ismael

    in reply to: Cookies #1318632

    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,
    Ismael

    Hi,


    @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,
    Ismael

    in reply to: Portfolio – excerpt – working with span #1318628

    Hi,

    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,
    Ismael

    in reply to: Link not working in the title of the ALB magazine #1318626

    Hi,

    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,
    Ismael

    in reply to: Enfold mobile search logo DE -> EN overlay with WPML #1318625

    Hi,

    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,
    Ismael

    in reply to: Aditonal text under products on the product category page #1318624

    Hi,

    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,
    Ismael

    in reply to: Contact form elements via php functions #1318623

    Hi,

    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,
    Ismael

    in reply to: Displaying the day and date in the header #1318621

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: How to set table background to transparent? #1318616

    Hi,

    No problem. Please feel free to open another thread should you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Avia Layout Architect not sticky #1318604

    Hi,

    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,
    Ismael

    in reply to: OSM Leaflet – Search box? #1318602

    Hi,

    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,
    Ismael

    in reply to: Images in columns not displaying well #1318601

    Hi,

    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,
    Ismael

    in reply to: Blog Featured Image Size #1318598

    Hi,


    @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,
    Ismael

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Error message of type E_ERROR #1318594

    Hi,

    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,
    Ismael

    in reply to: mobile menu accessiblity #1318592

    Hi,

    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-1307497

    You 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,
    Ismael

    in reply to: How to set table background to transparent? #1318590

    Hi,

    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

Viewing 30 posts - 12,871 through 12,900 (of 66,745 total)