Forum Replies Created
-
AuthorPosts
-
September 13, 2021 at 12:04 pm in reply to: How can I hide the active thumbnail image in gallery? #1320706
Hey justingd83,
Thank you for the inquiry.
The site above actually contains two gallery, one after another. Only one image is selected in the first gallery and 3 images in the gallery below.
Best regards,
IsmaelHey bowlandwalks,
Thank you for the inquiry.
You could manually embed the captions directly before rendering the video. But if you are going to rely on the builtin caption, this might not possible. Please check the documentation for more info.
// https://support.google.com/youtube/answer/2734796?hl=en
Best regards,
IsmaelSeptember 13, 2021 at 8:03 am in reply to: Scroll Down Arrow – Color Section Layout Element – URL Change #1320646Hey Jasmer,
Thank you for the inquiry.
We could use the following script in the functions.php file to remove any hash on initial load.
function ava_custom_script_remove_hash() { ?> <script> (function($) { $(document).ready(function() { var hash = location.hash.replace('#',''); if(hash != '') { location.hash = ''; } }); })(jQuery); <?php } add_action('wp_footer', 'ava_custom_script_remove_hash');Please toggle or temporarily disable the Enfold > Performance > File Compression settings, and purge the cache after adding the code.
Best regards,
IsmaelSeptember 13, 2021 at 7:49 am in reply to: No audio in my full screen video all of a sudden #1320645Hi,
Thank you for the inquiry.
The background of any color section is muted by default because you cannot autoplay a media file if audio is enabled. Only muted autoplay is allowed as described in this article.
// https://developer.chrome.com/blog/autoplay/
Chrome’s autoplay policies are simple:
Muted autoplay is always allowed.
Autoplay with sound is allowed if:
The user has interacted with the domain (click, tap, etc.).
On desktop, the user’s Media Engagement Index threshold has been crossed, meaning the user has previously played video with sound.
The user has added the site to their home screen on mobile or installed the PWA on desktop.
Top frames can delegate autoplay permission to their iframes to allow autoplay with sound.Best regards,
IsmaelHi,
You have to check for the term name, not the taxonomy name. What is the name of the custom taxonomy and what are the terms or categories inside that particular taxonomy?
Best regards,
IsmaelHi,
Thank you for the info.
It is not working because you did not select any image in the Masonry Gallery element. Please try to edit the masonry element, edit the gallery and select the images manually.
Best regards,
IsmaelHi,
Great! Glad it is now back to infinite scrolling. Please us know if you need anything else. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHey JaimBateman,
Thank you for the inquiry.
The same code above should work for sticky posts but for the grid layout, you have to replace avia_blog_post_query with the avia_post_slide_query filter. Let us know if that helps.
Best regards,
IsmaelSeptember 13, 2021 at 4:46 am in reply to: Several issues when viewing website on iPhone, Safari, and iPad Chrome/Safari #1320619Hey QuantumPhysics,
Thank you for the inquiry.
We are able to reproduce the menu issue on a Simulator but not the others as shown in the screenshot below.
Screenshot: https://imgur.com/rwxmUPM
Adding the following css code should fix the menu issue.
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a .avia-menu-text { color: #333333; display: block !important; }Best regards,
IsmaelHey Guenter,
Thank you for the inquiry.
Looks like you are using the Fullwidth Slider, which does not set the slide image as background. Are you referring to the Fullscreen Slider element? The theme is using the post_thumbnail_html filter to modify the html of the attachment or image and apply the wp-image-id class name. You can find the function in the enfold/framework/php/class-responsive-images.php -> add_attachment_id_to_img.
Best regards,
IsmaelHi,
Yes, the minification option from the plugin should be the same as in the theme, so you can just enable it instead. Or install the Autoptimize plugin, which works well with the theme’s Performance > Disabling of template builder elements option. You should also keep the default file compressions settings disabled if you chose to install the Autoptimize plugin.
Best regards,
IsmaelHi,
Thank you for following up.
The contact forms in the test page are still working properly like last time. We added the link of the test page in the private field.
We are not exactly sure what “asset cleanup” from the plugin entails. You may need to contact the plugin author for clarification, or just create a site backup and a restore point before enabling it just incase.
Best regards,
IsmaelHi,
Yes, you may have to update the image.php file if there are changes in it. Unfortunately, we will not be removing the esc_html function in the next patch because it was added there to clean invalid output and escaped special characters. But we could add a filter so that it can still be adjusted if necessary. We will forward the thread to our channel for further consideration.
Best regards,
IsmaelHi,
Thank you for the info.
We may have to access the site and test the modification directly. Please provide the WP and FTP login details in the private field.
Best regards,
IsmaelHi,
Thank you for the update.
Try to replace this line..
foreach($cats[0] as $cat) { if(in_array($cat->name, array("kitty", "pussy", "catty"))) { $cat_class = "pets"; } $cat_walk .= "<a class='". $cat_class . "' href='" . get_term_link($cat->term_id) . "'>" . $cat->name . "</a>"; }with..
foreach($cats as $terms) { foreach($terms as $term) { if(in_array($term->name, array("kitty", "pussy", "catty"))) { $cat_class = "pets"; } $cat_walk .= "<a class='". $cat_class . "' href='" . get_term_link($term->term_id) . "'>" . $term->name . "</a>"; } }The changes above should work for all custom post types and taxonomies.
Best regards,
IsmaelSeptember 13, 2021 at 1:37 am in reply to: Changing the 'Elegant' font size in the Accordion Element #1320608Hi,
No problem! Glad we could be of help. Please do not hesitate to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for following up.
This same code works properly on our end. Are you sure that you added it correctly in the functions.php file? Please post the login details in the private field so that we could test it.
Best regards,
IsmaelHey koomo,
Thank you for the inquiry.
You will have to modify the following line and add the link tag or markup manually.
$output .= ‘<span class=”portfolio_tag”>‘.$tag->name.’ </span>’;Something like
$output .= '<a class="portfolio_tag" href="'.$taglink.'">'.$tag->name.'</a>';Best regards,
IsmaelHi,
Thank you for the inquiry.
The title is not displaying because by default the AJAX search is using the get_the_title function, which can only retrieve post title as the name suggests. You will have to modify the functions-enfold.php file and adjust this code around line 433 and 443 in order to get the title and link of the archive pages.
433:
$link = apply_filters( 'av_custom_url', get_permalink( $post->ID ), $post );443:
$output .= '<span class="av_ajax_search_content">'; $output .= '<span class="av_ajax_search_title">'; $output .= get_the_title($post->ID); $output .= '</span>';You may need to use these functions.
// https://developer.wordpress.org/reference/functions/get_post_type_archive_link/
// https://developer.wordpress.org/reference/functions/get_the_archive_title/Best regards,
IsmaelHey El,
Thank you for the inquiry.
The theme or the AJAX search does not support the qtranlsate-xt plugin ever since. If you look at the following documentation, only Polylang, Relevanssi and SearchWP plugins have default integrations for the search feature.
// https://kriesi.at/documentation/enfold/search/
By default, the AJAX search relies on the get_posts function. You may need to ask the plugin author and ask them how the plugin retrieves the posts translation.
Best regards,
IsmaelHey salai_com,
Thank you for the inquiry.
Are you trying to enable the top menu? Please note that the top or secondary menu will not display when the header is set to transparent. You have to adjust the page’s Layout > Header Sichtbarkeit und Transparenz settings, and enable the secondary menu in the Enfold > Header > Extra Elements > Header Sekundär-Menü settings.
Best regards,
IsmaelHi,
No problem. Glad to know that it is working. We could remove the layer slider settings (ntegrated (Bundled) LayerSlider Plugin) from the theme options, but we have to modify the enfold/config-layerslider/config.php file directly, and remove this code around line 74.
add_filter( 'avf_option_page_data_init', array( $this, 'handler_option_page_data_init' ), 10, 1 );Thank you for your patience.
Best regards,
IsmaelSeptember 11, 2021 at 2:23 am in reply to: Logo and menu in left Side bar / Titles not showing on pages #1320476Hi,
Thank you for the update.
We could also use this filter in the functions.php file to re-enable the Enfold > Header > Header Layout > Header Title and Breadcrumbs even when the header is set to the left or right.
function avf_header_setting_filter_mod($header) { $header['header_title_bar'] = 'title_bar'; return $header; } add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);Let us know if that helps.
Best regards,
IsmaelHi,
The links above should direct you to the official theme documentation, which contains most of the answers that you are looking for. If you need the exact css, please try the following css code. We already move the columns inside a color section and applied a custom css class name to it.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .av-custom-column-order .entry-content-wrapper { display: flex; direction: ltr; flex-direction: column; } .av-custom-column-order .av_one_half:nth-child(1) { order: 2; } .av-custom-column-order .av_one_half:nth-child(2) { order: 1; } .av-custom-column-order .av_one_half:nth-child(3) { order: 4; } .av-custom-column-order .av_one_half:nth-child(4) { order: 4; } .av-custom-column-order .av_one_half:nth-child(5) { order: 6; } .av-custom-column-order .av_one_half:nth-child(6) { order: 5; } }The css should re-order the columns on smaller screens as shown in the screenshot below.
Result: https://imgur.com/Flq67lt
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
The avf_add_search function is already added in the functions.php file, so the error occurs because you are trying to duplicate the function. You have to remove the previous avf_add_search function first. After removing any instances of the avf_add_search function from the functions.php file, try to add the following snippet.
// https://kriesi.at/support/topic/search-box-in-mobile-menu-2/#post-1277234
Best regards,
IsmaelHi,
Thank you for the update.
We could override the image shortcode file in the child theme. Create a new folder in the child theme directory and name it “shortcodes”. Create a copy of the image.php file, move it inside the new folder, then add this snippet in the functions.php file to create an additional shortcodes path within the child theme.
function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; } add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
IsmaelSeptember 11, 2021 at 1:52 am in reply to: Changing the 'Elegant' font size in the Accordion Element #1320472Hi,
Thank you for the update.
We could try a more specific selector. Please try to replace the code with the following.
div .togglecontainer.accordion-font-size p.toggler { font-size: 30px; }You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the code.
Best regards,
IsmaelSeptember 10, 2021 at 4:08 pm in reply to: Fixing incorrect behaviour of masonry sorting function #1320428Hi!
We created a test page (see private field) and added the masonry element, but the sorting is still not working correctly. There are no errors or anything. Can we deactivate the plugins temporarily? Please create a site and database backup or generate a restore point, then we will check the page again.
Thank you for your patience.
Regards,
IsmaelSeptember 10, 2021 at 7:16 am in reply to: issue with moving from frontend back to dashboard – timing out #1320348Hi,
Yes, it seems to be loading much faster now (about 10 seconds) but only after the initial load when the resources had been cached or saved locally. On initial load, it still takes longer than 30 seconds because it has to load all scripts and stylesheets from the server. It might also be taking much longer due to my connection speed.
Screenshot: https://postimg.cc/SjdTLFPZ
Please make sure that browser caching is enabled on your end.
Best regards,
IsmaelSeptember 10, 2021 at 7:04 am in reply to: Secondary menue not showing current page that you are on #1320345Hi,
Thank you for the update.
The css code works fine our end. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code. Also, make sure to purge the cache and remove the browser history before checking the page.
Best regards,
Ismael -
AuthorPosts
