The featured image is displayed everywhere on the website, but I need to completely hide it(from the main page, category, modules, blocks, and of course, from single posts) if I don’t upload a featured image. I have Newspaper 12.7.4.
Could you help me? Thank you in advance
Hi,
In this situation ou can use a placeholder for those articles https://prnt.sc/zipTSnSGNC9y you can also use tagDiv Composer and remove the featured image from the single post template – https://i.imgur.com/Q5hV6o4.png – https://i.imgur.com/wM6mPOz.png from and from flex blocks you can also remove the image – https://i.imgur.com/RsrNpQX.png
Dear Calin,
I need to display the featured image everywhere if an image is uploaded, as it is now. And, on the other hand, hide featured images globally from all posts and pages (no empty space, no broken images) if a featured image is not uploaded.
If I remove the featured image from the single post template using tagDiv Composer, then the featured image will not display in all posts.
I use Flex Block 1. If I hide the image in the Layout – article image – hide image, then the image hides all categories, even if I upload it.
Could you figure out and help me?
Dear Calin,
I need to display the featured image everywhere if an image is uploaded, as it is now. And, on the other hand, hide featured images globally from all posts and pages (no empty space, no broken images) if a featured image is not uploaded.
If I remove the featured image from the single post template using tagDiv Composer, then the featured image will not display in all posts.
I use Flex Block 1. If I hide the image in the Layout – article image – hide image, then the image hides all categories, even if I upload it.
Could you figure out and help me?
Hi,
I see what you want to achieve, this can be achive easly fora single post template. There, you can let the Single Post Featured Image but use the option ‘Hide when no featured image’ – https://i.imgur.com/6ENBZYZ.png
Now the situation is a bit mor complicate on blocks, there it is necessary to use a placeholder for those articles that do not have a featured image set – https://prnt.sc/wDwJpwUVV9pa
Dear Calin,
I uploaded a placeholder https://prnt.sc/gPpzHT5Ngnms
But in the post is white Emptiness between the title and text, and in the category feed is displaced “broken” image https://prnt.sc/l6Utkh13foa8
https://prnt.sc/1ozVGBzD8o5a
What can I do?
Also I can’t open your link https://i.imgur.com/6ENBZYZ.png
Thanks in advance
Hi,
Could you please provide a link to an article taht do not have a featured image assigned? I checked teh website, and I do not find any article without a featured image, most of them have https://prnt.sc/HaWsbGa_Ysuw
Sure,
The category feed:
https://aafpress.ge/category/questions/
amd 2 single posts:
-
This reply was modified 6 months by
Gogi2025.
Yiu wrote:
I see what you want to achieve, this can be achive easly fora single post template. There, you can let the Single Post Featured Image but use the option ‘Hide when no featured image’ – https://i.imgur.com/6ENBZYZ.png
But this link https://i.imgur.com/6ENBZYZ.png is broken,
Could you please give me another one?
You wrote:
I see what you want to achieve, this can be achive easly fora single post template. There, you can let the Single Post Featured Image but use the option ‘Hide when no featured image’ – https://i.imgur.com/6ENBZYZ.png
But this link https://i.imgur.com/6ENBZYZ.png is broken,
Could you please give me another one?
Hi,
For this https://prnt.sc/_yGm-VVf1q1d you need to go to Newspaper > theme pane > block settings and enable that thab from there.
“But this link https://i.imgur.com/6ENBZYZ.png is broken,” please try thios https://prnt.sc/pHaBugbFAHy_
I see that right now you are using the option I mentioned on the featured image on the single post template https://prnt.sc/mcMgQcRSQ9xe but you have this gap because the featured image element is not in the same row https://prnt.sc/miivtdqDfFs_ with the single post content, you can drag and drop the elements from the current row below, and the results will be https://prnt.sc/Qy84Mo1nv_Hc
On the category page https://aafpress.ge/category/questions/ the image set as thumb placeholder in the theme panel – https://prnt.sc/njm0GdspOffD theimage should be png or jpeg/jpg formt and should be in full size – https://prnt.sc/zdg-XBLi53E3