Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the exact same problem. I use the Google Maps Api on many sites and never had a problem.

    But with this Plugin it says NoAPiKey AND your request quota for this Api is exceeded. But I checked multiple times and everything should work.

    The weird things is.. in the Backend the Map works. I double checked, when I delete the API key from the settings it doesn’t work in back- nor frontend but if I copy the API Key into the field, the backend map works. Any Idea why? I already checked, no other plugins are using a google maps and the only appearance in the source code in the front end is in an array called ‘EM with “google_maps_api”: “API_KEY”

    Any idea what is going on?

    Forum: Fixing WordPress
    In reply to: Closing – tag
    Thread Starter clgrmn

    (@clgrmn)

    I have a local installation of wordpress with understrap as a parent theme.

    I just wanted to try something in the wordpress editor, created the structure as told above and wanted to inspect it in chrome.

    But I already figured out what is probably causing the problem. I had following function in my functions.php to remove empty <p> – tags.

    
    add_filter('the_content', 'remove_empty_p', 20, 1);
    function remove_empty_p($content){
       $content = force_balance_tags($content);
       return preg_replace('#<p>\s*+(<br\s*/*>)?\s*</p>#i', '', $content);
    }

    After removing this function the main tag is closed as it should be. (after the sections)

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