Reputation: 295
I wrote a simple jquery function that loads on document ready. It should detect user agent. My site is a WordPress site. My script works in a standard HTML page but not in WordPress. Any ideas?
Upvotes: 0
Views: 127
Reputation: 295
Turns out you had to replace the usual $() to jquery() in WordPress.
Upvotes: 1