Mad Max
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] Custom MarkersSee also this.
Forum: Plugins
In reply to: [WP Store Locator] Different markers per category@tijmensmit: could you please specify which plugin and give some more tips about this workaround? Thanks
Forum: Plugins
In reply to: [WP Store Locator] Customize code/position of reset and autolocate buttons@toca711: I’ve created a custom template and added class
wpsl-icon-directionto an input of type button.
Then I’ve added some lines of css style to override the style of.wpsl-icon-direction<input id="wpsl-custom-locate-btn" class="wpsl-icon-direction" value="NEAR ME" type="button">Alternatively, you can add some lines of js to trigger the click on the wpsl original button, when a user click on your custom button. Something like this:
jQuery(function($) { $('#wpsl-custom-locate-btn').on('click',function(){ $('.wpsl-icon-direction').trigger('click'); }); });Forum: Plugins
In reply to: [WP Store Locator] Customize code/position of reset and autolocate buttonsStill on the subject of customization, I think that ids and classes you use for functional pourpose, like
#wpsl-search-btnor the.wpsl-icon-directionabove, should not be used to apply styles to these elements.
For example, when I add thewpsl-icon-directionclass on my custom button to make it trigger the geolocation request, it inherits all css rules used for the default geolocation button and I’m forced to override all rules that don’t apply in my specific custom layout.
It would be great if adding a particular class or id to a user custom element, it would inherit only the required functionality and not even some css rules.Forum: Plugins
In reply to: [WP Store Locator] Customize code/position of reset and autolocate buttonsThanks a lot! Using this class on my custom form button, works great. Maybe you should add this tip in the docs.
Oh, and thanks for you super quick response. Excellent support!
Forum: Plugins
In reply to: [If Menu - Visibility control for Menus] feature request: custom rolesGreat, thanks! I’m going to try the new version asap!
I was also having this problem till version 2.3. Now with 2.3.1 it works great! thanks!
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Bilingual site with WPMLThat’s true, but this makes cookie-notice compatible only with the premium version of wpml and not even the cheapest one.
I’ve modified your code a little, just to parametrize the plugin options name so I can have an option saved in the db for each language setted up in WPML.
Let me know if it can be of some interest to you.Thanks again for your quick support.
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Bilingual site with WPMLThanks, but I don’t have string translation tool in my WPML “blog” version. It should work without string translation tool, saving a separate option for each language.
Please consider to switch to this mode for multilanguage ina future release.Thanks, Daniele-
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Bilingual site with WPMLhow can I translate my custom cookie message in all languages available on my site? Cookie-notice uses the same message on all languages.
thanks Jeff, I will contact you ASAP.
yep, but adding some lines of code to the plugin.
I’ve made some minor changes in the plugin code to integrate an option for anonymize IPs and another one to exclude tracking code on front-end for admin users. Is ther an official repo for this plugin on github where I can send a pull request?
Thanks, Daniele.
I can’t see a way to add
ga('set', 'anonymizeIP', true);with “Enable Universal Analytics” checked in the options panel. It should be inserted after:
ga('create', 'UA-xxxxx-xx', 'xxxxxxxxxxxxx.xxx');How can I do it without touching the plugin code?
Forum: Fixing WordPress
In reply to: WP 4.2 Apache Segmentation on Plugin & Theme UpdateIt seems fixed now with WP 4.2.2