title: Removing elements by ID using jquery in WordPress
body: <p>I'm trying to remove all elements with a specific ID (and children) using jQuery within a WordPress website on page load. I'm using the following with no success:</p>
  
  <pre><code> &lt;script&gt;
   $(document).ready(function(){    
    $("#contentLeft").remove();
   });
   &lt;script&gt;
  </code></pre>
  
  <hr>
  
  <p>There are many pages containing this ID, but there is only one instance per page. Should I place the script in the , before the , after the , etc? Any help would be appreciated.</p>