-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post Featured Image not displaying when published #31480
Comments
Hi |
@carolinan here is my block code:
|
Tested with the sample code, It is only blank on the front if the post that is in the loop does not have a featured image. |
By turning off "Inherit query from template" in the query block, you should be able to display the image. If "Inherit query from template" is enabled, the image of the current post should be displayed, but it is not. |
Thanks for reporting this @bbertucc! The truth is that the there is a problem to be solved about context detection in As @torounit mentioned:
And it seems to me it does 😄 . The confusing part is that if we have the
Is that the case? -edit: By seeing your last comment:
This seems to be the case and I guess this issue can be closed when @bbertucc verifies it. |
Closing this as it seems it was the |
Description
A Post Featured Image in the query block displays perfectly when editing a page. When published, the image disappears.
Step-by-step reproduction instructions
Here's what blocks I'm using..
Expected behaviour
The feature image would display when published.
Actual behaviour
No image.
WordPress information
Device information
The text was updated successfully, but these errors were encountered: