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

  • Kailash

    #49680

    Featured image is not working in 2.4.3.1 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'); ?>
    </span>
    <?php
    }
    add_action('graphene_before_post_content','featured_img_thumb');

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

    Admin

    Syahir Hakim

    #49683

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

    Kailash

    #49685

    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.

    Admin

    Syahir Hakim

    #49686

    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?

    Kailash

    #49687

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

    Admin

    Syahir Hakim

    #49688

    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?

    Kailash

    #49689

    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.