Show full post in search results

Hello! I would like my search results page to display the full post. It currently displays only an excerpt. Is there some way of accomplishing this?

Hi Chadwick,

Please install a Child Theme. Then copy the file below:

wp-content/themes/x/framework/views/global/_content.php

to:

wp-content/themes/x-child/framework/views/global/_content.php

You will need to create necessary folders in your Child Theme to put the file exactly in the path above.

In the newly copied file change the line 22 from:

x_get_view( 'global', '_content', 'the-excerpt' );

to:

x_get_view( 'global', '_content', 'the-content' );

Clear and purge cache if you have any cache plugin.

For more information about the best practices on theme customization please read the articles below:

https://theme.co/apex/forum/t/customizations-actions-and-filters-in-x/208

Finally, worths mentioning that the theme customization is outside of our support scope and we will not be able to implement the changes for you. But we did our best to show you how you can do it yourself.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.