Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save feastdesignco/54128474021374785d2a028c5f379be3 to your computer and use it in GitHub Desktop.
add_action( 'wp_enqueue_scripts', 'cookd_reenqueue_js' );
* Add this to the code snippets plugin
* Adds the javascript necessary for the FacetWP plugin to function, when using the Feast Plugin's Modern Mobile Menu
* We're dropping support for FacetWP and recommend a more modern setup using proper categories:
function cookd_reenqueue_js() {
COOKD_URI . 'js/general.js',
array( 'jquery' ),
* You'll also want to hide the old theme menu by adding this to your "Additional CSS":
* .menu-toggle{display:none;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment