I hope you are well today and thank you for your question.
The Ivory Search plugin doesn’t display search form but just position it on the site. The theme you are using on your site displays search form.
I need to access your site to troubleshoot the issue so please share me your site URL when it will be available to access.
Best regards
ok please can you give me your mail adres so i can send you the access details
You can send it to me securely using below form.
https://ivorysearch.com/contact/
i’ve send you the details.
Thank you for sharing the site details.
I logged into your shared site and found out this is your site theme specific issue as it works fine using default Twenty Seventeen theme.
You should contact your site theme developer to know why the theme generates search form in the header that way which will help you to resolve it as the Ivory Search plugin doesn’t generate search form but just displays it in the header.
hi,
when i get this notification i was working en testing with your plugin.
ok thx for you help, i going to ask the theme author for help.
your plugin can work with a shortcode, but can it work also with a php code?
And if yes, wich code do i need?
Yes, you can display shortcode content using PHP code as following, in which you have to change id and title arguments.
[ivory-search id="1743" title="Default Search Form"]
Can IvorySearch work with the default searchfunction in my theme?
i’ve read that something like that is possible but i doesn’t will to work in my site.
-
This reply was modified 1 month, 3 weeks ago by senatorman.
-
This reply was modified 1 month, 3 weeks ago by senatorman.
[ivory-search id=”1743″ title=”Default Search Form”]
is a shortcode,
this is not php codefragment
Can IvorySearch work with the default searchfunction in my theme?
Yes it works.
i’ve read that something like that is possible but i doesn’t will to work in my site.
By default after activating Ivory Search plugin, the Default Search Form is created which controls default WordPress search. You can edit this Default Search Form and configure its options to manage your site default WordPress search.
You can not delete the Default Search Form as it controls default WordPress search but if you do not want this Default Search Form to control your site default WordPress search then you can do so by checking the plugin option “Do not use default search form to control WordPress default search functionality” in the plugin settings on the path Ivory Search -> Settings -> Settings
You can get more information about it on the below page.
https://ivorysearch.com/knowledge-base/how-to-use-ivory-search-plugin/
[ivory-search id=”1743″ title=”Default Search Form”]
is a shortcode,
this is not php codefragment
Sorry I missed to share whole code which is as follows.
echo do_shortcode( '[ivory-search id=”1743″ title=”Default Search Form”]' );
echo do_shortcode( ‘[ivory-search id=”1743″ title=”Default Search Form”]’ );
This code is not working on places where shortcodes a not allowed.
Do you have the scriptcode? so i can paste it into my headercode?
Then please display it calling the public function form_html added in the plugin class IS_Search_Form and pass id of the search form to the function as an array.
This function is added in the below plugin file on line number 243
/add-search-to-menu/includes/class-is-search-form.php