title: Why custom.js only error in homepage, in several page is working properly?
body: <p>I have some trouble with my wordpress (<a href="https://dev.smanegeri1sindang.sch.id/" rel="nofollow noreferrer">https://dev.smanegeri1sindang.sch.id/</a>). When I open console, the result like in below.</p>
  
  <pre><code>custom.js?ver=5.4.1:542 Uncaught TypeError: $(...).selectmenu is not a function
      at HTMLDocument.&lt;anonymous&gt; (custom.js?ver=5.4.1:542)
      at i (jquery.js?ver=1.12.4-wp:2)
      at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
      at Function.ready (jquery.js?ver=1.12.4-wp:2)
      at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
  </code></pre>
  
  <p>And when I click search button, the button is not showing and not working. But when I navigate to <a href="https://dev.smanegeri1sindang.sch.id/?page_id=58" rel="nofollow noreferrer">https://dev.smanegeri1sindang.sch.id/?page_id=58</a> all error in above it's clear and search button are working properly.</p>
  
  <p>My Question is : What Should I Do and Have any Idea to Fix It ?</p>