SIte breaks when Search form is customized

Homepage Community Forums Epik Theme Support SIte breaks when Search form is customized

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14677
    designkombinat
    Customer

      I used this code snippet as Toolbox-Module, but when activated I get a blank screen.

      Am I doing something wrong or do I need some kind of special function when using Genesis snippets outside Genesis (such as with Toolbox) to register?

      #14696
      Eric
      Customer

        As someone mentioned here – https://appfinite.com/topic/how-do-i-change-the-search-placeholder-text/#post-14671 you don’t need to add that code since it is already inside of your functions file. Adding that code would cause a duplicate code error, and you’ll get the white screen as you’ve seen. You just need to adjust the code that is already provided in your theme.

        In the future please try and avoid creating duplicate posts with the same question/issue. If you were unable to reply to your original post for any reason, then that can be resolved by clicking your Reload button on your browser (this usually fixes that issue if that’s what happened)….This happens to a couple users every once in a while, here is more info – https://appfinite.com/topic/having-trouble-logging-in/


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #14726
        designkombinat
        Customer

          Ok I understand and thanks for replying, but my point was, that I don’t want to change the child theme functions and use Toolbox instead.

          #14736
          Eric
          Customer

            If you want to add it using an external source you can, you just need to change the function name. The issue is having two of the same functions, so once you add the code I suggested and change that name your theme shouldn’t run into that duplicate error issue.

            Example, change the – custom_search_text in the code to something like custom_search_text2 instead……you can change it to whatever you want, just make sure its different.


            I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

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