How to Remove Featured Image Link on Archive Page?

No results found. Try again with different words?

Search must be at least 3 characters.

How to Remove Featured Image Link on Archive Page?

A Featured Image on the Archive pages has a link to the image, if you need to remove the link you will need to just use the following filters –

// Filter to remove featured image link on Archive Page

add_filter( 'astra_blog_post_featured_image_link_before', '__return_empty_string' );
add_filter( 'astra_blog_post_featured_image_link_after', '__return_empty_string' );

Note: Add the above filter to your child theme’s functions.php, here’s an article to help you Add Custom code.

Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.