How to Remove Featured Image Link on Archive Page?
|
/ Documentation /General/ How to Remove Featured Image Link on Archive Page?

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 doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

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

This field is required.

REWIND

YEAR IN REVIEW

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.

Download Free Astra Theme - Modal Popup Form