Remove Description text from Category Archive Pages in Astra theme

Do you want to remove description text from category archive pages when using the Astra Theme? This can be implemented with a filter hook targetting using the code shared below.

Code Snippet: Remove category description text

In the WordPress Dashboard, go to Appearance > Theme Editor and open the functions.php file of your Astra child theme. Then add the following code at the end. Alternatively, you can use code snippets plugin for adding custom code.

add_filter( 'get_the_archive_description', '__return_null');
This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.