Home › Forums › Support › Featured Image caption appearing on homepage/ sidebar images This topic has 7 replies, 3 voices, and was last updated 3 years, 5 months ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts November 14, 2022 at 9:52 pm #2415865 victor Hello, How can I disable the featured image caption from appearing there? I want it to appear on posts only. I don’t want the caption to appear area like this 👉 https://ibb.co/0tGPCcZ November 14, 2022 at 10:38 pm #2415884 Fernando Customer Support Hi Victor, By default, the Featured image caption shouldn’t be appearing. For reference, can you provide the link to the site in question? You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information November 15, 2022 at 5:19 am #2416252 victor Hi, click on any post on twendesasa.com and peep on the side bar widget..you will see the copyright caption appearing too.How can I fix this? This is the code on the snippet. add_action( ‘post_thumbnail_html’, ‘db_auto_single_featured_caption’, 10 ); function db_auto_single_featured_caption( $html ) { $caption = get_the_post_thumbnail_caption(); if ( is_single() && !empty($caption) ){ $html .= ‘ ‘. $caption . ‘ ‘; } return $html; } November 15, 2022 at 5:35 am #2416273 DavidStaff Customer Support Hi there, simplest fix would be to hide it with some CSS: aside .wp-show-posts-image .wp-caption { display: none; } November 15, 2022 at 5:38 am #2416275 victor Thank you. November 15, 2022 at 5:40 am #2416281 DavidStaff Customer Support You’re welcome November 15, 2022 at 5:41 am #2416282 victor tried adding the css to stavica.com..seems like the captions are still appealing on the homepage. any fix? Update: Figured it out. November 15, 2022 at 5:56 am #2416310 DavidStaff Customer Support Glad to hear that! Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In