Jobs & Experts - mandatory fields

Hi,
The plugin is great!
The fields budget, contact, date, are great..., but I don't want them to be mandatory.
How can I do ?
I would like also not to specify 3-7-14-21 days. And having the jobs always posted.
Thanks a lot.

  • Jude
    • DEV MAN

    Hey wildmix

    Hope all is well with you and you are having a great week !

    This is not possible out of the box with the plugin. That said, we can edit this with a small snippet of custom code.

    add_filter( 'je_job_validation_rules', function($a) { return array(); } );

    Insert that into either your theme's functions.php, or you can insert it as a mu-plugin.

    To create an mu-plugin, go to your /wp-content/ folder via FTP, and find the folder called "mu-plugins". If there is no folder with that name, then you'll want to create one. Then, create a file inside that folder, and give the file any name you like (making sure the file as an extension of .php, e.g. example.php) and paste the code in there.

    You don't need to activate that plugin, as it will be always be automatically activated. Please be sure to add a PHP start tag at the beginning of the code if you insert this code as a mu-plugin, like this:

    <?php

    Thank you for being a WPMU DEV member and have a fantastic day !

    Cheers
    Jude

    • wildmix
      • WPMU DEV Initiate

      Great, it's working ! Thank you for your reactivity.
      I added another question while you answered me, so my 2nd question is : I would like also not to specify 3-7-14-21 days. And having the jobs always posted.
      Thank you!

  • wildmix
    • WPMU DEV Initiate

    Great, it's working ! Thank you for your reactivity.
    I added another question while you answered me, so my 2nd question is : I would like also not to specify 3-7-14-21 days. And having the jobs always posted.
    Thank you!

  • Luís
    • Support

    Hi wildmix ,

    Hope you're doing well today!

    Firstly, I would like to apologize the extreme delay in the reply here, but for some reason this topic was lost in our feed.

    Regarding to your question about remove the "Open for" option from the jobs, can you please try the suggestion given by Michael in the below topic?

    https://premium.wpmudev.org/forums/topic/my-client-is-wanting-to-use-the-jobs-experts-plugin#post-89839

    The topic is a bit old, however, I tested the code in my install with the last version of the Jobs and Experts (1.0.2.4) and it worked properly.

    I hope this information has been helpful.

    Cheers, Luís

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.