Support » Plugin: Ivory Search - WordPress Search Plugin » Remove duplicate default search form

  • Resolved Jay Collier

    (@jcollier)


    Hi!

    We have two “Default Search Form”s:

    [ivory-search id=”9″ title=”Default Search Form”]
    [ivory-search id=”2931″ title=”Default Search Form”]

    This is confusing to our users. How do we delete the second one?

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

    (@vinod-dalvi)

    I hope you are well today and thank you for your question.

    Just add below code in the wp-config.php file of your WordPress installation then you can delete the Default Search Form.

    define( 'DELETE_DEFAULT_SEARCH_FORM' );

    Best regards,

    Thanks, Vinod.

    Unfortunately, your addition threw this error:

    Warning: define() expects at least 2 parameters, 1 given in /home/(snip)/public_html/(snip)/wp-config.php on line 102

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Sorry I shared your incorrect code in a hurry so please use the below code.

    define( 'DELETE_DEFAULT_SEARCH_FORM', true );

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.