Viewing 30 results - 1,411 through 1,440 (of 10,095 total)
  • Author
    Search Results
  • #1263519

    Hi jeiceta,

    I apologize I wasn’t able to respond before the link expired.
    I was able to see those fields reflect in the frontend and the location is correct (line 764 in postslider.php):

    $output .= $thumbnail ? "<a href='{$link}' data-rel='slide-" . avia_post_slider::$slide . "' class='slide-image' title='{$image_link_title}'>{$thumbnail}</a>" : '';

    If it’s on top of the image then place it before the code and concatenate it in the $output variable and if its below then put it after.

    Best regards,
    Nikko

    #1263452

    Hi,

    Unfortunately, we will not be able to help properly if we cannot edit the files and test the modification. Please allow file editing in the Appearance > Editor panel at least so that we could edit the snippet and do the necessary changes. And aside from updating the height values, try to also adjust the width values as well so that the thumbnails are completely different from each other.

    Best regards,
    Ismael

    #1263293
    marcelboersma
    Participant

    We have a curtain and blind webshop on Enfold. We Have fabrics in 8 colors for example. In the shop overview you can find the products with 1 image. We want below that image small thumbnails with all possible colors. For example see this product https://blinddesign.nl/product/gordijn-preston-ingeslagen-ringen-verduisterend-gevoerd/ Here we have 1 product image and 7 different colors that are possible. On the shop page we want to show all 8 colors. These products are made as simple products because of the pricing table plug-in. For the customer it is best when they see the product with all possible colors. How can we make this possible? Using variable products is not an option.

    #1263209

    Hi,
    yes, I always do that.

    But I’ve uploaded new images so it should not be necessary to regenerate the thumbnails, as discussed before.

    I’ve reactivated the access link. See private content.
    Unfortunately I can’t grant u ftp access.

    Thanks in advance.

    Regards,
    Sebastian

    #1263159

    Hi,

    The code above looks correct, the values of the crop parameter are valid. Did you purge the cache and regenerate the thumbnails after editing the code?

    We would like to test this again but the login token above seems to have expired. Please create another token, or post the WP and FTP details in the private field so that we could test the site properly.

    Thank you for your patience.

    Best regards,
    Ismael

    #1262894

    Hi,

    Thank you for the update.

    The unregistered thumbnails will be removed automatically when you regenerate the images using a plugin or a custom script, but we recommend installing an extension. This process might take a while depending on the number of images uploaded in the media library. Please check these plugins.

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

    This process is safe but please do not forget to create a restore point or a site backup before regenerating the images in case something went wrong.

    Best regards,
    Ismael

    #1262893

    Hi,

    Thank you for the update.

    The unregistered thumbnails will be removed automatically when you regenerate the images. Please install one of the following plugins to regenerate the images. This process might take a while depending on the number of images uploaded in the media library.

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

    This process is safe but please do not forget to create a restore point or a site backup before regenerating the images in case something went wrong.

    Best regards,
    Ismael

    #1262662

    In reply to: Display issues

    Hi,

    It seems like you have not regenerated thumbnails after changing image sizes. I set the size of Gallery images to 600x600px and regenerated them.

    Please review your website :)

    Best regards,
    Yigit

    #1262568

    Hey Illingco,

    Thank you for the inquiry.

    You should be able to set the thumbnail size in the Styling > Appearance > Preview Image Size settings of the Blog Posts element. It is also recommended to upload images with the same size to maintain the alignment of each item in the grid.

    Best regards,
    Ismael

    #1262296

    Hi, thanks for this code, it’s perfectly what I need.
    Now I’m looking for remove all older thumbnails not used. Do you have a solution ? I’have 19 thumbnail for each file since many years^^, the upload folder make more 1Go. Do you have a solution ?
    I think the hardest part is identifying the images not used by WordPress …
    thanks

    • This reply was modified 5 years, 4 months ago by Luc.
    #1262238

    Hi,

    It should regenerate new thumbnails when you upload the images again after the code adjustment, but make sure to purge the server and plugin cache before doing so because the old thumbnails might still be in used instead of the updated ones.

    Could you post the updated code? Have you tried adjusting the size of the other thumbnails a bit so that they are completely different? Just add or subtract a pixel for the width and height and update the first value in the array so that they are valid.

    Best regards,
    Ismael

    #1262163
    jeiceta
    Participant

    Hi. I have added, with Advanced custom fields, 2 fields in the posts. Also, I would like to put the categories.

    I have used this widget

    And this is the result

    I would like it to stay like this

    I go to wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php and above this line >> $output .= $thumbnail ? “{$thumbnail}” : “”; I put this
    $taxonomies = get_object_taxonomies(get_post_type($the_id));
    $output .= “<div class=’categ’>”.$taxonomies.”</div>”;

    But the result that you return to me is

    What have I put wrong?

    In the case of the country and the image of the flag, above this line >> $output .= “<h3 class=’slide-entry-title entry-title’ $markup>“.$title.”</h3>”; I have put

    $pais = get_field (“País”, $entry->ID);
    $output .= “<div class=’pais’>”.$pais.”</div>”;
    $bandera = get_field (“bandera”, $entry->ID);
    $image = get_field(‘Bandera’);
    $size = ‘full’; // (thumbnail, medium, large, full or custom size)
    if( $image ) {
    echo wp_get_attachment_image( $image, $size );};
    $output .= “<div class=’bandera’>”.$Bandera.”</div>”;

    And this is the result

    The ARRAY is of the country and the image is not visible. How should I put it on to make it look good? The country data are from a multi-selection field and the flag data from an image field

    Can you help me find the solution?

    • This topic was modified 5 years, 4 months ago by jeiceta.
    #1261861

    Hi,
    I have the similar problem in case of Blogposts which are planed to future date:
    1. Uploading Video to Youtube by adding a future date aswell causes a “private” state for this video.
    2. embeding the video to WordPress causes a black preview, with a link on top left corner.

    After publishing both automaticly at planed time, the video is set to public state. But the black preview is still visible, instead of safed thumbnail.

    I can fix this by changing the video link. Depending on how I get the link it is http://www.youtube.de or youtu.be. Changing to the other link makes the thumbnail/preview work, after it is public. But that’s annoying! I have to to this allways just in time at publishing date/time.
    I found something about WordPress is saving this thumbnail.

    Who to reset/refresh this automaticly? Is there any plugin?
    There are some SQL-commands to find in web, but I can’t find it nomore.

    Best regards
    Bernhard

    #1261560

    Hi,

    Could you please try adding 2 images in List Item Description field using Add Media button and not uploading a thumbnail image?

    Best regards,
    Yigit

    #1261541

    Hey Angela,

    Thanks for contacting us!

    If you would like to use two images for the same product, you can simply upload first image as product thumbnail in product page and upload second image into product gallery and then choose to display that image on hover – https://imgur.com/a/fKnvosq

    You can see an example here – https://kriesi.at/themes/enfold-shop/. Please hover on “Blue Blouse” :)

    Best regards,
    Yigit

    #1261481

    Hi Ismael,

    i used a different image every time (fresh upload). Is it only working when regenerate thumbnail is used? I thought it would work for any fresh uploaded image and only for already uploaded images you have to use the regenerate?

    I’ve changed the invalid values and uploaded a new image. The Label in the select dropdown still shows the wrong reoslution for the images.
    The image ist still the same even if i select a different size for each one of the three images in this pages.

    So what am I doing wrong, or is it just not working the way i suppose it to be?

    Best regards,
    Sebastian

    #1261476

    In reply to: Product widget

    Hi,

    Thank you for the update.

    Looks like the theme overrides the default product image size for the widget. Please try to add this code in the functions.php file instead to disable the function that overrides the image size.

    add_filter('avf_wc_widget_product_image_size_ignore', '__return_true', 10, 2 );
    

    Or this filter to use a different thumbnail instead of the default “widget”.

    add_filter('avf_wc_widget_product_image_size', function( $thumbnail, $product, $size, $attr, $placeholder ) {
        $thumbnail = 'portfolio'; 
        return $thumbnail;
    }, 10, 5);
    

    Best regards,
    Ismael

    Hi,

    Thank you for the info.

    We can now see the issue and it is probably not working as it should because the plugin modifies the markup of the product items, removing the class name or container woocommerce-loop-product__title which is where the cart script gets the product title.

    This is the new markup from the plugin.

    
    <td class="product_title_col">
                                <span class="mobile-label">Product</span>
                                <a class="product_link" href="https://site.com/product/amazin-raisin-sunflower-seeds-trail-mix-snack-variety-2-3-ounce-bulk-bags-125pk-case/"><img src="https://amazingfruitproducts.com/wp-content/uploads/2018/10/amazin-raisin-sunflower-seeds-orange-and-strawberry-80x80.png" class="wwof_product_listing_item_thumbnail" alt="Amazin' Raisin + Sunflower Seeds Trail Mix Snack Variety 2.3-ounce Bulk Bags 70pk Case" srcset="VALUE" sizes="(max-width: 48px) 100vw, 48px" width="48" height="48"></a>                            <a class="product_link" href="https://site.com/product/amazin-raisin-sunflower-seeds-trail-mix-snack-variety-2-3-ounce-bulk-bags-125pk-case/">Amazin' Raisin + Sunflower Seeds Trail Mix Snack Variety 2.3-ounce Bulk Bags 70pk Case</a></td>
    

    You might have to ask the plugin author to apply the default class attribute for the title to the title markup above.

    Best regards,
    Ismael

    #1261470

    Hi,

    Did you upload the original image again or regenerate the images after the thumbnail registration?

    This is probably not working as it should because the new thumbnails’ x_crop_position or the first value in the array is invalid. The valid values are ‘left’ ‘center’, or ‘right’.

      $sizes['divide_img_top_center'] = array( 'width' => 1920, 'height' => 500, array('top','center') );
      $sizes['divide_img_center_center'] = array( 'width' => 1920, 'height' => 500, array('center','center') );
      $sizes['divide_img_bottom_center'] = array( 'width' => 1920, 'height' => 500, array('bottom','center') );
    

    So top-center and bottom-center is not correct, and should be center-top and center-bottom.

    Best regards,
    Ismael

    #1261085

    Hi Ismael,

    What do you mean? Category meta info does not display on either staging or live site. But the link to the category is in the code. That is the problem. If category is not displayed, there should not be a category in the code.

    <main class=’content units av-content-small alpha av-blog-meta-comments-disabled av-blog-meta-category-disabled av-blog-meta-html-info-disabled av-blog-meta-tag-disabled’ >

    <article class=’post-entry post-entry-type-standard post-entry-3628 post-loop-1 post-parity-odd post-entry-last single-big post-3628 post type-post status-publish format-standard has-post-thumbnail hentry category-accidentes-de-auto category-accidentes-de-construccion tag-abogado-accidentes-transito tag-abogado-lesiones-personales tag-abogados-de-accidentes-de-trabajo tag-accidentes-de-construccion’ ><div class=’blog-meta’></div><div class=’entry-content-wrapper clearfix standard-content’><header class=”entry-content-header”><div class=”av-heading-wrapper”><span class=”blog-categories minor-meta”>Accidentes Auto, Accidentes Construcción </span><h1 class=’post-title entry-title ‘ > Cómo Elegir el Mejor Abogado de Accidentes y Lesiones Personales Para Tu Caso <span class=’post-format-icon minor-meta’></span> </h1></div>

    The reason I disabled the display of the Category Meta is because my categories are displayed much nicely on ALB pages and there is a redirect from /category/page to /page This creates hundreds of redirects and it impacts SEO negatively.

    How can I get rid of the invisible to the human eye but not to bots redirect?

    And for some reason I am not receiving your notifications. The last one I got was 11/2 and for a different topic. Could you please check if there’s something wrong?

    Thank you!

    Havi

    #1261036

    In reply to: hide layerslider

    Merhabalar Orhan :)

    1- Bahsettiginiz videoyu video elementini kullanarak mi sayfaniza ekliyorsunuz? Eger oyleyse, video elementini duzenleyip Advanced > Responsive sekmesi altindan buyuk ekranlarda elementi saklamayi secebilirsiniz – https://imgur.com/a/orsHCAk :)

    2- Lutfen Enfold theme options > Shop Options sekmesinden “Enable Banner for product category pages” secenegini aktif edin. Daha sonrasinda Products > Categories sekmesinden duzenlemek istediginiz kategoriyi secin, bannerinizi “Thumbnail” alanindan yukleyip hemen altindaki “Enfold Child Category Styling” alanindan “Display product image and description as fullwidth page banner” secin :)

    Cheers!
    Yigit

    #1260951
    mrlreynolds
    Participant

    Hi, On our older posts the Masonry Thumbnails have Disappeared on Posts, if you click the empty space the main image appears in a pop-up but the thumbnail is missing. Can you please check. Many Thanks.

    #1260885

    Hey Rafael,

    Thank you for the update.

    Are you using the default editor for the pages, or the Advance Layout Builder (ALB)? If you are using the default editor, you might have to modify the includes > loop-page.php file and change this line of code..

    $thumb = get_the_post_thumbnail( get_the_ID(), $avia_config['size'] );
    
    					if( $thumb ) 
    					{
    						echo "
    <div class='page-thumb'>{$thumb}</div>
    ";
    					}
    

    Replace the get_the_post_thumbnail function with the wp_get_attachment_image_src to get the URL of the featured image and define your own markup with the data-skip-lazy attribute.

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

    Best regards,
    Ismael

    #1260843

    In reply to: Product widget

    Price looks better! I’ll play around with it a little bit.

    For the Product Widget thumbnail, I added that filter code you provided to the functions.php file – is that where I was supposed to add it? Either way – it didn’t work. That code ended up making ALL product thumbnails that size – and that doesn’t work for the rest of the website that displays the shop (for instance, the home page product feed and the shop page). I just need to fix the problem with the footer widget displaying products – if you look at any of the pages of the website you’ll see they are REALLY fuzzy.

    When I inspect that element I still see coding forcing a 36px wide thumbnail – screenshot link in private notes. Not sure if that helps narrow it down.

    Thanks!

    PilatInformatique
    Participant

    Hello,
    I have several questions for a woocomerce site with enfold, if you have any leads to help me please ?

    1 – I have to put the sidebar on the smartphone at the top of the screen and not at the bottom. How can I do ?
    2 – In the shop page I must be able to filter on categories.
    3 – In the “categories display” widget I want to order the categories “hard”
    4 – How to send different mail in woocommerce depending on the kind of livraison ? Elsewhere how to send manualy the email ?
    5 – With product variations : how to connect the “global stock” as the sum of each “product variation stock” ?
    6 – when scrolling down on computer, how to keep visible the second title menu (with the title of the page and the breadcrumb)
    7 – The widget “last viewed products “, how to enlarge the thumbnail and hide the texte
    8 – On the single product page, how to present product variations as clickable labels and not a drop-down list

    Thank you very much if you can help me move forward
    Matthieu

    #1260634

    Hi,


    @fecanimedia
    : Did you regenerate the thumbnails after adding the above snippet? Try to use the one of the following plugins to regenerate the images with the new default thumbnail quality.

    // https://wordpress.org/plugins/regenerate-thumbnails/
    // https://wordpress.org/support/plugin/simple-image-sizes/

    If you need further assistance, please feel free to open a new thread. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    #1260545

    In reply to: Product widget

    Hi,

    Sorry for the late response. We can now properly access the site.

    1.) To decrease the space between the product title and price, we could use this css code to pull the price container upwards so that it is closer to the product title. This might cause minor issues with products with longer title.

    .product_list_widget li .woocommerce-Price-amount {
    	top: -30px;
    	position: relative;
    }
    

    2.) Are you referring to the same product widget? The following snippet should adjust the size of the default product thumbnail.

    add_filter( 'woocommerce_get_image_size_thumbnail', function( $size ) {
        return array(
            'width'  => 120,
            'height' => 120,
            'crop'   => 0,
        );
    } );
    

    Default size of the thumbnail is only 36x36px.

    Best regards,
    Ismael

    #1260318

    You could try something like this:

    function custom_blog_img_size($thumb,$current_post,$size) {
    	return get_the_post_thumbnail($current_post["the_id"], 'large');
    }
    add_filter('avf_post_featured_image_link','custom_blog_img_size', 10, 3);
    El
    Participant

    Hi there,

    A click on a thumbnail on the woocommerce product page opens the actual image not in a lightbox but the actual file. Any idea how to fix this? It works fine in Browsers like Safari that don´t display webp. Not sure if that was introduced with the latest update? We are running 4.7.6.4.

    Thanks!
    El

    #1260036

    Hi,

    Thank you for the inquiry.

    We have to modify the enfold\config-templatebuilder\avia-shortcodes\postslider\postslider.php file and add the year above the featured image markup, which is around line 772 of the said file.

    $output .= $thumbnail ? "<a href='{$link}' data-rel='slide-" . avia_post_slider::$slide . "' class='slide-image' title='{$image_link_title}'>{$thumbnail}</a>" : '';
    

    Did you add the year as a custom field? If so, then we could use the get_post_meta function to get the value of the custom field and render it in the page.

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

    Best regards,
    Ismael

Viewing 30 results - 1,411 through 1,440 (of 10,095 total)