I have created a custom attribute and selected all the options for it to show in search. But it still doesn’t appear on the search form on my home page
Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, ensure that caching is disabled for logged-in users. If this issue exists, please send a screenshot of all settings of this attribute.
I have disabled the plugins as you said, but it still doesn’t work. The attribute only shows up on the Search bar on the categories page. See screenshots of settings below.
You have restricted this attribute to categories, so it will not be displayed by default, you need to select a category, click search, then it will be displayed in the search.