Forum Replies Created

Viewing 30 posts - 11,941 through 11,970 (of 66,145 total)
  • Author
    Posts
  • in reply to: Set layout builder Template as default when creating new post #1322399

    Hi,

    It is possible but you will have to create your own routine using the aviaSaveBuilderTemplate class. Before post creation or on transition_post_status, you could trigger a function that retrieves a specific template and subsequently applies it to the newly created post. Unfortunately, this is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable.

    Best regards,
    Ismael

    in reply to: cloud widget links, logo mobile #1322398

    Hi,

    We modified the themes > enfold > includes > loop-index.php file via the Appearance > Editor panel and replaced line 143.

    //echo preview image
    if( strpos( $blog_style, 'big' ) !== false || strpos( $blog_style, 'custom' ) !== false ) 
    

    To increase the size of the logo on mobile, please add this code in the Quick CSS field.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .responsive .logo img {
        max-height: 150px;
      }
    
      .responsive #top .logo {
        height: 150px !important;
      }
    
      .responsive #top #header_main>.container .main_menu .av-main-nav>li>a,
      .responsive #top #wrap_all .av-logo-container {
        height: 150px;
        line-height: 150px;
      }
    
      .responsive #top #header .main_menu .social_bookmarks {
        display: block;
        position: relative;
        margin-top: 20px;
      }
    }
    
    

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Best regards,
    Ismael

    in reply to: show categories in blog grid #1322198

    Hi,

    Thank you for the clarification.

    We adjusted the filter in the functions.php file a bit and used the get_the_term_list function. You will now see a list of categories below the title. (see private field)

    /*add category titles*/
    add_filter("avf_post_slider_entry_excerpt", function($excerpt, $prepare_excerpt, $permalink, $entry) {	
    	$excerpt = get_the_term_list($entry->ID, "category", '', ', ') . "<br>" . $excerpt;
    	return $excerpt;
    }, 10, 4);
    
    

    Best regards,
    Ismael

    in reply to: Image resizes on lightbox preview image #1322196

    Hi,

    Thank you for the info.

    Looks like you are using a different slider in the portfolio preview and you have embedded it using a code block. Please check the screenshot below.

    Screenshot: https://imgur.com/sHo6DY2

    You may need to modify the embedded code manually to adjust the size of the slider images.

    Best regards,
    Ismael

    in reply to: Can't find Related Posts function anywhere #1322194

    Hi,

    Sorry about that. There was a minor error in the filter. We adjusted it now. Please try it again and let us know if it changes anything. We updated the following line.

    if (!is_singular("post")) return $content;
    

    Best regards,
    Ismael

    in reply to: add class to get_the_term_list #1322192

    Hi,

    Thank you for the info.

    We revert the modifications in the postslider.php file and added the adjusted filter in the functions.php file. We are now retrieving the “bladeprice” custom field instead of “price”. This is the updated filter.

    
    function avf_post_slider_entry_excerpt_mod($excerpt, $prepare_excerpt, $permalink, $entry) {
    	$post_id = $entry->ID;
    	$blade_price = get_post_meta($post_id, "bladeprice", true);
    
    	if ($blade_price && get_post_type($post_id) == "advertisements") {
    		$excerpt = "<span class='av-price'>USD ". $blade_price . "</span>
    " . $excerpt;
    	}
    
        return $excerpt;
    }
    add_filter("avf_post_slider_entry_excerpt", "avf_post_slider_entry_excerpt_mod", 10, 4);
    

    Screenshot: https://imgur.com/AQkLp3k

    Best regards,
    Ismael

    in reply to: cloud widget links, logo mobile #1322183

    Hi,

    Thank you for the update.

    The featured images of the posts are not displaying because the blog layout is set to “custom” or it is set to use the advance layout builder. You have to modify and replace the content of the includes > loop-index.php file with the following code to display the featured image back.

    // https://pastebin.com/HLKf7A1E

    Before doing the above modification, please upgrade the theme to version 4.8.6.3 first.

    Best regards,
    Ismael

    in reply to: show categories in blog grid #1322181

    Hi,

    Thank you for the info.

    The filter is working as it should. It displays the category title between the excerpt and the post title. Please check the category page below. (see private field)

    Best regards,
    Ismael

    in reply to: Mobile menu tablet transition #1322145

    Hi,

    Thank you for the update.

    Did you toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code? Please also make sure to purge the cache and remove the browser history, or try to check the site on incognito mode.

    Best regards,
    Ismael

    in reply to: Move Navigation Menu Item Clickable Area #1322144

    Hi,

    Thank you for the update.

    Looks like the main menu is covering that part of the logo. Try to use this css code to limit the height of the menu to 44px.

    .main_menu {
        height: 44px;
    }

    The main menu container is also covering the middle part of the logo, which is why it is not clickable. To fix it, add this script in the functions.php file.

    // open logo link
    function ava_custom_script_mod_click_logo()
    {
    ?>
    	<script>
    		(function($) {
    			$(".main_menu").on("click", function(e) {
    				if($(e.target).is(".avia-menu")) {
    					window.location.href = $(".logo a").attr("href");
    				}
    			});
    		})(jQuery);
    	</script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod_click_logo', 10000);
    

    Then use this css code to enable the pointer cursor in the middle part of the logo.

    .avia-menu {
        cursor: pointer;
    }

    Best regards,
    Ismael

    in reply to: Problem with VIDEO in Fullwidth easy slider #1322134

    Hi,

    Thank you for the update.

    You can still update the theme even without the support add-on. Just make sure that you have a valid Envato token, or that you still have access to the Envato account. Please check the following documentation to learn more on how to generate a token and how to update the theme properly.

    // https://kriesi.at/documentation/enfold/theme-registration/
    // https://kriesi.at/documentation/enfold/theme-update/

    You can also update the theme manually via FTP if the automatic update via the theme options is not available. Just check the documentation update for more info.

    Best regards,
    Ismael

    in reply to: Issue code block with the new Autopilot form code #1322132

    Hi,

    Aside from using shortcode, which is the best option you have in this case, you can also create a script that dynamically renders the Autopilot forms in a specific element in the page once the document loads. You will have to use jQuery or Javascript for this. You may need to use any of these functions.

    // https://api.jquery.com/appendto/
    // https://api.jquery.com/add/

    Please ask the plugin authors for additional assistance.

    Best regards,
    Ismael

    in reply to: Mobile menu header covering logo #1322129

    Hi,

    Thank you for the update.

    We adjusted the css code a bit to adjust the position of the cart icon and fix the mobile menu issue. We also adjusted the size of the logo so that it does not cover the whole header container.

    
    @media only screen and (max-width: 767px) {
      #header_main .inner-container {
        height: 160px;
        position: relative;
      }
    
      .responsive #top .logo {
        width: 100%;
        padding-bottom: 80px;
      }
    
      .responsive .logo img {
        margin: 0 auto;
        max-height: 100px !important;
      }
    
      .responsive.html_bottom_nav_header.html_cart_at_menu #top #wrap_all .main_menu {
        z-index: 102;
        top: 80px;
        right: auto;
        width: 100%;
      }
    
      .responsive #top .av-logo-container .avia-menu .menu li.av-burger-menu-main {
        height: 80px;
        left: 50%;
        transform: translateX(-50%);
        border-right: 0;
      }
    
      .responsive #top .av-logo-container .avia-menu .menu,
      .responsive #top .av-logo-container .avia-menu {
        width: 100%;
      }
    
      #top #wrap_all #header .av-small-burger-icon a {
        padding: 0;
        height: 80px !important;
        line-height: 80px !important;
      }
    
    .responsive #top #header_main #menu-item-shop .cart_dropdown_link {
        margin-top: -30px;
        margin-right: -30px;
    }
    }

    Again, please do not forget to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code. Let us know how it goes.

    Best regards,
    Ismael

    in reply to: Can't enable block editor #1322126

    Hi,

    Thank you for the info.

    This code in the functions.php file disables the block editor.

    // disable for posts
    add_filter('use_block_editor_for_post', '__return_false', 10);
    
    // disable for post types
    add_filter('use_block_editor_for_post_type', '__return_false', 10);
    

    We disabled the snippet temporarily. The block editor should display properly now.

    Best regards,
    Ismael

    in reply to: Custom font uploaded is not showing correctly #1322122

    Hi,

    Some fonts from external sources should work but the upload manager is quite strict about the file structure. Please make sure that you follow the structure described in the following documentation.

    // https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts

    If the structure is already correct but the font manager is still not accepting it, then you might have to select a different font, preferably from Google.

    Best regards,
    Ismael

    in reply to: [av_privacy_google_tracking] button not working #1322119

    Hi,

    No problem. Please feel free to open another thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: show categories in blog grid #1322114

    Hi,

    Thank you for the update.

    Do you see any errors after adding the code? Please post the login details in the private field so that we can check the modifications. Make sure that the Appearance > Editor panel is accessible so that we can edit the files directly from the dashboard.

    Best regards,
    Ismael

    in reply to: Schema Markup Errors when Turning Blog Post to ALB #1322113

    Hi,

    As we mentioned above, the default templates and the builder elements contain basic schema markup. If you add a special heading element for example, the theme will automatically add an itemprop attribute, which contains the value “headline”.

    
    <div style="padding-bottom:10px; " class="av-special-heading av-special-heading-h3    avia-builder-el-0  avia-builder-el-no-sibling  ">
    <h3 class="av-special-heading-tag " itemprop="headline">Hello</h3>
    <div class="special-heading-border">
    <div class="special-heading-inner-border"></div>
    </div>
    </div>
    

    The accordion element if used as FAQ element will contain the following schema structure.

    
    <div itemscope="itemscope" itemtype="https://schema.org/FAQPage" class="togglecontainer toggle_close_all avia-builder-el-0 el_before_av_heading avia-builder-el-first enable_toggles">
    <section class="av_toggle_section" itemscope="itemscope" itemprop="mainEntity" itemtype="https://schema.org/Question"></div>
    </section></div>
    

    Only basic structure is added because the theme is used for a wide variety of sites, which is why we cannot add complex schema structures that focused on specific niches (e.g recipes, books etc) or structures that can only cater specific sites. So if you need a more complex schema structure, you will have to use a third party plugin such as Yoast or Markup (JSON-LD), which creates json-ld schema structures automatically.

    // https://wordpress.org/plugins/wp-structuring-markup/

    Best regards,
    Ismael

    in reply to: Cookies doesn't work #1322109

    Hi,

    Thank you for the update.

    Is that the right option, that the analytics cookies work?

    Yes, that should be the correct option. The analytics script will be disabled by default and users will have to enable it manually using the toggles in the privacy popup window or within the privacy page, if enabled.

    Best regards,
    Ismael

    in reply to: Enfold and WooCommerce Multilingual (WPML) #1322108

    Hi,

    Thank you for the info.

    According to the following thread, the product price is not translatable. But you can set a different price per currency. Is that how the products are set up?

    // https://wpml.org/forums/topic/how-to-translate-product-price-using-woocommerce-multilingual/#post-982377

    For multi-currency support, please check this thread.

    // https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/

    Best regards,
    Ismael

    in reply to: add class to get_the_term_list #1322107

    Hi,

    Thank you for following up.

    You do not need the previous modification because we are now retrieving the price using a custom field. And ACF is not required for this either, the default custom field option should be enough.

    We may need to access the file server in order to check the shortcode template properly. Please post the WP and FTP info in the private field. A link to the actual page where you need this modification to display will also help.

    Best regards,
    Ismael

    in reply to: custom page template not using full width #1322105

    Hi,

    Thank you for the update.

    We modified the “test template” a bit and removed the “container” element, which limits the dimension of the slider to a certain width. The page or the slider is now full width.

    Best regards,
    Ismael

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

    Hi,

    Good to know that the css worked. Regarding the layer slider, we have not encountered that same issue before. Looks like the file is corrupted or incomplete. Are you sure that the theme files were completely updated? Please try to replace the file again. The latest version of the theme is 4.8.6.3.

    Best regards,
    Ismael

    Hi!

    Thank you for the update.

    You can add another button or link below the tab section which anchors to an element above the tab section, so that the user can go back immediately to the top without scrolling back up. An element with an anchor looks like this.

    <div id="tab-section-top"></div>
    

    You can also use the name attribute. You can then create a button that links to the anchor element.

    <a href="#tab-section-top">Go back to the top of the tab section</a>
    

    You can also use the button element in the builder.

    Best regards,
    Ismael

    in reply to: ACF Groups Showing In Masonry Element #1322097

    Hi,

    Great! Glad to know that it is working correctly now. Please let us know in a different thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Sticky post in blog grid #1322095

    Hi,

    No problem. Please let us know if the changes above worked or if you need any help. We will keep the thread open.

    Thank you for your patience.

    Best regards,
    Ismael

    Hey joerka27,

    Thank you for inquiry.

    We replied in the previous thread and provided a filter that will hopefully fix the issue that you are having with the shortcode. For the comments issue, try to add this filter in the functions.php file.

    add_filter("comments_open", function() {
       return true;
    }, 9999);
    

    And make sure that comments are enabled in the Settings > Discussion panel.

    Best regards,
    Ismael

    in reply to: Portfolio Einträge, Bilder proportional hochladen #1322023

    Hi,

    Thank you for the update.

    Do you see any errors after adding the filter? Did you copy the code from your email? Please try to copy it directly from the forum. Let us know if it helps.

    Best regards,
    Ismael

    in reply to: Mobile menu tablet transition #1322022

    Hey Stretchspot,

    Thank you for the inquiry.

    The mobile menu markup has changed in a bit in the later versions of the theme. You will have to adjust the css code a bit.

    @media only screen and (max-width: 1200px) {
      nav.main_menu li:not(.av-burger-menu-main, .av-active-burger-items) {
        display: none;
      }
    
      .av-burger-menu-main {
        display: block;
      }
    }
    

    This should adjust the breakpoint of the menu.

    Best regards,
    Ismael

    in reply to: Order in #1322020

    Hey Bases de datos de empresas,

    Good to know that you are liking the theme and thank you for the inquiry. Are you trying to adjust the order of the items in the magazine element? You can use the avf_magazine_entries_query to adjust the default query.

    /** adjust the magazine element query **/
    function avf_magazine_entries_query_mod($query, $params)
    {
        $query['order'] = 'DESC';
        $query['orderby'] = 'date';
        return $query;
    }
    add_filter('avf_magazine_entries_query','avf_magazine_entries_query_mod', 10, 2);
    

    But if you are just trying to adjust the date format, try to edit it in the Settings > General > Date Format option.

    Best regards,
    Ismael

Viewing 30 posts - 11,941 through 11,970 (of 66,145 total)