• Resolved saiborg333

    (@saiborg333)


    Hello,

    I am getting the infamous javascript/CSS not loaded (in Italian).

    I have followed the faq and copied this portion of code in the functions file for the homepage:

    function bgmpShortcodeCalled()
    {
    global $post;

    if( ( function_exists( ‘is_front_page’ ) && is_front_page() ) || ( function_exists( ‘is_home_page’ ) && is_home_page() ) )
    add_filter( ‘bgmp_map-shortcode-called’, ‘__return_true’ );
    }
    add_action( ‘wp’, ‘bgmpShortcodeCalled’ );

    My theme (kallyas) is using its own builder, called zion builder. If I paste the shortcode inside the zion builder the map does not show up, but if I paste it in a page where the builder is disabled,l it shows up.

    Problem is, I need to use that builder because the rest of the page is structured with it.

    Is there a way to force the javascript and CSS to always load no matter what? I would really like to use your plugin because I can then filter the location markers for some other stuff I need to do.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Maps not loading, javascript/css error. I added the function for the homepage’ is closed to new replies.