• Resolved kibus90

    (@kibus90)


    Hello,

    I have problem with field “Location”. I realized that from long ago a custom field with location does not work well.

    What it means?

    A belov custom fields are not created durning add or edit job listing (in front-end and back-end).

    ‘geolocated’
    ‘geolocation_city’
    ‘geolocation_country_long’
    ‘geolocation_country_short’
    ‘geolocation_formatted_address’
    ‘geolocation_lat’
    ‘geolocation_long’
    ‘geolocation_state_long’
    ‘geolocation_state_short’
    ‘geolocation_street’
    ‘geolocation_street_number’
    ‘geolocation_zipcode’
    ‘geolocation_postcode’

    Even I istalled nulled version of WordPress and WP-Job-Manager and there also it does not work.

    Can you help me with it?

    Grettings,
    Dariusz

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi!

    If you go to Job Listings -> Settings, do you have a Google Maps API key listed there?

    https://wpjobmanager.com/document/geolocation-with-googles-maps-api/

    Thread Starter kibus90

    (@kibus90)

    @richardmtl O I forgot write it – of course I have it. 🙂 The maps are loading and searching. But new added/edited locations do not have lang and lan… I tried already almost everything I guess.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Can you show me an example job listing with the problem, and tell me if it was added from the job submission form on the front end or not? The geolocation only happens for jobs submitted from the job submission form.

    Thread Starter kibus90

    (@kibus90)

    @richardmtl

    Hi!

    Thank you for your reply.

    Here is the exapmle:
    https://olexy.pl/wpjm/index.php/job/company-name-londyn-2-front-end-developer/

    Most of time I add via job sumbission form (or just with option “duplicate”)

    But I see that there is not working in anyway.

    You can login here and try it:

    https://olexy.pl/wpjm/

    On this installation there is only the WP Job Manager. And Google API is setted in settings.

    P. S. The fields also is not addef after edit job location through the job submission form.

    • This reply was modified 6 years, 6 months ago by kibus90.
    • This reply was modified 6 years, 6 months ago by James Huff. Reason: credentials removed
    • This reply was modified 6 years, 6 months ago by Jan Dembowski. Reason: Expanded short links
    Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi!

    That example job posting only has a city entered for the address, which is why you’re getting those warnings in Google’s Structured Testing Tool. You need to include a full address; Google can’t guess the address for you! 😉

    Can you show me a link to a job posting that has a full address yet has warnings in Google’s tool?

    Also, please do not include login credentials for a site here, even if a test or staging site. I have notified the moderators to delete the credentials. It’s not safe to do so, anyone can gain access to the site and potentially upload nefarious code. Note that I did not log into the site.

    Thread Starter kibus90

    (@kibus90)

    Hi @richardmtl

    Thank you for your advice 🙂

    But it does not mean about Google Tools. It means even I want to aplly a custom code (FacetWP) for Searching location, then I am missing many job offers, because they have not this custom fields (location coordination).

    But before I put e.g. “Amsterdam, Netherlands” then the fields were filled in. Now it is not happening… In anyway…

    Even I try to put full address, there is nothing happening. I think that there is not a problem with content of this field… I think it is something with Google…

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Another side note: @kibus90 Please do not use short links either, those get expanded when found and I have expanded yours.

    Thread Starter kibus90

    (@kibus90)

    @jdembowski

    I am using it just to avoid indexing my domain via Google. 🙂 I do not have any problem with expending it.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    But before I put e.g. “Amsterdam, Netherlands” then the fields were filled in. Now it is not happening…

    But, for that particular listing that you shared, the Warsaw field *was* filled in; I see it in source, meaning that it should be there in the custom field in the back-end as well.

    Thread Starter kibus90

    (@kibus90)

    Hi @richardmtl

    Unfortunately there is not…

    For this and for all which are listed.
    https://olexy.pl/wpjm/index.php/job/company-name-amsterdam-netherlands-2-front-end-developer/

    And also with full address… The custom fields are empty.

    Screenshot:
    https://prnt.sc/ph3icz

    • This reply was modified 6 years, 6 months ago by kibus90.
    Thread Starter kibus90

    (@kibus90)

    Okey, I found out where is a problem!

    The problem is with the Google API.

    I created a function to get respond from Google API and I got this result:

    Array ( [error_message] => API keys with referer restrictions cannot be used with this API. [results] => Array ( ) [status] => REQUEST_DENIED )

    I created a new Google API and I restricted it just for IP server (before I restricted the API for websites e.g: mywebsite.com)

    Now geocodding works for WP Job Manager.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Oh, I’m glad you found that! Glad you solved it!

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

The topic ‘WP Job Manager does not create the custom fields with location’ is closed to new replies.