Forum Replies Created

Viewing 30 posts - 14,521 through 14,550 (of 66,033 total)
  • Author
    Posts
  • Hi,

    Thank you for that info.

    Do you see any errors in the browser console when you check the site on Safari? I asked the rest of the team to inspect the issue on Safari and hopefully they will find the problem and provide a working solution.

    Best regards,
    Ismael

    in reply to: Images Not Displaying on Translated Page #1276207

    Hi,

    Glad to know that it is working as expected now. Please feel free to open a new thread should you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Blog Masonry element show ACF custom post types #1276066

    Hey arapps,

    Thank you for the inquiry.

    You can override the element in your child theme by creating a new shortcode path. Please check the following documentation for more info.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb

    Best regards,
    Ismael

    in reply to: Slider scaling images #1276065

    Hey Gabster,

    Thank you for the inquiry.

    Try to edit the Easy Slider element and in the Styling > Slideshow Image Size settings, select the first option (No scaling, Original Width and Height) to display the original images or the actual size of the images.

    Best regards,
    Ismael

    in reply to: WooCommerce Redirection #1276059

    Hey riseadmin,

    Thank you for the inquiry.

    Did you figure out the issue? It now stays in the current page after adding a product to the cart, instead of redirecting to the cart page.

    Best regards,
    Ismael

    in reply to: Translate related products on product page #1276058

    Hey laboiteapixels12,

    Thank you for the inquiry.

    Which language would you like to translate it to? Instead of editing the file directly, try to use the Loco Translate plugin in order to translate that specific text to whichever language you want it translated.

    // https://wordpress.org/plugins/loco-translate/

    Best regards,
    Ismael

    in reply to: Widget left – Logo right – Menu below #1275998

    Hey ZikomoWebdesign,

    Thank you for the inquiry.

    Did you add the css code provided in the documentation? The css code should allow you to move the position of the elements or change their order within the header.

    // https://kriesi.at/documentation/enfold/example-of-widget-left-logo-right-menu-below/#toggle-id-2

    Best regards,
    Ismael

    in reply to: Would need a blog header including search function #1275997

    Hey Frank,

    Thank you for the inquiry.

    We can use the ava_after_main_container hook in the functions.php file to insert additional element above the content. Example:

    add_action("ava_after_main_container", function() {
        // insert search element here
    }, 10);
    

    You may also directly edit the header.php template to insert additional content below the header.

    Best regards,
    Ismael

    in reply to: color section does't scroll on mobile #1275994

    Hey Stilecatalini,

    Thank you for the inquiry.

    Are you referring to the parallax effect? This effect or option is actually disabled on mobile devices by default. Setting it to “fixed” instead of “parallax” might work, but this option is partially or not fully supported on iOS devices and Android browsers.

    // https://caniuse.com/background-attachment
    // https://stackoverflow.com/questions/21476380/background-size-on-ios

    Best regards,
    Ismael

    Hey jgooiker,

    I want: a full width responsible picture that shows the whole pic

    This may not be possible because different screens or devices have different aspect ratio and screen resolutions. What you can only do is to resize the image so that is has an aspect ratio and size that caters to most standard screen resolutions, but do not expect that the whole image will be visible in the section or slider area unless you want it to display distorted.

    This is the list of the most popular screen resolutions used to date.

    // https://gs.statcounter.com/screen-resolution-stats

    As you may noticed, most popular screen resolutions have an aspect ratio of 16:9, so resizing the image to have that same aspect ratio should work.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    We cannot find the recommended script in the document or page. Did you remove it? Please add the script again so that we could check if it is actually working or if there is any error. Please make sure to copy the code directly from the forum and not from your email.

    Best regards,
    Ismael

    in reply to: Portfolio Items Role Capabilities #1275967

    Hi,

    Thank you for the info.

    You should be able to use the avf_portfolio_cpt_args filter to adjust the existing parameters of the portfolio post type and define the capabilities. And as recommended in the article, you have to use a membership plugin such as the wordpress.org/extend/plugins/members to be able to assign custom capabilities to user roles.

    // https://memberpress.com/plugins/members/docs/

    Please be very careful when assigning capabilities to user roles.

    Best regards,
    Ismael

    in reply to: Enfold – Remove "portfolio-item" from the URL #1275954

    Hi,

    You have to add the pre_get_posts filter along with the previous code that we recommended and remove the slug and set the with_front parameter of the portfolio post type to false. The pre_get_posts function should alter the default query.

    This is the final code, which seems to be working properly when we tested it on our installation.

    
    /**
     * Remove the slug from published portfolio permalinks. Only affect our custom post type, though.
     */
    function avf_portfolio_cpt_args_mod($args) {
    	$args['rewrite']['slug'] = '/';
            $args['rewrite']['with_front'] = false;
    	return $args;
    }
    add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod', 10);
    
    function ava_remove_custom_slug( $post_link, $post, $leavename ) {
        if ( 'portfolio' != $post->post_type || 'publish' != $post->post_status ) {
            return $post_link;
        }
    
        $post_link = str_replace( '/' . $post->post_type . '/', '/', $post_link );
    
        return $post_link;
    }
    add_filter( 'post_type_link', 'ava_remove_custom_slug', 9999, 3 );
    
    /**
     * Have WordPress match postname to any of our public post types (post, page, portfolio).
     * All of our public post types can have /post-name/ as the slug, so they need to be unique across all posts.
     * By default, WordPress only accounts for posts and pages where the slug is /post-name/.
     *
     * @param $query The current query.
     */
    function ava_add_cpt_post_names_to_main_query( $query ) {
    
     // Bail if this is not the main query.
     if ( ! $query->is_main_query() ) {
     return;
     }
    
     // Bail if this query doesn't match our very specific rewrite rule.
     if ( ! isset( $query->query['page'] ) || 2 !== count( $query->query ) ) {
     return;
     }
    
     // Bail if we're not querying based on the post name.
     if ( empty( $query->query['name'] ) ) {
     return;
     }
    
     // Add CPT to the list of post types WP will include when it queries based on the post name.
     $query->set( 'post_type', array( 'post', 'page', 'portfolio' ) );
    }
    add_action( 'pre_get_posts', 'ava_add_cpt_post_names_to_main_query' );
    

    Please do not forget to flush or save the permalink settings.

    Best regards,
    Ismael

    Hi,

    – Yes, the script above still works when we tested it on our end — jQuery migrate plugin is enabled, so it might be a plugin issue, a cache or because of minified/compressed scripts.

    – Sorry for the confusion. I meant the upcoming versions of the theme, not the current latest version. Compatibility patches or updated functions for jQuery will be available in the next version of the theme.

    – Yes, that is possible but you have to deregister the default jQuery script and register it back with the path to the version that you prefer. The following code should do just that.

    
    function ava_modify_jquery_version() {
        if (!is_admin()) {
            wp_deregister_script('jquery');
            wp_register_script('jquery',
    'http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js', false, '2.0.s');
            wp_enqueue_script('jquery');
        }
    }
    add_action('init', 'ava_modify_jquery_version');
    

    Best regards,
    Ismael

    in reply to: How can I disable the scroll to top funcionality? #1275944

    Hi,


    @luhlacom
    : Have you tried using an absolute URL instead of a relative path in the menu item URL field? Or just place the anchor without the page path? If you are still encountering the issue after doing the recommendations, please create a new thread and post the site details in the private field.

    Best regards,
    Ismael

    in reply to: Avatars for bbpress #1275943

    Hi,

    Thank you for the update.

    Looks like the default avatar from Ultimate Member plugin is displaying as the profile picture instead of the actual gravatar. What happens when you disable the Ultimate Member plugin? You may need to wait for a bit after disabling the plugin before the changes will be reflected in the front end.

    Or try to toggle the Ultimate Member > settings > users > turn off gravatar option.

    Best regards,
    Ismael

    in reply to: Help with WP Popup. Trigger popup via ALB button click #1275939

    Hi,

    Thank you for the info.

    You just need to add the class name spu-open-1234 in the field without the class attribute or any tags. If you want to apply multiple class names, just separate them using a blank space.

    spu-open-1234 spu-open-4321
    

    Best regards,
    Ismael

    in reply to: Can't change visibility on pages #1275938

    Hi,


    @HuxburyQuinn
    : Thank you for the info. We cannot reproduce the issue on our end, so it is possible that it is caused by a plugin or a custom modification in the theme. Did you install a plugin that has an option where you can control the visibility or status of the pages or posts?

    // https://wordpress.org/plugins/block-visibility/

    Best regards,
    Ismael

    Hi,

    That is possible but you may need to alter the default query of the Masonry element and include the author parameters or arguments.

    // https://developer.wordpress.org/reference/classes/wp_query/#author-parameters

    To alter the query of the Masonry element, you could use the avia_masonry_entries_query filter. Usage examples can be found in the following thread.

    // https://kriesi.at/support/topic/display-pictures-by-number-order/#post-1221028
    // https://kriesi.at/support/topic/exclude-a-category-in-masonry-portfolio/#post-1268963
    // https://kriesi.at/support/topic/show-arrows-in-easy-slider-and-full-screen-slider-but-not-dot-things/#post-1149381

    Best regards,
    Ismael

    in reply to: Edit Image Height for full size layout #1275935

    Hi,

    Thank you for the info.

    We set the slide type to Responsive instead of Fullsize in the Slider Settings, and adjusted the canvas height so that it is almost the same as the background image. We also set the Slider Background Image > Size to cover.

    Best regards,
    Ismael

    in reply to: Youtube video in slider does not go to next slide #1275934

    Hi,

    Thank you for the info.

    The issue seems to also occur on IE browsers version 10 and older. Would you mind posting the FTP account so that we could edit the files and debug the issue? Please place the info in the private field.

    Best regards,
    Ismael

    in reply to: Bubble info content in Google Map #1275933

    Hi,

    Thank you for the update.

    Did you purge the cache after doing the modification? Please post the WP and FTP login details in the private field so that we could test it.

    Best regards,
    Ismael

    in reply to: Custom image size cropping #1275932

    Hi,

    You may need to disable the Responsive Images option if you want the images with different cropping position to actually display. For some reason, WP always selects the thumbnail with the default cropping position.

    And to adjust the compression level, please use this snippet in the functions.php file.

    
    // set the compression level of calculated images
    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) {
    	$quality = 65;   // compression level, default is 100
    	return $quality;
    }
    

    Best regards,
    Ismael

    in reply to: How to delete 'all' in sortable masonry portfolio #1275930

    Hi,

    Yes, that should be possible. We could check if the ID of a particular page exists in the class attribute of the body tag, and dispatch a click event to the appropriate category. The script may look something like this..

    add_action('wp_footer', 'ava_auto_click');
    function ava_auto_click(){
    ?>
    <script>
    (function($){	
    	$(document).ready(function() {
                 var body = $("body");
                 // checks if the body contains the class name page-id-734
                 if(body.is(".page-id-734")) {
                       $('.category_sort_button').trigger('click');
                 }
                 // checks if the body contains the class name page-id-721
                 if(body.is(".page-id-721")) {
                       $('.another_category_sort_button').trigger('click');
                 }
    	});	
    })(jQuery);
    </script>
    <?php
    }
    

    Best regards,
    Ismael

    in reply to: How to add a custom field to the blog posts #1275929

    Hi,

    Thank you for the update.

    You may need to replace all instances of $post->ID and $post_id with $the_id so..

    $outlet = get_post_meta($post->ID, 'outlet', true);
    

    .. should be.

    $outlet = get_post_meta($the_id, 'outlet', true);
    

    Best regards,
    Ismael

    in reply to: importing shop demo files or shop.xml #1275806

    Hey Yory,

    Thank you for the inquiry.

    Those pages are from the Enfold 2017 demo, so you have to import that demo in order to get those pages. The actual name of the demo file is enfold-2017.xml if you would like to import it manually as described in the documentation.

    You could also use the following shortcodes if you only need the elements in those pages.

    custom-shop: https://wtools.io/paste-code/b3uo

    The calligraphy-set product page is using the default product template or the default editor.

    Best regards,
    Ismael

    in reply to: Google Recapcha #1275770

    Hey maryenvato,

    Thank you for the inquiry.

    The spam protection or the Google ReCAPTCHA is not working automatically on page load because the privacy & cookie options are enabled, so users have to accept the privacy option first, enable or toggle the required cookies and refresh the page before the scripts for the spam protection will load.

    If you would like to enable it automatically on page load even with the privacy options enabled, you have to set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior to the first or second option.

    Best regards,
    Ismael

    in reply to: Activate ALB for all existing pages #1275768

    Hey Oversberg,

    Thank you for the inquiry.

    We provided a snippet in a previous thread that should allow you to change the status of the posts and activate ALB by default, but it is a bit partial and may require additional modifications.

    // https://kriesi.at/support/topic/adding-pages-using-the-wordpress-rest-api/#post-1032812

    IMPORTANT: Please do not forget to create a backup or a restore point before using the snippet just in case.

    Best regards,
    Ismael

    in reply to: Portfolio Items Role Capabilities #1275765

    Hey jberg1,

    Thank you for the inquiry.

    You may be able to use the get_role function to edit the capability of a certain user role.

    // https://codex.wordpress.org/Function_Reference/get_role

    You could also create a custom user role using the add_role function.

    // https://developer.wordpress.org/reference/functions/add_role/

    For a more detailed instruction on how to alter the capabilities of certain user roles, please check the following article.

    // https://3.7designs.co/blog/2014/08/restricting-access-to-custom-post-types-using-roles-in-wordpress/

    Best regards,
    Ismael

    in reply to: Image position for posts #1275762

    Hey kwanumzen,

    Thank you for the inquiry.

    The thumbnail used in the actual post page is called entry_with_sidebar and this thumbnail has a maximum size of 845x321px. To be able to adjust the size of the thumbnail in the Settings > Media panel, you have to install the following plugin, and regenerate the thumbnails.

    // https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Ismael

Viewing 30 posts - 14,521 through 14,550 (of 66,033 total)