Viewing 30 results - 181 through 210 (of 10,078 total)
  • Author
    Search Results
  • #1468243

    Hey halkmarine,

    Thank you for the inquiry.

    Please edit the product category, remove the thumbnail, then set the Enfold Category Styling to Default. Let us know of the result.

    Best regards,
    Ismael

    #1468242

    Hey Martin,

    Thank you for the inquiry.

    How did you set the “automatic cropping”? Have you tried setting the Appearance > Customize > Woocommerce > Product Images > Thumbnail cropping to 1:1 or to a Custom aspect ratio?

    Best regards,
    Ismael

    #1468234
    halkmarine
    Participant

    How do I hide the banner image from the product category and subcategory pages?

    The thumbnail scales and displays poorly as a banner, and I don’t want it anyway. I want it to simply show the category page and subcategory tiles just like it shows category tiles on the main page. I have selected the option to show no banner on the main shop page, but this setting doesn’t pass down into categories and subcategories.

    #1467922

    In reply to: Product Photos

    The part that shows the photo thumbnails below the main image? Is this not an enfold thing? I have around 8 photos on each product and was hoping to show all the thumbnails below the main.

    #1467703

    Hi,

    Thank you for the info.

    Try to remove this line in the remove_enfold_image_sizes function above.

    remove_image_size('portfolio');
    

    The post slider or the blog grid layout uses the “portfolio” thumbnail by default.

    Best regards,
    Ismael

    #1467648

    No, I am trying to sort on their publication date (which is each case I have manually set to the title date).

    There are lots of plugins that offer to do this, e.g.

    But they don’t work for me so I can only guess that is because of way I am putting out the thumbnails for Enfold?

    Thanks

    #1467628

    Hi,

    I noticed that I had issues with posts featured image on post silder

    It should automatically fallback to the original image when the required thumbnail is not available. Where can we see the issue?

    Best regards,
    Ismael

    #1467524

    Thanks.

    It is this page: https://guardingtheguards.com/category/journals/constabulary-gazette/

    In my functions I have this code putting it out.
    add_filter(“avf_post_slider_args”, function($atts, $context) {
    if ($context == “archive”) {
    $atts[‘type’] = ‘grid’;
    $atts[‘columns’] = 5;
    $atts[‘preview_mode’] = ‘custom’;
    $atts[‘image_size’] = ‘thumbnail’;
    }
    return $atts;
    }, 10, 2);

    When I added the code you gave me here to functions, it did nothing. No error, but no change.

    When I change to ASC the order does change but it makes no sense, it sort of seem to randomise the order.

    I note I am trying to order by post date and my post dates start in the 1970s and got up to the present.

    Thanks

    Lucy

    #1467491

    Hi,

    Thank you for the update.

    how can I tell which duplicates should not be removed as they are needed to properly serve content to all devices?

    WordPress or the theme will automatically fallback to the original image when the required thumbnail is not available. As mentioned above, all those thumbnails are used for different elements or templates in the theme.

    Is this good practice for the theme to create duplicates of an original image

    The duplication or thumbnail generation process is not done by the theme, but by WordPress itself. If you need to decrease the overall size and quality of the image, you can use this filter in the functions.php file:

    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 = 55; return $quality;}
    

    This filter will set the compression quality from 100% to 55%.

    I will also need to remove the duplicates from the server to clear space. I see this option is available only at the premium versions of some plugins.

    You may need to manually delete the images and re-upload them again if you want to also clear the related database entries.

    Best regards,
    Ismael

    #1467434

    Hi,

    Thank you for the inquiry.

    It’s normal for WordPress and themes to generate different sizes or thumbnails for images. This helps avoid using the original or larger image when it’s not necessary. Each thumbnail is used based on the element or template where it needs to be displayed. If you want to prevent the theme from generating these thumbnails, you can add the following filter to your functions.php file:

    // Disable loads of Enfold & WP image sizes upon upload
    add_action('init', 'remove_enfold_image_sizes');
    function remove_enfold_image_sizes() {
    // do NOT remove widget size, is used in backend portfolio items!
    // remove_image_size('widget');
      remove_image_size('square');
      remove_image_size('featured');
      remove_image_size('featured_large');
      remove_image_size('portfolio');
      remove_image_size('portfolio_small');
      remove_image_size('gallery');
      remove_image_size('magazine');
      remove_image_size('masonry');
      remove_image_size('entry_without_sidebar');
      remove_image_size('entry_with_sidebar');
      remove_image_size('shop_thumbnail');
      remove_image_size('shop_catalog');
      remove_image_size('shop_single'); 
      remove_image_size('shop_gallery_thumbnail');
    }

    Related thread: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/

    Best regards,
    Ismael

    #1467361
    lucybb2
    Participant

    Hi,
    I would like to sort my custom posts oldest to newest.
    I have tried various plugins that promise to let you choose to sort categories ascending versus descending but none seen to work.
    I wonder if this is because of the way I am putting out my thumbnails with this custom code:

    Is there a way I can switch to oldest to newest sort order?
    Thanks

    #1467149

    I have installed a child theme after all, because it was super easy to do, and imported the parent settings. Everything works great. But… the php code still doesn’t work in functions.php in the child theme.

    I first tried the code from the Enfold documentation page:

    function remove_title_attr(){
    ?>
     <script>
    jQuery(window).on('load', function(){
    jQuery('#wrap_all a').removeAttr('title');
    jQuery('#wrap_all img').removeAttr('title');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'remove_title_attr');

    That had no effect. Then I tried the modified code found on this forum page: https://kriesi.at/support/topic/hide-titles-and-descriptions-when-you-hover-on-images-or-thumbnails-of-galleries/#post-981936

    function remove_title_attr(){
    ?>
    <script>
    jQuery(window).load(function(){
      jQuery('#wrap_all img.avia_image, #wrap_all .avia-gallery-thumb img, #wrap_all .avia-gallery-thumb a').removeAttr('title');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_title_attr');

    That didn’t work either. The tooltip still shows up when hovering an image. Hope you can help.

    • This reply was modified 1 year, 3 months ago by paulw185.
    • This reply was modified 1 year, 3 months ago by paulw185.
    #1467122
    paulw185
    Participant

    I’ve tried many suggestions on this forum to disable the tooltip with the image title, when hovering over an image. A.o. in these topics:

    https://kriesi.at/support/topic/hide-titles-and-descriptions-when-you-hover-on-images-or-thumbnails-of-galleries/
    https://kriesi.at/support/topic/remove-tooltip-display-of-image-captions/

    But I can’t make it work, or I’m doing it wrong. Need some help. Btw I don’t use a child theme.
    My website: https://wta.nl/
    Portfolio page (with more images): https://wta.nl/portfolio/

    • This topic was modified 1 year, 3 months ago by paulw185.
    • This topic was modified 1 year, 3 months ago by paulw185.
    #1467054

    Hi,

    Thank you for the update.

    Try to add this filter in the functions.php file to change the thumbnail size in the single product page:

    function avf_single_product_thumbnail_size( $size ) {
        return 'full'; 
    }
    add_filter( 'single_product_small_thumbnail_size', 'avf_single_product_thumbnail_size' );
    

    Best regards,
    Ismael

    #1465639

    Hey laptophobo,

    Thank you for the inquiry.

    Have you tried using the Image element’s Custom Field Image option? You can use the {wp_custom_field:_thumbnail_id} placeholder to automatically fetch the ID of the featured image. Please check the link below:

    // https://kriesi.at/documentation/enfold/custom-layout-and-dynamic-content/

    Best regards,
    Ismael

    #1465632

    Hey cuccarini,

    Thank you for the inquiry.

    Unfortunately, your only option in this case is to make sure to upload images that have the same size and aspect ratio. As you observed, if you choose to select a specific thumbnail, some of the images will get cropped and may not display in full. You can also try the Masonry element but it may not work as you expect.

    Best regards,
    Ismael

    #1464575

    Hi,

    Thank you for the update.

    It turns out that the theme sets a default thumbnail size called “shop_catalog” for the product grid. To adjust this, we added the following filter to the functions.php file:

    function avf_mod_wc_before_shop_loop_item_title_img_size( $size ) {
        return 'full';
    }
    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_mod_wc_before_shop_loop_item_title_img_size' );
    

    Best regards,
    Ismael

    #1464535

    Thank you Ismael, I appologize regarding access issue. It’s already fixed.

    So, do I have to choose “uncropped” option on Woocommerce media settings and then regenerate thumbnails? Is this a reasonable first step? Let me try.

    Anyway, please take a look to private message I’m leaving to you.

    Regards.

    #1464507

    Hi,

    Thank you for the update.

    We can’t access the new site, which may be due to the security plugin:

    Your access to this site has been limited by the site owner
    Your access to this service has been limited. (HTTP response code 503)
    If you think you have been blocked in error, contact the owner of this site for assistance.

    Have you tried regenerating the thumbnails? Please make sure to create a restore point before doing so.

    // https://wordpress.org/plugins/regenerate-thumbnails-advanced/
    // https://wordpress.org/plugins/force-regenerate-thumbnails/

    Best regards,
    Ismael

    #1464496

    By the way, “Uncropped” and “Custom” options under Appearance > Customize > WooCommerce > Product Images
    – Settings > Media “Thumbnail cropping” don’t work.

    I leave login information through private content.

    Regards.

    #1464221
    This reply has been marked as private.
    #1463992

    Hey amyncuih,

    Thank you for the inquiry.

    The dynamic_avia folder contains most of the files that are generated on-the-fly when you update posts, change the style options, or download video thumbnails, etc. If you want to decrease the number of files in the folder, you can start by enabling the Enfold > Performance > Delete Old CSS and JS Files? option. This option is located at the very bottom of the panel. You can also disable the generation of the posts css file by adding this filter in the functions.php file:

    function avf_mod_post_css_create_file( $create ){
      return false;
    }
    add_filter( 'avf_post_css_create_file', 'avf_mod_post_css_create_file', 10, 1 );
    

    Another approach is to manually delete old or orphaned stylesheets and script files in the folder. These files are prefixed with names such as avia-footer-scripts, avia-gutenberg-dynamic-enfold, and avia-merged-styles. However, be sure to create a site backup before proceeding.

    Best regards,
    Ismael

    #1463913

    In reply to: New Installation

    Hey ampersart,

    Thank you for the inquiry.

    1.) To display a grid layout on the category or archive pages, set the Enfold > Blog Layout > Blog Layout settings to Grid Layout. By default, this setting displays 3 columns, but you can add the following filter to the functions.php file to reduce it to 2 columns.

    add_filter("avf_post_slider_args", function($atts, $context) {
        if ($context == "archive") {
            $atts['type'] = 'grid'; 
            $atts['columns'] = 2;
        }
        return $atts;
    }, 10, 2);
    

    2.) You can set the Styling > Appearance > Preview Image Size settings to the second option to choose a different thumbnail size.

    3.) The site is currently in maintenance mode, so we are unable to check the LayerSlider.

    4.)The theme should be responsive by default. Just make sure that the Enfold > General Layout > Dimensions > Responsive Layout option is enabled.

    In the future, we recommend opening a separate thread for each question or request, rather than grouping all questions in a single thread. This approach will make it easier for us to manage and will allow us to provide more immediate responses.

    Best regards,
    Ismael

    #1463397

    In reply to: Blog Thumbnail Size

    Hey lucybb2,

    Thank you for the inquiry.

    Looks like you’re trying to adjust the size of the thumbnails on the archive or category pages. This cannot be adjusted in the Settings > Media panel. You have to edit the archive.php file directly or use this filter in the functions.php file:

    add_filter("avf_post_slider_args", function($atts, $context) {
      if( $context == "archive" ) {
        $atts['type']  = 'grid'; 
        $atts['columns']  = 4;
        $atts['preview_mode'] = 'custom';
        $atts['image_size'] = 'medium';
      }
      return $atts;
    }, 10, 2);

    The filter above will set the image size to Medium. Also, when you change the size of the thumbnails, you need to either upload the images again or regenerate the thumbnails.

    // https://wordpress.org/plugins/regenerate-thumbnails-advanced/
    // https://wordpress.org/plugins/force-regenerate-thumbnails/

    Best regards,
    Ismael

    #1463329

    Topic: Blog Thumbnail Size

    in forum Enfold
    lucybb2
    Participant

    Hi,
    I have my blog thumbnail size set as 200 pixels width x 300 pixels height in WordPress > Settings > Media Settings.
    However I cannot for the life of me manage to get my website to display this size thumbnails for blog posts. Instead it is displaying either much smaller or much larger thumbnails. See https://guardingtheguards.com/category/library/garda-review/

    I have also tried editing my blog page to show 5 across and the correct thumbnail size here:
    Screenshot-2024-07-30-130728
    This is also having no impact.

    I would appreciate any help as to how I can get my website to display thumbnails of 200×300.

    Many thanks

    • This topic was modified 1 year, 4 months ago by lucybb2.
    • This topic was modified 1 year, 4 months ago by lucybb2.
    #1463198

    Hey Richard,

    Thank you for the inquiry.

    You need to ensure that the uploaded images have the same sizes and that the aspect ratio matches your preference. Also, when you change the size of the thumbnails in the Settings > Media panel, you must regenerate the thumbnails or upload the images again. Adjusting the image size will not automatically regenerate new thumbnails for the existing images. You can use the following plugin to regenerate the thumbnails.

    // https://wordpress.org/plugins/regenerate-thumbnails-advanced/
    // https://wordpress.org/plugins/force-regenerate-thumbnails/

    Best regards,
    Ismael

    ifranl
    Participant

    Hi Enfold!

    I’m really excited about the new feature for using ALB and templates for Custom Post Types / dynamic content! It’s great that you’ve made this possible!

    First question:
    I’m now trying to apply it to our website. I can get the content from the Title and custom fields to display, but not the featured image ({wp_custom_field:_thumbnail_id}) or an image that has been set via a custom upload field in the post ({acf_field_66a25d0c4bbd2:smbk-foto}).

    I don’t see any picture: https://ikwilopvallen.nl/smoelenboek/rene-nederhof/

    What am I doing wrong?

    Second question:
    In your video, I see that for the page overview ‘Books’, the posts are added manually in a standard element (https://ikwilopvallen.nl/activiteiten/). Is it not possible to create a custom template for the Custom Posts as well, and then load it onto that page via the ‘Custom Layout’ element on the ‘books’ page, so that ALL CUSTOM POSTS are automatically displayed there?

    Thanks in advance,
    Ita

    #1462714

    Hey bemodesign,
    The white lines on the sides of your images are in your thumbnails, see the direct link to your image below.
    Try changing the size of your images so they are square then when you upload them they will not be cropped with the white sides.
    It looks like the images that you are uploading are portrait and not square.

    Best regards,
    Mike

    #1462675

    Hi Tim,

    Thank you for the credentials.

    Having a look into it – you are having a lot of customizations, a lot of plugins and also modifications to the image sizes defined.

    E.g. 1500*0 – Featured Thin (added by theme), 1700*0 – Fullscreen Sections/Sliders (added by theme), …

    In core it is: 1500*430 – Featured Thin (added by theme), 1500*1500 – Fullscreen Sections/Sliders (added by theme)

    We are using core WP functions for creating the responsive scrset and size – no idea what *0 causes behind the scene in WP core.

    Also it is a bit strange that when no image is selected for a category we get the last image added returned by a core WP function:

    
    $attachment_id = avia_get_woocommerce_term_meta( $term->term_id, 'thumbnail_id' );
    

    calls

    
    get_term_meta( $term_id, $key, $single )
    

    The following functions are involved in handling the banner for shop page and category pages in file ..\config-woocommerce\config.php:

    avia_woocommerce_overview_banner_image()
    avia_woocommerce_big_cat_banner()
    avia_woocommerce_shop_banner()
    avia_woocommerce_parallax_banner()

    The code in the functions is pretty straight and easy to understand.

    What I would suggest you can do:

    – To make 100% sure we do not have a bug in our core (we tested it carefully, but we might have missed something) create a clean install with Enfold and WooCommerce, add a few images and categories and check, if you get it to run as you want it – using filters if necessary (we can add additional filters if needed to core)

    – Then you need to dig into your customizationed site and try to figure out, what breaks our code

    I know this answer does not satisfy but digging into your code cannot be done in a few minutes.

    If you need anything added to code or anything I can assist you let me know.

    Best regards,
    Günter

    #1462457

    Hey isynergy,

    Thank you for the inquiry.

    This is possible, but you have to directly modify the /enfold/includes/loop-index.php file and add this code around line 504:

    $featured_image = get_the_post_thumbnail($the_id, 'thumbnail', array('class' => 'read-more-thumbnail'));
    		echo '<div class="featured-image-container">' . $featured_image . '</div>';
    

    Above this code:

    echo $close_header;
    

    Then, add this css code to move the image to the right.

    .featured-image-container {
        float: right;
    }
    

    Best regards,
    Ismael3

Viewing 30 results - 181 through 210 (of 10,078 total)