Featured image not working in Graphane 2.4.3.1 ( issue after theme upgrade )
-
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
AdminTry temporarily turning off WP Rocket and see if the post thumbnails appear.
AdminI 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?
AdminIf 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.