Support » Plugin: WP Job Manager » WPJM Structured Data Editing

  • Resolved dubaidogfish

    (@dubaidogfish)


    Hi, checking on the structured data tool https://search.google.com/structured-data/testing-tool for a job listing I get a warning “The property identifier is not recognized by Google for an object of type URL.” for:

    {“@type”:”URL”,”@id”:”https:\/\/www.example.com\/wp-content\/uploads\/job-manager-uploads\/company_logo\/2019\/04\/somelogo.png”}

    If the “URL” is changed to “imageObject” in the test console that warning disappears.

    Where/how in WPJM files can I make this actual edit?

    I have also disabled any use of maps and google maps api and just have pre-selected regions using the WPJM Regions plugin instead so would like to know where to apply these regions to the addressRegion field in the schema, to get one less warning. Currently I only have it as a name:

    
     jobLocation	
    @type	
    Place
    address	
    @type	
    PostalAddress
    name	
    <a href="https://www.example.com/job-region/dubai/">Dubai</a>
    warningaddressLocality	
    The addressLocality field is recommended. Please provide a value if available.
    warningaddressRegion	
    The addressRegion field is recommended. Please provide a value if available.
    warningpostalCode	
    The postalCode field is recommended. Please provide a value if available.
    warningstreetAddress	
    The streetAddress field is recommended. Please provide a value if available. 
    

    Thank you.

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

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

    (@richardmtl)

    Hi!

    If the “URL” is changed to “imageObject” in the test console that warning disappears.

    I don’t know how or why you’re getting this result. It’d be easier for me to figure it out if you could provide an actual URL that I can test in Google’s tool.

    I have also disabled any use of maps and google maps api and just have pre-selected regions using the WPJM Regions plugin instead so would like to know where to apply these regions to the addressRegion field in the schema, to get one less warning.

    Well, Google really wants a full address. In any case, addressRegion is usually the state or province:

    https://schema.org/addressRegion

    Am I missing something in your question?

    Hello,

    Thank you for replying. The situation is the same for any job I post but here’s an example url to try the link in the first post

    I have read into the job regions section https://developers.google.com/search/docs/data-types/job-posting and google say the United Arab Emirates is supported for region availability. Basically there are 8 Emirates in the country which equate to States. When posting/searching a job you can select from these 8 regions only, I added them to my WPJM Regions predefined list just by typing them in. I would like those values to take their place in the addressRegion section, currently if you look on the test tool that only comes under address – ‘name’.

    That level of address is as far as I would like it to go for several reasons, one there is no well known address structure in the country, businesses still list their address as behind the gas station near xyz mall, using google maps addresses with pin drop nearly always returns ‘unnamed road, unnamed road, some emirate’ and finally the country is small enough that if you know which emirate the job is in everything is commutable anyway. I think asking job posters to drop pins will just drop users and am trying to avoid the use of google maps APIs.

    Thank you.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi!

    Thanks for your explanations, what you say makes sense.

    I added them to my WPJM Regions predefined list just by typing them in

    That plugin isn’t made by us. So at this point, I think you’ll need to ask them for help:

    https://wordpress.org/support/plugin/wp-job-manager-locations/

    If you encounter the same issues when manually entering the location in the job submission form (without using that plugin), let me know.

    OK will ask them on that region issue.

    Any insight on the imageObject/URL part of the question for the logo?

    Thanks

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Any insight on the imageObject/URL part of the question for the logo?

    I’m unable to reproduce that error on any of my test job listings on my own test site. There must be something in your site’s setup that’s causing it. Maybe your theme? Try switching themes temporarily and then running the test again.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.