Forum Replies Created

Viewing 30 posts - 6,061 through 6,090 (of 34,721 total)
  • Author
    Posts
  • in reply to: how to adjust the excerpt length in ENFOLD #1415775

    Hi,
    Interesting, you were able to move the read-more button before the excerpt limiting function stripped it? I would have thought that the excerpt limiting function would have worked before the DOM so the jQuery would not find it.
    I’m glad this excerpt limiting function works on both types of excerpts, I didn’t know about your other point but I would still post it to the Github Feature Request because I think Yigit also works on these things.

    Best regards,
    Mike

    in reply to: Page navigation design advice #1415773

    Hi,
    All of the colors for the sidebar menu are set in the Enfold Theme Options ▸ General Styling ▸ Main Content here is a screenshot to show you.
    Enfold_Support_2867.jpeg
    But note that these colors affect multiple element on your site.
    If you want to add more content to your sidebar you would add more widgets.

    Best regards,
    Mike

    in reply to: WordPress Beitragsbild automatisch in Post anzeigen #1415738

    Hi,
    This looks like a new topic, please note that we ask that each thread is specific to a single topic, your original question for this thread was about how to display the featured image on a Advanced Layout Builder post without manually adding it.

    Your first two new questions seem to be about the display of a shortcode, I see both of these pages are a shortcode in a code block element.
    Please open a new thread and explain about the shortcode you are using, is it from a plugin? Thank you four your patience.

    Best regards,
    Mike

    in reply to: Wp Rocket broke my hamburger menu, tags and accordion #1415737

    Hi,
    Odd, the homepage uses the same classes as the other pages, I added a couple more

    .av-width-submenu 
    .sub-menu
    .av-burger-overlay-bg
    .inner-container
    #header_main

    and cleared your WP Rocket cache & cloudflare cache and checked on a incognito browser and it seems to be working.

    Best regards,
    Mike

    in reply to: Problem with partner/logo element #1415735

    Hi,
    I have checked your contacts page on the frontend and backend but I see no issues, try clearing your browser cache and checking again.

    Best regards,
    Mike

    in reply to: Producto slider lay out #1415734

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Change colour of social icons in footer. #1415731

    Hi,
    I see that you added your email address at Enfold Theme Options ▸ Social Profiles ▸ Your social profiles ▸ Special: Email Icon and when I tested the mail icon on the frontend it worked correctly by opening a new email message with your email address in the “to” line. I assume that the gmail address you added is your company email.
    A mailto link opens the users email client with a new message for the email address.
    What are you expecting?
    You could have the link direct to a contact form on your site if you wish, just replace the mailto link with a url to the page with the contact form.

    Best regards,
    Mike

    in reply to: how to adjust the excerpt length in ENFOLD #1415701

    Hi,
    Guenni007 your idea for the excerpts is good please submit this feature request to the Dev Team Github Feature Request for Günter to review, he set it up for a central place to review them and reply to the authors. Thank you.
    As for my filter, I found an old post by Ismael and it worked for both types of excerpts, Classic & manual excerpts, and with a little hammering I got it to show the read more also.

    Best regards,
    Mike

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Issue with Google reCaptcha while submitting form #1415669

    Hi,
    When I test after logging in it works correctly:
    Enfold_Support_2851.jpeg
    but when I am logged out I get a 500 server error on admin-ajax.php
    Try checking your server error log for clues to the error.

    Best regards,
    Mike

    Hi,
    Glad to hear that Yigit was able to help, it would be difficult to say why this is so, certainly there must be something different between the sites.
    Nonetheless shall we close this thread then?

    Best regards,
    Mike

    in reply to: Sort articles with ACF field #1415667

    Hi,
    The post nav doesn’t have a query, WordPress sets the order for the loop, try using the Post Types Order plugin it was recommend in this article as best for Custom Post Types.

    Best regards,
    Mike

    in reply to: Filter search by category using ALB aearch form #1415666

    Hi,
    Thank you for your patience, Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    if ( ! function_exists( 'bb_filter_search_results' ) )
    {
    	add_action( 'pre_get_posts', 'bb_filter_search_results' );
    	function bb_filter_search_results( $query )
    	{
    		
    		if ( ! $query->is_admin && $query->is_search )
    		{
    			$query->set( 'post_type', array( 'post', 'portfolio', 'page' ) );
    			$query->set( 'cat', array(43,44) );
    		}
    		
    		return $query;
    	}
    }
    
    if ( ! function_exists( 'bb_filter_ajax_search_results' ) )
    {
    	add_filter('avf_ajax_search_query', 'bb_filter_ajax_search_results', 10, 1);
    	function bb_filter_ajax_search_results( $search_parameters )
    	{
    		
    		$defaults = array('numberposts' => 5, 'post_type' => array( 'post', 'portfolio', 'page' ), 'cat' => array(43,44), 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false);
    		$_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']);
    		$search_parameters = array_merge( $defaults, $_REQUEST );
    		return $search_parameters;
    	}
    	
    }

    it will limit the search to an array of categories, in the code look for ‘cat’ => array(43,44) and change the numbers to your categories.
    Please note there are two places to make this change.
    I tested this with the search element filter Post Types set to All, and with the filter set to Posts
    Enfold_Support_2860.jpeg
    and it only gave me results from the two categories in the code.

    Best regards,
    Mike

    Hey Saccollc,
    Thanks for your patience, when I check your slider it looks like the min height is set to 56px, please double check. If the backend shows 200px please include an admin login in the Private Content area so we can investigate.
    I checked the fullwidth easy slider in my demo and it respects the min height set in the slider options.
    Are these the images you are having trouble with:
    Enfold_Support_2857.jpeg
    I see they are PNG but I don’t see a background color, I assume that you have already solved this.

    Best regards,
    Mike

    in reply to: Move Mobile Menu to the top #1415664

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Move Mobile Menu to the top #1415661

    Hi,
    Glad this helped, the current top padding is 82px so if you want to add 10px try adding it like this:

    #top #header_main #av-burger-menu-ul {
        vertical-align: top;
        padding: 92px 0px !important;
    }

    adjust to suit.

    Best regards,
    Mike

    in reply to: Fixed header unpredictable scroll to anchor tag #1415660

    Hi,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_anchor_offset_with_slow_scroll() { ?>
      <script>
    (function($) {
      $('a[href*=#]:not([href=#])').click(function() {
      	var width = $(window).width()
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
          	if ($(window).width() < 768) {
            $('html,body').animate({
              scrollTop: target.offset().top - 80 //offsets for fixed header
            }, 1000);
            return false;
          } else {
          	$('html,body').animate({
              scrollTop: target.offset().top - 80 //offsets for fixed header
            }, 1000);
            return false;
          }
          } 
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
          var target = $('#'+location.href.split("#")[1]);
          if (target.length) {
          	if ($(window).width() < 768) {
            $('html,body').animate({
              scrollTop: target.offset().top - 80 //offset height of header here too.
            }, 1000);
            return false;
          } else {
          	$('html,body').animate({
              scrollTop: target.offset().top - 80 //offset height of header here too.
            }, 1000);
            return false;
          }
          } 
        }
    }(jQuery));
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_anchor_offset_with_slow_scroll');

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Move Mobile Menu to the top #1415658

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top #header_main #av-burger-menu-ul {
        vertical-align: top;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Logo Font Color #1415657

    Hey steveorrmedia,
    Try going to Enfold Theme Options ▸ General Styling ▸ Logo Area ▸ Logo Area Font Color
    Enfold_Support_2855.jpeg
    If this doesn’t help please include the url to the page in question so we can take a closer look.

    Best regards,
    Mike

    Hi,
    Thanks for your patience and the link to your site, I see that the tag portrait is correct on the German translation: tag-portrait
    But in the English translation it has been changed to tag-portrait-en
    Perhaps in your plugin there is a way to remove the added -en but I don’t have experience with it.
    I looked at your tags and tried to remove it, but couldn’t because your German language is already using portrait and two tags can’t be the same
    Enfold_Support_2853.jpeg

    Best regards,
    Mike

    Hi,
    Thanks for your patience and the link to your site, I couldn’t see a cause for this issue on your site and couldn’t reproduce it on my site with my own test posts, so I export your posts to my test site and copied your test page to my site and all of the elements show posts.
    I have linked to my test page below.
    So I don’t know if your issue is due to a plugin or a customization, try switching to your parent theme and disable all of your plugins and see if the posts then show.

    Best regards,
    Mike

    in reply to: Problem with partner/logo element #1415649

    Hi,
    Thanks for the login but it doesn’t seem to be an admin login as I can’t see any theme setting or WordPress settings, please update to a admin login.
    Have you tried disabling your plugins or switching to the parent theme to see if the partner logo then works correctly?

    Best regards,
    Mike

    in reply to: Sort articles with ACF field #1415648

    Hey Pierre-Marie,
    Thank you for your patience, but unfortunately we are not experienced with ACF.
    I found this thread at stackexchange.com that may help you, but sense we don’t work with ACF I don’t have a way to test it. I recommend asking ACF support to assist you or hire a freelancer to assist.
    We are limited in supporting third-party plugins, thank you for your understanding.

    Best regards,
    Mike

    in reply to: how to adjust the excerpt length in ENFOLD #1415647

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Massive gap above Grid Row in Parallax template #1415646

    Hi,
    I have added the IP to my host file but I can’t load your site, I get this error: Error establishing a database connection
    I also get an error that your site uses an unsupported protocol ERR_SSL_VERSION_OR_CIPHER_MISMATCH
    Please try to resolve this so we can examine the elements, I can’t offer a solution based on a screenshot.
    You could also try Enabling the Avia Layout Builder Debugger and copy the page to another install on a test site so we can see the page with the issue.

    Best regards,
    Mike

    in reply to: Wie kann ich die Blog Standard-Headline ändern #1415644

    Hey fw100,
    “Blog-Breaking News” is not a default header, please link to your page so we can see if you are refuring to the page Title or the breadcrumbs.
    If it is one of these there is not a place that you can edit the HTML, and that would not be a good idea as you would lose your customization with each update.
    Please link you your page and tell us what you want to change it to so we can help.

    Best regards,
    Mike

    in reply to: how to adjust the excerpt length in ENFOLD #1415643

    Hi,
    The original function Yigit posted works correctly for classic editor posts:

    add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1);
    function avia_change_postgrid_excerpt_length($length)
    {
       $length = 100;
       return $length;
    }
    

    Enfold_Support_2845.jpeg
    But since this doesn’t seem to be working for you I assume that you have created the posts with the Advanced Layout Builder (ALB) and have manually added the excerpts:
    Enfold_Support_2847.jpeg
    In this case try this function:

    add_filter('avf_post_slider_entry_excerpt', 'avf_post_slider_entry_excerpt_mod', 10, 4);
    function avf_post_slider_entry_excerpt_mod($excp, $prep, $perm, $entry) {
    	$the_id = $entry->ID;
    	$permalink = '<div class="read-more-link"><a href="' . get_permalink( $the_id ) . '" class="more-link">' . __( 'Read more', 'avia_framework' ) . '<span class="more-link-arrow"></span></a></div>';
    	$excp = substr($excp, 0, 100).'...'.$permalink;
    	return $excp;
    }

    Enfold_Support_2849.jpeg

    Best regards,
    Mike

    in reply to: WordPress Beitragsbild automatisch in Post anzeigen #1415642

    Hi,
    To display the featured image for a Advanced Layout Builder post, add the image to the Featured Image in the WordPress editor sidebar, in the Classic Editor it looks like this:
    Enfold_Support_2836.jpeg
    In the Block Editor it looks like this:
    Enfold_Support_2838.jpeg
    and then you can use Guenni007’s shortcode [thumbnail] in a code block element on the page where you want the featured image to show after adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function thumbnail_in_content($atts) {
        global $post;
        return get_the_post_thumbnail($post->ID);
    }
    add_shortcode('thumbnail', 'thumbnail_in_content');

    Enfold_Support_2840.jpeg
    Enfold_Support_2843.jpeg
    This is the thread the Guenni007 shaired the function in.
    Thanks Guenni007

    Best regards,
    Mike

Viewing 30 posts - 6,061 through 6,090 (of 34,721 total)