“Display Featured Image” option in a custom single single post template

Posted in: Newspaper
Post count: 29

Hello tagDiv Support Team,

I am using the Newspaper theme and have created a custom single post template. I want the “Display Featured Image (Show/Hide)” option to work correctly in this custom template.

Could you please clarify:

How this option is handled internally (post meta or theme setting)?

How can I conditionally show/hide the featured image in a custom single template based on this option?

Is there a recommended function, condition, or meta key to use so the behavior matches the default single post template?

I want to follow the theme’s best practice and avoid issues with future updates.

Thank you for your support.

Best regards,
Saroj Khanal

Post count: 35449

Hi,
Our theme now provides the frontent builder tagDiv Composer that can be use or creating pages and cloud template start can be used on articles, categories, taxonomies, CPT’s …. and you can import from teh cloud a pre-built template and just edit it, add any elements you want to be display and remove those you do not want or you can create it from scratch.
If you created a php file template thsi should be set in a child theme and the theme panel option referring to “Display Featured Image (Show/Hide)” use the get_image https://prnt.sc/LGwD_L8aCgc9. This is defined in wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php https://prnt.sc/7zMeWS6BJ19E
Thank you!

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