Restrict Search Results to Posts Only

Hi @amarhamdani,

The option to configure the number of words on the Archive page, including the Search Results page, is not available on the Astra free. However, this option will affect not only the Search Results page, but also the Archive page, including the Blog post page.

Well, in short, you will need custom CSS to hide the excerpt on the Search Results page. Something like the following should work

.search-results .entry-content p {
    display: none;

BTW, you disable the right click on your site. It makes harder to inspect the page 😐

Well, let us know if you need more help, otherwise please mark the topic as Resolved.

Kind regards,
Herman 😊

Okay thank you very much for the answer. solved.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer