Title: Simon IT's Replies | WordPress.org

---

# Simon IT

  [  ](https://wordpress.org/support/users/simon-it/)

 *   [Profile](https://wordpress.org/support/users/simon-it/)
 *   [Topics Started](https://wordpress.org/support/users/simon-it/topics/)
 *   [Replies Created](https://wordpress.org/support/users/simon-it/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/simon-it/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/simon-it/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/simon-it/engagements/)
 *   [Favorites](https://wordpress.org/support/users/simon-it/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Responsive Slider] Slider Settings Not Displaying for Site Using SSL](https://wordpress.org/support/topic/slider-settings-not-displaying-for-site-using-ssl/)
 *  [Simon IT](https://wordpress.org/support/users/simon-it/)
 * (@simon-it)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/slider-settings-not-displaying-for-site-using-ssl/#post-9234926)
 * Hi.
 * In classes/options.php, remove the spaces before and after the colon on line 
   309.
 * In original, it is
 * $url .= $_SERVER[‘SERVER_NAME’] . ‘ : ‘ . $_SERVER[‘SERVER_PORT’] . $_SERVER[‘
   PHP_SELF’];
 * but should be
 * $url .= $_SERVER[‘SERVER_NAME’] . ‘:’ . $_SERVER[‘SERVER_PORT’] . $_SERVER[‘PHP_SELF’];
 * BR
    /Simon
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Zoom to Marker from Store list](https://wordpress.org/support/topic/zoom-to-marker-from-store-list/)
 *  [Simon IT](https://wordpress.org/support/users/simon-it/)
 * (@simon-it)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/zoom-to-marker-from-store-list/#post-5098330)
 * Thanks for your hint!
    A friend helped me complete the function. Here is that
   solution:
 *     ```
       /* Zoom to store */
       $("#wpsl-stores").on('click', '.zoom-to-store', function() {
       	var i, len, $parentLi = $( this ).parents( "li" ), storeId = $parentLi.data( "store-id" );
   
       	for ( i = 0, len = markersArray.length; i < len; i++ ) {
       		if ( markersArray[i].storeId == storeId ) {
       			map.setCenter( markersArray[i].position );
       			map.setZoom( 15  );
   
       			return false;
       		}
           }
       });
       ```
   
 * String to insert at html = “<li data-store-id='” + id + “‘>
 *     ```
       "<br><a class='zoom-to-store' href='#'>Zoom in map</a>"
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Zoom to Marker from Store list](https://wordpress.org/support/topic/zoom-to-marker-from-store-list/)
 *  [Simon IT](https://wordpress.org/support/users/simon-it/)
 * (@simon-it)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/zoom-to-marker-from-store-list/#post-5098327)
 * Yes!
 * This is also a function I need, but how do I add the the function as a separate
   link eg. above “Show directions”?
    I want to keep the URL to the store homepage
   function.
 * Something like this:
    Store name (with url link) Address Distances Zoom here 
   Directions
 * Thanks Tijmen, for this great plug-in!
 * BR
    Simon

Viewing 3 replies - 1 through 3 (of 3 total)