Forum Replies Created

Viewing 30 posts - 12,691 through 12,720 (of 66,745 total)
  • Author
    Posts
  • 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,
    Ismael

    in reply to: Multiple Captions on a 1 minute video slide #1320704

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

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

    in reply to: No audio in my full screen video all of a sudden #1320645

    Hi,

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

    in reply to: add class to get_the_term_list #1320641

    Hi,

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

    in reply to: masonry gallery sort option #1320640

    Hi,

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

    in reply to: Load more button in media overview #1320638

    Hi,

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

    in reply to: Sticky post in blog grid #1320637

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

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

    in reply to: exclude images from srcset responsive react. #1320615

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

    in reply to: theme reacts weird and brake the site #1320614

    Hi,

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

    in reply to: Recaptcha issue again again #1320613

    Hi,

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

    in reply to: Copyright option for images including HTML #1320612

    Hi,

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

    in reply to: Sticky posts magazine #1320611

    Hi,

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

    in reply to: add class to get_the_term_list #1320610

    Hi,

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

    in reply to: Changing the 'Elegant' font size in the Accordion Element #1320608

    Hi,

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

    in reply to: masonry gallery sort option #1320607

    Hi,

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

    in reply to: Tag on portfolio pages #1320605

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

    in reply to: Edit default Ajax search for Taxonomy Terms #1320604

    Hi,

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

    in reply to: Ajax search results URL no longer translated #1320603

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

    in reply to: ENFOLD Menu disapeared in WordPress backend #1320602

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

    in reply to: Layer Slider multisite problem #1320477

    Hi,

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

    in reply to: Logo and menu in left Side bar / Titles not showing on pages #1320476

    Hi,

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

    in reply to: Image/text format on mobile #1320475

    Hi,

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

    in reply to: Search box in overlay Search box #1320474

    Hi,

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

    in reply to: Copyright option for images including HTML #1320473

    Hi,

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

    in reply to: Changing the 'Elegant' font size in the Accordion Element #1320472

    Hi,

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

    in reply to: Fixing incorrect behaviour of masonry sorting function #1320428

    Hi!

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

    Hi,

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

    in reply to: Secondary menue not showing current page that you are on #1320345

    Hi,

    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

Viewing 30 posts - 12,691 through 12,720 (of 66,745 total)