vicctim
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Free Shipping for WooCommerce] Price setting for each ruleExactly! I wonder if you can ignore the free shipping and assign a value to shipping.
Forum: Plugins
In reply to: [WooCommerce Boleto] Identificar pagamentoTem algum retorno do boleto pago pelo painel de administrador do woocommerce?
Forum: Plugins
In reply to: [Download Monitor] thumbnails in backend preview way too large!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); }Forum: Plugins
In reply to: [Download Monitor] Image sizes in templatesI 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.