Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Show featured image in one of many custom post types

Home / Forums / Ascend Theme / Show featured image in one of many custom post types

This topic is: Not Resolved
[Not Resolved]
Posted in: Ascend Theme
November 5, 2020 at 9:28 am

Hello
We have a site which includes several CPTs. This includes a member news CPT as well as others controlled by third party plugins. If I switch Featured Images on in the Theme options under Custom Post Types, I get an image on the Members Posts (good) but also on one of the other CPT (which does not have a featured image and so looks really bad).

I assume that you are controlling the image display by hooking into somewhere in the_content. Could you share a snippet that will allow me to selectively include the image in my member news only please?

Alternatively, if there is a better way of doing this, some advice would be useful. I already have a child theme.

Thanks
Mandy

  • The forum ‘Ascend Theme’ is closed to new topics and replies.