Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter elvisc1

    (@elvisc1)

    found the problem

    the Theme functions used wrong option to get the key

    Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    Hey @elvisc1, thanks for the followup. Could you tell us what the theme was, and how you fixed it?

    Thanks!

    Thread Starter elvisc1

    (@elvisc1)

    @jenhooks,
    We use theme Listable Child By PixelGrade.

    The problem was in the Theme functions, method listable_scripts

    This return empty key
    $google_maps_key = listable_get_option( ‘google_maps_api_key’ );

    I changed to:
    get_option( ‘job_manager_google_maps_api_key’ );

    Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    Hey @elvisc1,

    Belated thanks!

    Can you expand on how I can fix this? it seems its happening to me too

    I use this too We use theme Listable Child By PixelGrade. I cannot find where to make this mod like the fix

    cannot find the .php file

    Thread Starter elvisc1

    (@elvisc1)

    Hi,
    I refer to the functions.php file
    It is located under Listable folder:
    wp-content\themes\listable

    Locate in the code: function listable_scripts()

    Change:
    $google_maps_key = listable_get_option( ‘google_maps_api_key’ );

    To:
    $google_maps_key = get_option( ‘job_manager_google_maps_api_key’ );

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error on google maps’ is closed to new replies.