• Resolved kajalpanja

    (@kajalpanja)


    Hello Sir we have a job portal website link of that site is https://rojgarhunt.com/. We are using wp job manager for job posting.When we search for a job in google jobs other companys jobs are showing with salary but our is not showing. can you explain us what is the problem?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Elizabeth (a11n)

    (@helizabethan)

    Hi there,

    Firstly, ensure that you have added the Google Maps API to your website and that geocoding is functioning correctly. You can verify this by referring to our documentation here: link to documentation on geocoding with Google Maps API.

    Secondly, make sure that you have enabled the salary field. The Salary field is an optional feature that can be activated under Job Listings > Settings > Job Listings. Enabling this feature allows users to include a salary when submitting a job.

    Additionally, please use the Google Search Console to inspect your site’s structured data for any potential issues. If you use Google’s Search Console tool, you may receive notifications about errors or warnings associated with your job listings. Visit our documentation page on resolving structured data issues for guidance.

    Thread Starter kajalpanja

    (@kajalpanja)

    We have donw everything you have tell in the reply. But still having same issue.

    Plugin Support Elizabeth (a11n)

    (@helizabethan)

    Hello,

    I am sorry to hear that you are still experiencing the same issue.

    To ensure Google picks up your salary data for your listings, you’ll need to add the following code (edit currency and unitText accordingly) to your functions.php file, you can also add it using the Code Snippet plugin:

    <?php
     
    // Add Google structured data
     
    add_filter( 'wpjm_get_job_listing_structured_data', 'add_basesalary_data');
     
    function add_basesalary_data( $data ) {
    global $post;
     
    $data['baseSalary'] = [];
    $data['baseSalary']['@type'] = 'MonetaryAmount';
    $data['baseSalary']['currency'] = 'USD';
    $data['baseSalary']['value'] = [];
    $data['baseSalary']['value']['@type'] = 'QuantitativeValue';
    $data['baseSalary']['value']['value'] = get_post_meta( $post->ID, '_job_salary', true );
    $data['baseSalary']['value']['unitText'] = 'YEAR';
     
    return $data;
    }

    For more understanding of how this works, please take a look at our documentation page here: https://wpjobmanager.com/document/developer-reference/code-snippets/tutorial-adding-a-salary-field-for-jobs/#adding-salary-to-google-structured-data

    Please let me know if it works to resolve your issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google not crawling salary in google job search’ is closed to new replies.