Ivory Search › Forums › Support › I have no result fields that appear
- This topic has 18 replies, 3 voices, and was last updated 2 years, 7 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- March 25, 2022 at 5:20 PM #11121
I installed the Ivory Search plugin and I’m trying to understand how it works! I read the doc and saw some videos but it seems that I don’t have any result fields appearing on my side! Did I forget to configure something somewhere? When I write a word and I validate nothing happens… In the example of my search (on the image), the word does exist on an article on the site, but nothing happens!
<div> <?php echo do_shortcode('[ivory-search id="201" title="Default Search Form"]'); ?> </div>
Attachments:
You must be logged in to view attached files. - March 25, 2022 at 7:34 PM #11127
I hope you are well today and thank you for your question.
Is the word in a post or page and in the content or excerpt area?
Could you please share your site URL where it’s happening so that I can troubleshoot it?
Best regards,
Ivory Search Support - March 25, 2022 at 8:17 PM #11128
thank you for your reply ! Unfortunately I can’t give you a url address because I’m working on this project in localhost.
For the words, it’s on a page in a text box (it’s an article created by a custom post type)
As you can see in image 2, the search word “l’équipe” is in the title and also in the text. I tried with different words which are also in the text but the result is the same…
- March 25, 2022 at 8:35 PM #11129
For the words, it’s on a page in a text box
Is the textbox built-in content area or excerpt area or custom field?
(it’s an article created by a custom post type)
Have you configured the search form to search this custom post type?
As you can see in image 2, the search word “l’équipe” is in the title and also in the text. I tried with different words which are also in the text but the result is the same…
Could you please share the screenshots having English text and also try adding and searching plain English words such as team?
- March 28, 2022 at 3:10 PM #11175
Is the textbox built-in content area or excerpt area or custom field?
This is a custom field create with ACF
Have you configured the search form to search this custom post type?
You are talking about the “extra” in the Search Forms part ? I left a lot of basic settings that seemed very good to me and if you look at the image you will see that I have validated the search for customs fields.
Could you please share the screenshots having English text and also try adding and searching plain English words such as team?
Of course ! You will also find images concerning the other two questions…
That said, I’m not sure how it works! Does a result field appear when you enter at least 1 character, or does the result field appear only after validating the search, by pressing enter? Because I have no result field that appears in both casesAttachments:
You must be logged in to view attached files. - March 29, 2022 at 8:34 PM #11203
You are talking about the “extra” in the Search Forms part? I left a lot of basic settings that seemed very good to me and if you look at the image you will see that I have validated the search for customs fields.
Just to be sure, please share a print of this part of the configuration: “Post Types” as shown in the attached image.
Attachments:
You must be logged in to view attached files. - March 30, 2022 at 1:09 PM #11209
Hello 🙂
So, I tested by changing the theme and that answered some of my questions:
Does typing a search in the field dynamically display a result just below as soon as the user writes characters: No
Is this normal: I don’t know…
Is there a result when I press enter: Yes
In what form? In a new page!On the other hand the search field is not displayed everywhere while the shortcode is in my header.php but I guess that the change of theme has something to do with it…
By doing the same search in the same place of the site with my theme, when I press enter, it sends me to the front-page
So, based on this test, the problem would therefore come from the theme? But after knowing how to fix this problem…
Here is a image of the configuration: “Post Types”
Attachments:
You must be logged in to view attached files. - March 30, 2022 at 6:41 PM #11215
- March 31, 2022 at 2:14 PM #11224
It works great with “AJAX Enable” Many thanks! However, I still have the same problem when the user presses Enter! It always returns to the front page
- March 31, 2022 at 7:24 PM #11228
The search results will be shown on the front page, it is the default behavior.
- April 1, 2022 at 1:01 PM #11240
OK ! But I have no results displayed on my homepage! How can we change this default behavior?
I also discovered another problem in the meantime, the dynamic search with AJAX shows me, in the search results, pages that no longer exist… How can we “reset” this? I tried clearing my browser cache but that didn’t change anything. I also disabled and re-enabled the AJAX search but the result remains the same 🙁Attachments:
You must be logged in to view attached files. - April 1, 2022 at 1:22 PM #11243
- April 1, 2022 at 6:46 PM #11246
Do you have a server-side cache (maybe a plugin) enabled?
Could you try disabling all other plugins to test it?Another thing you may try is to reset the Search Form, clicking on the “Reset” button located near the “Save Form” and “Duplicate” buttons.
Also, please configure the permalinks settings in your wp-admin area,
clicking on Menu Settings > Permalinks. Please choose one other than “Plain”, like Post name or another option. - April 1, 2022 at 7:19 PM #11247
The “reset” option works great!! Thanks again 🙂
But I have not yet solved the problem of the search which is not displayed on the front page and of being able to redirect it! - April 1, 2022 at 10:46 PM #11251
Is the AJAX search returning results and when hitting enter there is no results?
Do you want to redirect the results to another page other than the default front end?
- April 6, 2022 at 1:51 PM #11311
- April 7, 2022 at 7:43 PM #11354
The ajax search gives me many results! It works great! But if I press Enter, it returns me to the front-page with no results.
This can be a theme issue used on your site so to confirm it just temporarily use the Twenty Twenty One theme on your site. If everything works fine then it’s your site theme issue.
Could you please share the page URL from your site where it is happening so that I can troubleshoot it?
I would like to redirect the results to another page by default
To achieve this, you have to develop custom code.
If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site or WordPress agency.
You can also consider us to develop it for you using the form https://ivorysearch.com/custom-work/
- April 11, 2022 at 12:39 PM #11405
I have already done the test with twenty twenty one and indeed it works well, there must indeed be a problem with my personalized theme, I cannot share the link of my site because I work in localhost, but I can share screenshots of my code. I’m a junior web developer and I wanted to take care of page redirection myself, so what do you mean by custom code? What code and where?
- April 11, 2022 at 7:31 PM #11410
I have already done the test with twenty twenty one and indeed it works well, there must indeed be a problem with my personalized theme, I cannot share the link of my site because I work in localhost, but I can share screenshots of my code.
If it is your theme issue then please contact the theme support to resolve it.
I’m a junior web developer and I wanted to take care of page redirection myself, so what do you mean by custom code? What code and where?
The custom code means you have to develop code yourself to achieve this. There is no already developed code or solution for it.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login