• Resolved M@X

    (@cityz)


    Hi Guys,
    great plugin, keep forward!

    I have a question about the default logo on the job posting page (frontend part).

    I figure out that the system remembers which company’s logo user was used last time (during job posting) and uploads it by default into the features job postings.

    I don’t know if it’s a bug or a feature?

    If it’s a feature, how to turn it off?

    Maybe add some checkbox to settings, something like “upload by default last used company’s logo”.

    Thank you ??

Viewing 1 replies (of 1 total)
  • Hi @cityz

    I can see that you’d like to prevent the company logo from being prefilled; however, there isn’t an easy way around this, so you’ll have to insert some custom snippets that we have.

    First, you may want to install Code Snippets, which allows you to add custom code to your website in a more organized way.

    You can then create a new snippet and set it to run everywhere on your website. You’ll then add the following code there:

    
    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'] = '';
      return $fields;
    }
    

    Save and activate the snippet and this should work.

Viewing 1 replies (of 1 total)
  • The topic ‘Default Company Logo at Front End Part’ is closed to new replies.