You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's working great, but I was in the need to also print the thumbnail of the post.
Was looking for how to do this, and found this code for using on our theme functions.php
It works for the "general" feed of the website, but for the popular posts feed the thumbnail image is rendered always the same one, from the last published post.
I believe that it concerns the line "global $post;" line that gets the latest post, not the other being used on the loop..
Have any suggestion how could it also render the post thumbnail?
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for the plugin..
It's working great, but I was in the need to also print the thumbnail of the post.
Was looking for how to do this, and found this code for using on our theme functions.php
It works for the "general" feed of the website, but for the popular posts feed the thumbnail image is rendered always the same one, from the last published post.
I believe that it concerns the line "global $post;" line that gets the latest post, not the other being used on the loop..
Have any suggestion how could it also render the post thumbnail?
The text was updated successfully, but these errors were encountered: