Featured image not working in Graphane ( issue after theme upgrade )

  • Kailash


    Featured image is not working in after upgrading the theme.
    Actually this is serious issue for high traffic users.

    even after updated below code not working.

    function featured_img_thumb() {
    <span class="post-thumbnail">
            <?php the_post_thumbnail('full'); ?>

    My site is https://www dot hindimarathisms dot com


    Syahir Hakim


    Try temporarily turning off WP Rocket and see if the post thumbnails appear.



    Hi Syahir,

    I have tried disabling wp-rocket & also on other site with 0 plugin installed. but images are still not showing. images are showing in mobile theme neo, but not in desktop theme.


    Syahir Hakim


    I have just tried the code you added on our development server, and the featured images appear as expected. Where did you place the code in your site? Are you using a child theme for both desktop and mobile theme?



    No I am not using a child theme for both desktop and mobile theme. I have placed that code in themes function.php


    Syahir Hakim


    If you put the code inside the theme it will be lost on every theme update, and you will need to add it back. In which file did you insert it in the theme?



    Its working when updated via themes editor option.
    when i am updating via filezilla ftp panel its showing file transfer successful, but when i re open file code was showing blank each time. I updated via themes editor option & now images are showing.

    Dont know why this happens, may be file permission issue.

    Thanks for your support.

Viewing 7 posts - 1 through 7 (of 7 total)

  • You must be logged in to reply to this topic.