Tag Info

Hot answers tagged

6

First of all this is what I use and for me and it works. I'm not saying that my code is 100% correct but Pingdom as well GTmetrix show a positive effect and WP is satisfied also, so it can't be that wrong as I do. The versions showing (?ver=x.x.x) can be debet when those files need to be cached so stripping(filter) that is already a first step. The code ...


2

Maybe I am on thin ice but lets try. Assuming that you already have the correct jquery version(you want to use) downloaded and copied to a folder. (The same js folder as the jquery.rwdImageMaps.js would be logical imho) Imho you also can delete folowing code part <script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ...


2

I hate answering my own question, but hopefully this can help someone else with similar issues: Wordpress uses Iris color picker. http://automattic.github.io/Iris/# Wordpress also creates a jquery widget with default settings for Iris. The file can be found under wp-admin/js/color-picker.js At first I was trying to pass values directly to iris(), which ...


1

Turns out it was the WooCommerce Jetpack Plugin all along. Stupid thing had something enabled which it didn't need. I guess that's what I get if I let a client access the plugin menu. Thank you, denis.stoyanov, for helping me find the solution!


1

You should always use a full URI when specifying a location of a resource (in this case a file). With relative URIs like you use for you data file here, the URI will be appended to the URL in the address bar which will result in surprising URLs when you use permalinks. In practice the pattern for developing such thing is to upload the files via the admin ...



Only top voted, non community-wiki answers of a minimum length are eligible