Black Screen Issue: Please update your theme to ensure WordPress 5.6 compatibility. Dentalia 2.1 and Recycle 2.1 are now available on ThemeForest. 

Okay
  Public Ticket #3338333
Featured pages widget doesn't show featured images
Closed

Comments

  •  8
    Wei started the conversation

    Hi,

    I've set the featured image of my pages, but the featured pages widget didn't display the featured image. Did I miss something?

    Although overriding the featured image still works, can we use the default setting to enable image display?

    Thanks!

    Attached files:  截圖 2023-04-01 下午2.38.27.png
      截圖 2023-04-01 下午2.39.16.png
      截圖 2023-04-01 下午2.40.24.png

  •  532
    OrionThemes replied

    Hi,

    I just tested this on local installation, using the latest 6.2 version of WordPress and it seems to work on my end, without any issues. The featured image is pulled from the page and displayed in the widget. 

    9161650351.png
    3279095178.png

    I also uploaded a new image from my computer (not from WP) and everything displayed properly.

    From top of my head, this could be possible issues:

    - caching (old page version is displayed from cache, without the image)
    - There is no space on the server or the server doesn't support generation of smaller versions of the images, which then display on the widget
    - Third party interference (some plugin could change the default WP logic)

    If you can share your site url and a temporary WordPress username and password, I can check on your site, why the featured images are not displaying properly.

    Kind regards,

    Andrej

  •   Wei replied privately
  •   OrionThemes replied privately
  •   Wei replied privately
  •  532
    OrionThemes replied

    Hi,

    Thank you for sharing access. I fixed it by editing the widget php template file in the Dentalia plugin. Now it  should work. Please check.
    Kind regards,

    Andrej
     

  •  8
    Wei replied

    Hi Andrej,

    Yes, it works now!! 

    Thanks for your hard-working and your time.

    Very appreciate!!


  •  532
    OrionThemes replied

    I'm happy I was able to help!

    Let me know if you need help with anything else.

  •  8
    Wei replied

    Hi,

    Though the issue was solved perfectly. 

    Is this a problem we need to handle manually if we want to migrate/reinstall the Dentalia theme on other machines?

    Would like to know just in case we have to do so in the future. Thanks!

  •  532
    OrionThemes replied

    Hi,

    In case of any customized code in the existing widgets, you should be carefull with dentalia-plugin updates. If you update the plugin, the update will revert any of your custom changes.

    There are two possible approaches to manage this.

    1. Always have a backup at hand, copy your own customized widget files over each time the dentalia-plugin is updated.

    2. Create your own widgets, instead of customizing the dentalia ones.
    Start by duplicating existing widget folder, rename it to something unique. change folder name, files and the widget php class accordingly..
    Have as many custom widgets as you want in your custom folder in either a child theme or your own plugin. 

    I hope this helps,

    Andrej


  •  8
    Wei replied

    Thanks!

    Well noted!