I have been using Zurb’s Foundation framework for a while now, and it seems like every time I create a WordPress theme out of it, I run into issues with the mobile top bar menu breaking.
It turns out the issue has to do with the fact that Zurb doesn’t like the version of jQuery that ships with WordPress. To fix the problem, two steps need to happen:
- Fix the jQuery noConflict issues with foundation.min.js.
- Load a different version of jQuery as outlined below.
wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js'); wp_enqueue_script('jquery');
More detailed instructions can be found here. I hope this saves you some headache!
More posts from themightymo.com
Today I had an issue where I needed to merge two folders, each of which contained many sub- and sub-sub folders that had lots of images. After a lot of trial-and-error and some Googling, I found the best solution is to use the “ditto” command in Terminal like this: That’s it! Hat tip to AppleInsider.
I wasted some time today to bring you (dum dum duuuuum!): Some Surprising Trends in Website Development!
I was recently asked to look into creating some secure http headers as well as forcing a website to load over TLS1.2+. Below are my “how to” instructions for updating these settings within WordPress and Cloudflare. Install & Configure the Cloudflare WordPress plugin. Make sure an SSL Certificate is installed on your host for your…