Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    You could either add something like this to your theme’s functions.php

    function remove_SUL_search(){
    	if( function_exists( 'Simple_User_Listing' ) ){
    		remove_action( 'simple_user_listing_before_loop', array( 'Simple_User_Listing', 'add_search' ) );
    	}
    }
    add_action( 'wp_head', 'remove_SUL_search' );

    or you could copy the search-author.php template into a simple-user-listing folder in your theme (so simple-user-listing/searcch-author.php) and make it a blank file.

    Thread Starter X-Raym

    (@x-raym)

    The first solution is cleaner I think, and it works well !

    Thank you very much for your support !

    Cheers ??

    Plugin Author HelgaTheViking

    (@helgatheviking)

    I agree the first solution is much cleaner. It just depends on how comfortable people are with code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Desactivate Search by Author’ is closed to new replies.