Whitespace below map
-
The leaflet map is displayed correctly (width 100%, height 450), but is followed by many lines of blank space.
A previous answer on the same topic recommended adding the function:
remove_filter(‘the_content’, ‘wpautop’);
add_filter(‘the_content’, ‘wpautop’, 99);
add_filter(‘the_content’, ‘shortcode_unautop’, 100);I did so, but get the same result. However, the problem is resolved if the function is just:
remove_filter(‘the_content’, ‘wpautop’);Can someone explain the significance of the add_filter lines?
Could their absence have any unintended consequences?Andy
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Whitespace below map’ is closed to new replies.