Looking at your code and the fact that the values are on an options page, I see no reason that this code should not be executed and show the values on the search result page. The only reason I can come up with is that is code is not loaded in the header for the search results page.
Do you have a “search.php” template in your theme? Does this template load the file that contains your code in the header?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users