Forum Replies Created
-
AuthorPosts
-
Hi,
Could you post the exact text from the email? Please post it on pastebin.com. Or try to replace the filter with the following code.
function avf_form_message_mod_remove_texts($message) { $excludes = array( "Ich stimme der Speicherung meiner Daten zur weiteren Verarbeitung", "der Datenschutzerklärung, zu.: true", ", gemäß der", "zu.: true", "der Datenschutzerklärung, zu" ); foreach( $excludes as $remove ) { $message = str_replace( $remove, '', $message ); } return $message; } add_filter('avf_form_message', 'avf_form_message_mod_remove_texts', 10, 1);
Best regards,
IsmaelHi,
The image in the widget does not display in the header. Please try to replace the “ava_after_main_menu” hook with “ava_main_header”.
add_action( 'ava_main_header', 'ava_main_header_mod_header_widget' ); function ava_main_header_mod_header_widget() { dynamic_sidebar( 'header' ); }
Best regards,
IsmaelHi,
We tried to modify the file via the Appearance > Editor panel, but we got an error. Please post the FTP details in the private field.
Best regards,
IsmaelApril 5, 2019 at 4:11 pm in reply to: Fatal error: Can’t use function return value in write context in php on line 213 #1087501Hi,
We flushed or resaved the permalinks. The sub pages are accessible again. (see private field)
Best regards,
IsmaelHi,
Thanks for the update.
You may need to re-initialize the lightbox using different parameters. First, turn on the custom css class field so that you can add a unique class attribute to the image element. Once the field is activated, edit the image element and then add the “mfp-video” text in the css class field. To initialize the light script, use this code in the functions.php file.
add_action('wp_footer', 'ava_init_video_lightbox'); function ava_init_video_lightbox(){ ?> <script type="text/javascript"> (function($) { function videoLightbox() { $('.mfp-video a').magnificPopup({ type: 'iframe', mainClass: 'mfp-with-fade', iframe: { markup: '<div class="mfp-iframe-scaler">' + '<div class="mfp-close"></div>' + '<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>' + '<div class="mfp-description mfp-description-video"></div>' + '</div>', patterns: { youtube: { index: 'youtube.com/', id: 'v=', src: '//www.youtube.com/embed/%id%?autoplay=1' }, vimeo: { index: 'vimeo.com/', id: '/', src: '//player.vimeo.com/video/%id%?autoplay=1' } }, srcAction: 'iframe_src', }, callbacks: { markupParse: function (template, values, item) { values.description = item.el.find('img').attr('title'); } }, }); } $(document).ready(videoLightbox); })(jQuery); </script> <?php }
Don’t forget to purge the cache before checking the page.
Best regards,
IsmaelHey!
We didn’t know that the site is using an old version of the theme. Unfortunately, we can’t help you with the update, so you have to do it on your end. The automatic update is no longer working on that version because its using a deprecated API. You have to update the theme manually via FTP just this once.
// https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp
Do the images disappear when you update the page?
Best regards,
IsmaelHi,
The Layout panel is located at the right side of the advance layout builder or post editor, right below the Page Attributes settings.
Best regards,
IsmaelHi,
Thanks for the update.
The “All” or “Tutto” sort text is no longer visible, so the css code is working. You can add space between the masonry items, but you have to decrease the size of the images.
.av-large-gap.av-flex-size .av-masonry-entry .av-inner-masonry { padding: 20px; }
Try to set the columns to 4 if you prefer larger masonry images.
Best regards,
IsmaelApril 5, 2019 at 7:49 am in reply to: After various performance optimizations: front page corrupted #1087389Hey kunxkreisi,
Thank for you using Enfold.
Looks like you forgot to add the site url. Please add it in the private field along with a screenshot of the home page prior to the issue. You can upload the screenshot to imgur or dropbox.
Best regards,
IsmaelHi,
Are you referring to the masonry content or text (ABOUT ME, SOUNDS, COLLAGEN, etc.) that displays on hover? Use this css code to set the content to display on load instead of mouse hover.
@media only screen and (max-width: 1024px) { .avia_desktop .av-caption-on-hover .av-masonry-item-with-image .av-inner-masonry-content { opacity: 1; filter: alpha(opacity=100); } }
Best regards,
IsmaelApril 5, 2019 at 7:42 am in reply to: Bug: Enfold's Avia Builder causes javascript error with another plugin #1087386Hey crowdlauf,
Thank you for using Enfold.
You can try this filter to disable the tiny mce button script.
// disable tiny mce button function avf_remove_tinyMCE_button( $plugins ) { if ( 'post_type_name' == get_post_type() ) { unset($plugins['avia_builder_button']); } return $plugins; } add_filter( 'mce_external_plugins', 'avf_remove_tinyMCE_button', 999, 1 );
Adjust the post type name or slug.
Best regards,
IsmaelApril 5, 2019 at 7:12 am in reply to: Event tracking using Woocommerce Google Analytics Pro Plugin #1087379Hey JustCodingStuff,
Thank you for using Enfold.
Looking at the snippet, seems like you can only trigger that function on page load because it has to be inside an action callback. You might be able to trigger it on a click event using AJAX, but that would require modification that is beyond the scope support. Please contact the plugin authors for more info.
A quick example of an AJAX script can be found in this article.
// https://medium.com/techcompose/how-to-use-ajax-precisely-in-wordpress-custom-themes-dc61616720a8
Best regards,
IsmaelHey solomita,
Thank you for using Enfold.
Looks like the images (see private field) used in the posts have different sizes. Make sure that the image sizes are the same. The minimum width required for the images in the single post page is 1210px if its a full width page and 845px if the sidebar is enabled.
Best regards,
IsmaelApril 5, 2019 at 4:52 am in reply to: Page/text/img editing not working and can't validate my personal token #1087343Hi,
Thank you for using Enfold.
We found the following code in the avia_modal.js file, which is not supposed to be there. (see private field)
Did you add that code? Please get a fresh copy of the config-templatebuilder > avia-template-builder > assets > js > avia_modal.js file and replace the current one.
Where is the site hosted?
Best regards,
IsmaelApril 5, 2019 at 4:46 am in reply to: Woocommerce, functions that are supposed to be added above product descrition.. #1087340Hi,
Thanks for the update.
You have to check if the current product is of variable type, so this code adjustment should work.
add_action('after_setup_theme', 'ava_move_product_elements'); function ava_move_product_elements() { global $product; if ( $product->is_type( 'variable' ) ) { remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); } return false; }
Best regards,
IsmaelHey Brian,
Thank you for using Enfold.
I need the site to pop up all at once when a new visitor views it that doesn’t have the site cached on their browser.
What is the current file size of the images used in the slider? Try to optimized the images by compressing it. There are plugins available out there that do just that. Here’s some other ways to optimize the images.
// https://kriesi.at/archives/4-key-wordpress-image-optimization-tips
And it would help if the site is fully optimized, not just the images.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
Best regards,
IsmaelHi,
The issue is quite random. We were able to send messages, but we did see the error once. (see private field)
Are you sure that the API keys are from reCAPTCHA v3? Please try to generate new keys and make sure that they’re from reCAPTCHA v3.You can also try the theme’s contact form element and its reCAPTCHA option. It’s in the Enfold > Google Services panel.
Best regards,
IsmaelApril 5, 2019 at 4:21 am in reply to: How to modify settings for " Full Width Submenu" of Avia Layout builder #1087330Hi,
You should be able to create those links, without using css to adjust the style, using the Page Navigation widget. Create a new menu in the Appearance > Menus panel and then add the Page Navigation widget in a widget area of your choice. You can then add the navigation anywhere in the site using the Widget Area element.
Best regards,
IsmaelHi,
It’s because of the very last menu item with the image. It doesn’t have a column title. Try to add this css code in the Quick CSS field or the style.css file.
#menu-item-4006 { min-width: 168px; }
Best regards,
IsmaelHi,
Do you mind providing the site url so that we can see where you’re currently at? Or just provide a screenshot of the current layout and another for the layout that you need to create.
Best regards,
IsmaelHey tekniskakari,
Thank you for using Enfold.
The “orderby” parameter is duplicated.
$avia_config[‘new_query’][‘orderby’] = “date”; $avia_config[‘new_query’][‘orderby’] = “ASC”;
The second parameter should be called “order” and the value set to “ASC” or “DESC”.
Best regards,
IsmaelHey Jaispirit,
Thanks for the update.
Is it only happening in the home page? The element works fine in a test page even while the said plugin is activated. (see private field)
Best regards,
IsmaelHi,
Yes, you’re right. The page doesn’t break when the featured image sliders are removed. Would you mind if we access the file server? Please post the FTP details in the private field.
Best regards,
IsmaelApril 5, 2019 at 3:25 am in reply to: "Load More" pagination on Masonry gallery not working #1087291Hi,
The “avia_ajax_masonry_more” script is not returning an error when the cache and security plugins are deactivated. Please activate the plugins one at a time to find the cause of the issue.
Best regards,
IsmaelApril 4, 2019 at 4:01 pm in reply to: Issue with anchor ID and navigation overlapping content #1087112Hi,
Yes, it is working on our end. Did you enable the “refresh” script? You should be seeing a “tick” string or text in the browser console indicating that the script is running.
Best regards,
IsmaelHi,
Thanks for the update. We adjusted the css code a bit.
#footer .textwidget ul { list-style: disc inside !important; }
Best regards,
IsmaelApril 4, 2019 at 3:47 pm in reply to: Customizing Woocommerce single product product template? #1087102Hi,
Yes, that would help. Please provide the download link in the private field. Or post the FTP details in the private field.
Best regards,
IsmaelApril 4, 2019 at 3:46 pm in reply to: Advanced Layout Builder stuck in load phase in one specific page #1087100Hi,
Unfortunately, this is one of those issues that we will not be able to fix on our end. You need to confirm with your hosting provider why that particular file is not accessible. We know that the file exists, but the server is refusing access to it for some reason.
Best regards,
IsmaelApril 4, 2019 at 3:24 pm in reply to: Contact submit button stuck on 'Authenticating' with Captcha v3 #1087085Hi,
What is the login url? The default ones redirect to WordPress.com’s login page. We may need to access the site using your WordPress.com user account.
Best regards,
IsmaelHi,
1.) Did you adjust the image url? Make sure that it correctly links to an image.
2.) Mobile devices can actually have higher screen resolutions nowadays compare to desktops, so using a single image is usually enough for every devices. Just make sure that the images are optimized or compressed properly and on their smallest file size as much as possible.
Best regards,
Ismael -
AuthorPosts