Forum Replies Created

Viewing 10 posts - 381 through 390 (of 6,341 total)
  • Author
    Posts
  • in reply to: Fatured image size #25470

    First of all, make sure you update the theme to the latest version.

    Change add_image_size( ‘main page grid size’, 264, 176 ); to add_image_size( ‘main_page_grid_size’, 264, 176 );

    Then, use main_page_grid_size in the following function

    if( function_exists( 'dgwork_thumbnail_size' ) ) {
      function dgwork_thumbnail_size(){
         if( dgwork_device( 'phone' ) ){
             return 'main_page_grid_size'; // for phone
         }elseif( dgwork_device( 'tablets' ) ){
             return 'main_page_grid_size'; // for tablets
         }else{
             return 'main_page_grid_size'; // for desktop
         }
      }
    }

    Of course, you can set a different size for each device.

    The last step, regenerate the thumbnail.

    Thanks

    in reply to: Login issue #25468

    So if you deactivate the cache plugin, the page is displayed as normal? What cache plugin do you use?

    in reply to: Login issue #25444

    Hi

    Please go to Products > Settings > General Tab, check “Login Redirect Page” option, have you set a page for this option?

    If this setting is correct but still redirect to the blank page, please edit wp-config.php file (in the root folder of your site), change define(‘WP_DEBUG’, false) to true, then refresh the blank page, check if there’s any error information.

    Thanks

    in reply to: Grid display issue #25442

    Since I know you use [downloads] shortcode for displaying the grid, I have reproduced this issue on my test site.
    Please update the theme to v1.8.2 after 1 hour, I will fix it soon.

    in reply to: Fatured image size #25440

    You said “the bottom of my site changed!”, is it possible to post a screenshot?

    in reply to: Fatured image size #25438

    Hi

    Please update the theme to v1.8.2 after 1 hour, I will add a new feature that set the thumbnail size for the different device.

    Now the feature image size on the desktop version is ‘medium’, and on the mobile phone is ‘thumbnail’. They are WordPress built-in size. If you want to custom the size, you can copy the following function to the functions.php of your child theme

    if( function_exists( 'dgwork_thumbnail_size' ) ) {
      function dgwork_thumbnail_size(){
         if( dgwork_device( 'phone' ) ){
             return 'thumbnail'; // for phone  150 x 150
         }elseif( dgwork_device( 'tablets' ) ){
             return 'medium'; // for tablets 300 x 300
         }else{
             return 'medium'; // for desktop 300 x 300
         }
      }
    }

    for example, if you want to change the size to 200 x 150, just write as

    return array(200, 150);

    And you may have to regenerate all thumbnails by with https://wordpress.org/plugins/regenerate-thumbnails/

    in reply to: EDD Wishlists not working #25436

    I noticed you use [downloads], so don’t change the template above, I will fix this issue in V1.8.2, please update after 1 hour.

    If you have customized the grid, please edit dgwork/edd_templates/shortcode-download.php template.

    in reply to: Bug with Magicbook Blog Addons #25432
    You must have valid license to access this content.
    in reply to: Add book intro in different language in homepage (coverbook) #25430
    You must have valid license to access this content.
    in reply to: EDD Wishlists not working #25428

    Hi

    Copy wp-content/plugins/themevan-toolkit/templates/wpbakery/custom_vc_edd_product_grid.php to theme-folder/themevan-toolkit/templates/wpbakery/ (You can create themevan-toolkit/templates/wpbakery/ folder manually)

    Thanks

Viewing 10 posts - 381 through 390 (of 6,341 total)