Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vicctim

    (@vicctim)

    Exactly! I wonder if you can ignore the free shipping and assign a value to shipping.

    vicctim

    (@vicctim)

    Tem algum retorno do boleto pago pelo painel de administrador do woocommerce?

    Change this file: download-monitor/includes/admin/class-dlm-admin-cpt.php

    replace this line:
    echo $ download-> get_the_image ('');
    by this:
    echo $ download-> get_the_image ('medium-thumb');

    If it does not, add this to your functions.php file:

    if (function_exists ('add_theme_support')) {
    add_theme_support ('post-thumbnails');
    set_post_thumbnail_size (615, 400, true);
    add_image_size ('slider-thumb', 615, 400, true);
    add_image_size ('large-thumb', 300, 195, true);
    add_image_size ('medium-thumb', 108, 70, true);
    add_image_size ('small-thumb', 48, 48, true);
    }

    I was also with this problem until I found the solution.

    Enabling Support for Post Thumbnails

    Themes have to declare their support for post thumbnails before the interface for assigning these images will appear on the Edit Post and Edit Page screens. They do this by putting the following in their functions.php file:

    In functions.php file add this code:

    if ( function_exists( 'add_theme_support' ) ) {
    add_theme_support( 'post-thumbnails' );
    set_post_thumbnail_size( 615, 400, true );
    add_image_size( 'slider-thumb', 615, 400, true );
    add_image_size( 'large-thumb', 300, 195, true );
    add_image_size( 'medium-thumb', 108, 70, true );
    add_image_size( 'small-thumb', 48, 48, true );
    }

    In file: content-download-box.php, replace this line:
    <?php $dlm_download->the_image(); ?>
    this
    <?php $dlm_download->the_image('large-thumb') ; ?>

    This ‘large-thumb’ will resize the image to 300x195px.

Viewing 4 replies - 1 through 4 (of 4 total)