Simple Custom Post Order | WordPress.org

[ad_1]

Hi, I am using the ‘Simple Custom Post Order’ plugin. When it is deactivated, the relevanssi search works fine. However, when it is activated, even after adding the function ‘add_filter( ‘relevanssi_orderby’, function ( $orderby ) {return ‘relevance’; } );,’ the search does not work. Is there any other element to add in the functions.php file? It used to work well with this function some time ago… thanks a lot !

 

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