Forum Replies Created

Viewing 30 posts - 13,381 through 13,410 (of 67,414 total)
  • Author
    Posts
  • 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

    Hi,

    Thank you for the update.

    It is working correctly on our end. Please make sure to purge the cache before checking the page. Or post the login details in the private field so that we could test it.

    Best regards,
    Ismael

    in reply to: Contact form – responder email – line break #1320342

    Hi,

    I see. Try to modify the enfold/framework/php/class-form-generator.php file, look for this code around line 1339 and remove the nl2br functions wrapping the autoresponder message.

    	$mess  = nl2br( $this->form_params['autoresponder'] );
    					$mess .= '
    
    <strong>' . __( 'Your Message:','avia_framework' ) . ' </strong>
    
    ';
    					$mess .= $message;
    
    					if( ! empty( $this->form_params['autoresponder_after'] ) )
    					{
    						$mess .= '
    ';
    						$mess .= nl2br( $this->form_params['autoresponder_after'] ) . '
    
    ';
    					}
    

    The function nl2br automatically create br tags after any new lines, so removing it should help.

    Best regards,
    Ismael

    in reply to: menu center #1320337

    Hi,

    Sorry about that. Try to replace the css code with the following, so that the changes will only apply on desktop view.

    @media only screen and (min-width: 989px) {
    .html_header_top.html_main_nav_header #top .av_menu_left .main_menu {
        width: 100%;
    }
    
    .html_header_top.html_main_nav_header #top .av_menu_left .main_menu .av-main-nav-wrap {
        left: 50%;
        transform: translateX(-50%);
    }
    }
    

    Best regards,
    Ismael

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

    Hi,

    Thank you for the info.

    According to the error in the screenshot, the avf_add_search function is already declared or has been duplicated. You have to remove the previous avf_add_search function from the functions.php file.

    Best regards,
    Ismael

    in reply to: Blog Posts and Header Problem from 4.8.4 onwards #1320334

    Hi,

    In the phone info field, the span tag has been replaced with div, so this css rule no longer applies.

    .phone-info span {
        display: inline-block;
        line-height: 1em;
        width: 100%;
        text-align: center !important;
        margin-top: 9px;
    }
    

    This is the original markup in the phone field.

    <span>
    <div style="display:flex;">
    <div style="width:80%;height:40px;border-right:2px solid white;margin-top:-15px;background:#e8e8e8;margin-left:-6px; color:#777"></div>
    <div style="width:20%;min-width:200px;height:40px;background:#d80019;text-align:center;color:white;margin-top:-15px;padding-top:14px;margin-right:-80px;"> <a style="color:white;text-decoration:none;font-size:14px;font-family:inherit;" href="https://www.shop.aktiv-apotheken.de/" target="_blank">zum Apotheken-Shop</a> <span class="avia_button_icon avia_button_icon_right" style="display:inline; margin-left:0.5em;" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"> </span></div>
    </div>
    </span>
    

    And in the staging site.

    
    <div>
    <div style="display:flex;">
    <div style="width:80%;height:40px;border-right:2px solid white;margin-top:-15px;background:#e8e8e8;margin-left:-6px; color:#777"></div>
    <div style="width:20%;min-width:200px;height:40px;background:#d80019;text-align:center;color:white;margin-top:-15px;padding-top:14px;margin-right:-80px;"> <a style="color:white;text-decoration:none;font-size:14px;font-family:inherit;" href="https://www.shop.aktiv-apotheken.de/" target="_blank">zum Apotheken-Shop</a> <span class="avia_button_icon avia_button_icon_right" style="display:inline; margin-left:0.5em;" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"> </span></div>
    </div>
    </div>
    

    Best regards,
    Ismael

    in reply to: Layer Slider multisite problem #1320333

    Hi,

    Thank you for the update.

    You have to revert the Enfold > Layout Builder > Integrated (Bundled) LayerSlider Plugin settings to the first option, then restore the config-layerslider folder. You should have access to the layer slider and the previous slides (if they are still available or if you did not select the 4th option) again after that.

    Best regards,
    Ismael

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

    Hey Rustum,

    Thank you for the inquiry.

    Did you use the filter from the following documentation?

    // https://kriesi.at/documentation/enfold/search/#use-relevanssi-in-search-instead-of-the-default-search

    This should return the Relevanssi function instead of the default get_posts function, which is limited to default posts and custom post types.

    Best regards,
    Ismael

    in reply to: masonry gallery sort option #1320330

    Hi,

    Thank you for the update.

    Looks like the order parameter does not affect the sorting when post__in parameter is defined. Please try to reverse the order of the IDs in post__in array instead.

    add_filter("avia_masonry_entries_query", function($query) {
        $query["post__in"] = array_reverse($query["post__in"]);
        return $query;
    }, 10, 1);
    

    Best regards,
    Ismael

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

    Hi,

    Did you apply a custom css class name (av-custom-column-order) to the color section containing the columns as described in the following thread?

    // https://kriesi.at/support/topic/mobile-device-display-order/#post-1307911

    The custom css class name field is located in the element’s Advanced > Developer Settings panel.

    The automatic updater will no longer work in the current version of the theme (4.5.7), so you will have to update the theme manually via FTP.

    // https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp

    The current token that you have in the theme options is also invalid. Please make sure that it has the correct permissions as described in the following documentation.

    // https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token

    Best regards,
    Ismael

    in reply to: pagination in tabs section #1320321

    Hey SurigliaStudio,

    Thank you for the inquiry.

    That is not possible without significant modification in the theme, unfortunately. Once you go to the next or previous page using the pagination, the page will refresh and the query will also adjust. All posts element in that page will use the current paged or page parameter, meaning that if you go to page 2, all posts element will have to retrieve posts from page 2. If there are no more posts to retrieve, nothing will display. This is how the default pagination works in WordPress, which is why it is not recommended to add multiple elements with pagination in the same page.

    Best regards,
    Ismael

    Hey Shinpei,

    Thank you for the inquiry.

    The theme options are saved in the entry with the name avia_options_enfold or the avia_options_enfold_child (if child theme is activated) within the _options table. Did you check for these entries in the new database?

    Do you activate the theme after migrating the database? Doing this might reset the theme options. Make sure that the theme is already activated before importing the database.

    Best regards,
    Ismael

Viewing 30 posts - 13,381 through 13,410 (of 67,414 total)