• Resolved webevo5

    (@webevo5)


    Hi,

    Can I get some advice on the getting the field pertaining to the company logo in the job boards for WP Job Manager?

    https://mauritiusfinance.com/wp-json/wp/v2/job-listings

    author": 5,
            "featured_media": 920,
            "template": "",
            "meta": {
                "_acf_changed": false,
                "_promoted": "",
                "_job_location": "Ebene",
                "_application": "[email protected]",
                "_company_name": "Mauritius International Trust Company Ltd",
                "_company_website": "https://www.test.com/en",
                "_company_tagline": "",
                "_company_twitter": "",
                "_company_video": "",
                "_filled": 0,
                "_featured": 0,
                "_remote_position": 0,
                "_job_salary": "",
                "_job_salary_currency": "",
                "_job_salary_unit": ""

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • @webevo5

    The default meta key of the compnay logo is this one here:
    company_logo

    Plugin Support Elizabeth (a11n)

    (@helizabethan)

    Hi there @webevo5 ,

    If you are looking at prefilling your company logo, you can use the code snippet from our documentation.

    add_filter('submit_job_form_fields', 'dm_prefill_company_logo'); // for users not logged in
    add_filter('submit_job_form_fields_get_user_data', 'dm_prefill_company_logo'); // for logged in users
    function dm_prefill_company_logo( $fields ) {
      $fields['company']['company_logo']['value'] = 'full_url_to_the_logo';
      return $fields;
    }

    Let me know if you have any more questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Job Board – Company Logo meta field’ is closed to new replies.