konnpp
Forum Replies Created
-
Forum: Reviews
In reply to: [Smooth Slider] Function create_function() is deprecatedHello rianovost,
The same thing happened to me, I fixed it by changing the 52 line of widgets_1.php (version 2.8.8) with the following:
add_action( ‘widgets_init’, function() { return register_widget(“Smooth_Slider_Simple_Widget”); } );
In file smooth_1.php:225 it includes the widgets_1.php file so I suppose it might fix all errors
@netweblogic I will have that in mind when we will plan the next update. Since Patrick’s plugin doesn’t cover all our needs, we will develop our own with hooks.
Once again, thank you for EM plugin, and keep up the good work!
There isn’t any problem Patrick! We didn’t knew the existence of OpenCage service and your plugin before we made our modification.
OpenCageAPI needs a registration to use their API (even for free). For maximum 20 requests per month there isn’t any reason to make even a free registration.
About the format of the address, our needs are to type the address (we don’t want to place or move the mark by hand on the map), and the service returns the coordinates.
Patrick (@duisterdenhaag), Marcus (@netweblogic),
thank you guys for your immediate answers! It took me some time to reply since we wanted to try first Patrick suggestion. It seems a solid alternative to google maps!
Still, since our needs to put new locations on events are maximum 5 per week, we based our requests (Address to Coordinates) on nominatim.openstreetmap.org.
Also due lack of time, we made the modifications on the source, rather build our solution using hooks/filters of your plugin Marcus. That could be a future project.
Cheers,