Uncategorized

How to Remove excerpt on archive pages – Astra WP (fixed)

Do you want to remove excerpts on Astra archive pages? You are in the right place. I will show you using screenshot how to Remove excerpt on archive pages Astra wp free theme

Remove excerpt on archive pages

Step 1: Login in your dashboard and go to appearance and then go to Theme Editor

Remove excerpt on archive pages

Step 2: Select Astra Theme and click functions.php

Remove excerpt on archive pages

Step 3: Then put this code at the end of your Function.php code .. (you can take function.php backup )

Copy the code and paste

add_filter( 'the_excerpt', 'filter_the_excerpt', 10, 2 );
    function filter_the_excerpt( ) {
    return ' ';
}

Leave a Reply

Adblock Detected

Please Disable your Ads blocker.