Change the Continue Reading Text on Search Results Pages

This is a Developer Level doc.

If you're unfamiliar with PHP and/or editing files, codes and templates, as well as with resolving possible conflict, please seek help from a professional. Under our Support Policy, we don't provide support for modifications and customization.

If you wish to alter the Continue Reading text on Search results pages, use the following PHP snippet:

NOTICE: Please make sure to update your OceanWP theme to 1.8.6 version or above in order to use this snippet.

* Change the Continue Reading text on Search Results
function myprefix_search_readmore_link_text() {
return 'Your Text Here';

add_filter( 'ocean_search_continue_reading', 'myprefix_search_readmore_link_text' );

Replace Your Text Here with your own text. For example, View More or Read More.

All PHP snippets should be added via a child theme's functions.php file.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.