Dentalia has now been updated to 2.3 and a major update for Recycle is coming soon. We hope you enjoy the new features! Thanks for your patience!

Okay
  Public Ticket #3379505
Image | featured pages
Closed

Comments

  •  1
    kloevekorn started the conversation

    we also have the problem, the images by using "featured pages" are not displayed.

  •  540
    OrionThemes replied

    Hi,
    Can you share your login credentials in a private reply? I will login and check why that issue appears.

    Kind regards,

    Andrej

  •   kloevekorn replied privately
  •  540
    OrionThemes replied

    Fixed. Please check.

    Kind regards,

    Andrej

  •   kloevekorn replied privately
  •  540
    OrionThemes replied

    Hi,
    I couldn't login:

    6036970986.png


    To fix the bug, you can copy over \wp-content\plugins\dentalia-plugin\widgets\so-widgets\orion-featured-pages\tpl\orion_featured_pages-template.php from your working instance to this one. 

    Or simply edit the file and in line 211 change first line of this code block

    from:

    if ($custom_image == '') {
    $img = get_the_post_thumbnail($page_id, $image_size);
    } else {
    $img = wp_get_attachment_image($custom_image, $image_size);
    }

    to:

    if ($custom_image == '' || $custom_image == '0' ) {
    $img = get_the_post_thumbnail($page_id, $image_size);
    } else {
    $img = wp_get_attachment_image($custom_image, $image_size);
    }

     
    I hope this helps,

    Andrej

  •  1
    kloevekorn replied

    Thanks, works !