Featured image

Posted in: Newspaper
Post count: 2

I’ve installed the TOWN TALK prebuild. The articles have the Featured image to illustrate the article. I don’t want to use the Feature image but the image inside the article for the article browsing (or from the homepage). I’ve seen in your documentation: https://forum.tagdiv.com/featured-image/ that we could achieve this with 8.x but I can’t find this menu on 12.x. How to proceed?

Thanks!

Post count: 21065

Hello @AngelSky!

You can edit an article with the TagDiv Composer and delete the featured image element.
It won’t show in the article, but it will show in a flex block, for example.

Thank you!

Post count: 2

Hello @Bettina,

thanks but I asked about how to change the image to be the first image in the article instead of the featured image. With the TagDiv Composer I can choose to Hide the image in the Layout tab but there is no way to tell the template to use the first image available in the article content.

In PHP it would look like this: https://pastebin.com/DQzRVpaC

Can you tell me what file to change or how make it happen ?

Thanks

Post count: 21065

Hello @angelsky!

Unfortunately, we have no feature like that in our theme.
If you want to modify the featured image function, then you can find it in this path: td-cloud-library/state/single/tdb_state_single.php 158 line [featured image].

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.