Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Disable scroll zoom not working on results page #58886
    wisebuilds
    Member

    The code tag is not accepting single quotes so lets try it in a blockquote:

    function wbs_gmw_disable_scroll_zoom( $map_element ) {

    $map_element[‘map_options’][‘scrollwheel’] = false;

    return $map_element;
    }
    add_filter( ‘gmw_map_element_1’, ‘wbs_gmw_disable_scroll_zoom’, 50 );

    in reply to: Disable scroll zoom not working on results page #58883
    wisebuilds
    Member

    Hi Lee,

    A little late, but since I found this topic, here is a working snippet for Geo my WP v 3.2.1:

Viewing 2 posts - 1 through 2 (of 2 total)