{"_id":"@awsmin/frontity-wp-job-openings","_rev":"2-254e5c34acbbb38eb451f385abaacc20","name":"@awsmin/frontity-wp-job-openings","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@awsmin/frontity-wp-job-openings","version":"1.0.0","description":"Frontity package for WP Job Openings Plugin","keywords":["frontity","frontity-awsmjobs","wordpress","react","wp-job-openings","jobs","careers"],"homepage":"https://github.com/awsmin/frontity-wp-job-openings#readme","bugs":{"url":"https://github.com/awsmin/frontity-wp-job-openings/issues"},"license":"GPL-2.0-or-later","author":{"name":"Awsm Innovations"},"repository":{"type":"git","url":"git+https://github.com/awsmin/frontity-wp-job-openings.git"},"dependencies":{"frontity":"^1.8.0","@frontity/html2react":"^1.3.3","@frontity/wp-source":"^1.7.1","react-google-recaptcha":"^2.1.0"},"publishConfig":{"access":"public"},"gitHead":"a4624f0a8ba9d65c3900557be562fbe595c79133","_id":"@awsmin/frontity-wp-job-openings@1.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-JlrzB6d1k4Sa4/DzFBpduw9x6G/KZSiC1X0Im+I2XO65pGXEecgn4wK5h/oQdIAS98HLQXO1aWCxMEBXE6MVrA==","shasum":"2e94ee33a784dac99ebd2f2151b67c86c50954f8","tarball":"https://registry.npmjs.org/@awsmin/frontity-wp-job-openings/-/frontity-wp-job-openings-1.0.0.tgz","fileCount":19,"unpackedSize":22768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/jkBCRA9TVsSAnZWagAAduMQAJzowK8iCxO2grpVGPBP\nsa8iJMkrQnZP4oNQEFGzTn1v4FwNzkr8P1UP+hmtEjeL+MMaLKtRPR/f51t4\nIBpe6KyF6vaBO5lL5TxpSTmpvh41rtTkyeutooN/qBqkAfLTeS9M+bWrBnxY\nO5mmAklmuQlVUiXl26WrAqifOyVKQpN57JQGfbhrbns39BK4Imr0+J8qYQKA\nWmXexzZcFSIcGHFBQ44ppd6f6FhihWFe35+i0QpoeknKyK7b0+aT4NWedw5Q\nq1NunsMqTSJoYzTdkbzUKYp48GyVMesfhnlpZvNDkJvK7IYy4fYNYy1sNAe+\nHNM6dpHk3YuCH+sDjaukNX3alVrUVvWa7uExEC8Qq4YO+N3YjSMV0Dp7YQGH\nu1YmN1f+PRcVFC6zzEcXB06r79uc8R3OEXXh1IjqpzwM5ZWMGFCwMiz5HWRe\nFh6t97NXf0I87K8sJr/6Tome6a3OJe6iRRLoEigktxpCV+xGKkOT26yDrBRD\nJq2o7CsQosjZViOIC+xVslx21EvZ9vJ1OTUI68XLqIh96LrYF0P9jWpIW+xn\nMmhxKo3GgShyA7mSja+QyvktWypUWTcOWdM14vssH+3kNqHyRPU4KgDHkU8n\n0pgMzHRXLC07V91yxnUkvr2kBJv7z6VesN2/A8q3NexGsZhShbieJy4lwv5q\nkBPW\r\n=NWQM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJIFHr59bX9olVxgMioj9Yyclf9WTyuqhrwgNEFj/xGAiA0qdzLlk8D18wlUTK+ScUSi6Cd3kQACXgIrQ2P+VYEcQ=="}]},"maintainers":[{"name":"anantajitjg","email":"anantajit@awsm.in"},{"name":"v_arma","email":"vinuraj@awsm.in"},{"name":"aravindajith","email":"aravindajith@gmail.com"}],"_npmUser":{"name":"anantajitjg","email":"anantajit@awsm.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/frontity-wp-job-openings_1.0.0_1593719040655_0.30938220159911634"},"_hasShrinkwrap":false},"1.1.0":{"name":"@awsmin/frontity-wp-job-openings","version":"1.1.0","description":"Frontity package for WP Job Openings Plugin","keywords":["frontity","frontity-awsmjobs","wordpress","react","wp-job-openings","jobs","careers"],"homepage":"https://github.com/awsmin/frontity-wp-job-openings#readme","bugs":{"url":"https://github.com/awsmin/frontity-wp-job-openings/issues"},"license":"GPL-2.0-or-later","author":{"name":"Awsm Innovations"},"repository":{"type":"git","url":"git+https://github.com/awsmin/frontity-wp-job-openings.git"},"dependencies":{"frontity":"^1.8.0","@frontity/html2react":"^1.3.3","@frontity/wp-source":"^1.7.1","react-google-recaptcha":"^2.1.0"},"publishConfig":{"access":"public"},"_id":"@awsmin/frontity-wp-job-openings@1.1.0","_nodeVersion":"10.15.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-UC6fwsB2BxxU43paSBFerxHm5sU8yrKF7rikl8C2FMFw1r/Ypooy5NaYs89HcHQLlV+se+Bvs0Pym5gYykA2vg==","shasum":"fcda9f2c20206531fc9315f66a42ca9f900d882a","tarball":"https://registry.npmjs.org/@awsmin/frontity-wp-job-openings/-/frontity-wp-job-openings-1.1.0.tgz","fileCount":21,"unpackedSize":19621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB1JyCRA9TVsSAnZWagAALaMP/jwS9uC9k3dF/ecTqu53\nq685P9sJawjQo0YKlh6QThlmdpmsVX6ZM/CODEjZxgqO7cskilOaw1Hb0s8m\n3BCm9KxxwdPd/MnJAjU4+Ydj8MnC+jv55uQ76AEw7f4L7VBWt6J7lnBN2m8q\n4NkrwwbN1Ev0ai2wKiWMEI1twyu6y5A28ZMES6MumZ3xlzu9fEhoUzQsA6DL\nDYNB13luIk2UOXgLuSvl3mjI96KS15kvxu7QN3h8FZpluvd1CrrVoVoelB3T\n+trgrNN39JIDu9vS2onpZJfc9DDY8+hlJaKmtvgE1PV0wURFx/5Nvb3OJAvK\nck5QM21BHLyw8OlrLWWobFFSeg9HXsQM/u6ZpTziKd/udRyXO4lIUv3GQxCT\nJpu8LRPZCqengtVSHD5t85hk0q2ko93Rn3ErG3ANV7ixHOLn2v9AE9l01RBB\n3QoUxkkhei5vyTHVnZFqWVcTAZe7XFeyLLO8EC/58hu1ip/HG6jX4fj/20f2\nANil7nF4j7RriQ4hKd/FOSsSd+MBA7XrLRKz+tgIsWdYGjjn92j42oaF+6Ch\nrU5PdoUG86ZKHtPMdUGyjVljUeF6wiEEmGupgjrdNV8/89o8Bi4vmln18sI/\nClLBX3pu1Dt6i1oXN0NhiaZYjF67YvTjsYSeER/Ev+t3ORx4i1DGB6mpKzyG\nuMXu\r\n=0yAq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1EWUGhqxHN/0hJ0PaD3CQbxhv8N39OplnREhDbLPMLAiEAzbvD50NAZ2OXGjMU7ffsJbU9CvxyUqiz/PBLHi6Y6bo="}]},"maintainers":[{"name":"anantajitjg","email":"anantajit@awsm.in"},{"name":"aravindajith","email":"aravindajith@gmail.com"},{"name":"v_arma","email":"vinuraj@awsm.in"}],"_npmUser":{"name":"anantajitjg","email":"anantajit@awsm.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/frontity-wp-job-openings_1.1.0_1594315377776_0.9657514440564452"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-02T19:44:00.390Z","1.0.0":"2020-07-02T19:44:00.763Z","modified":"2022-04-04T17:05:56.280Z","1.1.0":"2020-07-09T17:22:57.953Z"},"maintainers":[{"name":"anantajitjg","email":"anantajit@awsm.in"},{"name":"aravindajith","email":"aravindajith@gmail.com"},{"name":"v_arma","email":"vinuraj@awsm.in"}],"description":"Frontity package for WP Job Openings Plugin","homepage":"https://github.com/awsmin/frontity-wp-job-openings#readme","keywords":["frontity","frontity-awsmjobs","wordpress","react","wp-job-openings","jobs","careers"],"repository":{"type":"git","url":"git+https://github.com/awsmin/frontity-wp-job-openings.git"},"author":{"name":"Awsm Innovations"},"bugs":{"url":"https://github.com/awsmin/frontity-wp-job-openings/issues"},"license":"GPL-2.0-or-later","readme":"# WP Job Openings - Frontity Package\n\nFrontity package for WP Job Openings plugin. This package enables the support for [WP Job Openings](https://wordpress.org/plugins/wp-job-openings/) plugin in the Frontity framework including the support for application form. All the default fields and the fields supported by [WP Job Openings Pro](https://awsm.in/get/wpjo-pro/) are supported in the job application form.\n\n## About WP Job Openings\n\n**WP Job Openings plugin is the most simple yet powerful plugin for setting up a job listing page for a website.**\n\nThe plugin is designed after carefully analysing hundreds of job listing layouts and methods. We just picked the best features out of the all and built a plugin that’s super simple to use and extensible to a high performing recruitment tool.\n\nThe plugin comes with two layouts - Grid and List which are designed carefully according to the modern design and User Experience principles. Highlight of the plugin is its totally flexible filter options.\n\n**[View Demo](https://demo.awsm.in/wp-job-openings/)**\n\n**[Visit website - wpjobopenings.com](https://wpjobopenings.com/)**\n\n## Installation Requirements\n\n- [Frontity installation requirements](https://docs.frontity.org/getting-started#installation-requirements)\n- [WP Job Openings Plugin](https://wordpress.org/plugins/wp-job-openings/)\n- An add-on(plugin) for WP Job Openings plugin or custom functions added in theme's fuctions.php file to expose application form and other fields to WP REST API. You can use [WP Job Openings REST API (Example) Plugin](https://github.com/awsmin/wp-job-openings-rest-api-example) for reference.\n\n## Setup Package\n\n1. Install the package\n\n   ```\n   npm i @awsmin/frontity-wp-job-openings\n   ```\n\n2. Add it to Frontity Settings\n\n   Add the package to `frontity.settings.js` inside the `packages` array.\n\n   ```\n   const settings = {\n       ...\n       \"packages\": [\n           ...\n           // If no settings need to be added.\n           \"@awsmin/frontity-wp-job-openings\",\n\n           // If you want to add settings.\n           {\n               \"name\": \"@awsmin/frontity-wp-job-openings\",\n               // Add your settings here.\n           },\n           ...\n       ]\n   };\n\n   export default settings;\n   ```\n\n3. Configure the slug (Optional)\n\n   When you access `/jobs` (after you run `npx frontity dev` command) you will get all the job listings. If you have used different slug for the archive page then you have to configure the `slug` setting in `frontity.settings.js`. For example, if you have used a slug `careers` instead of `jobs`:\n\n   ```\n   const settings = {\n       ...\n       \"packages\": [\n           ...\n           {\n               \"name\": \"@awsmin/frontity-wp-job-openings\",\n               \"state\": {\n                   \"awsmjobs\": {\n                       \"slug\": \"careers\"\n                   }\n               }\n           }\n           ...\n       ]\n   };\n\n   export default settings;\n   ```\n\nThat's it! Now, when you run the `npx frontity dev` command you can access the job listings from the jobs archive page(e.g. `/jobs`). You can use [WP Job Openings REST API (Example) Plugin](https://github.com/awsmin/wp-job-openings-rest-api-example) for retrieving job specifications and using it in your frontity theme package.\n\n## Screenshots\n\n### Job Detail Page (Mars Theme)\n\n![Job Detail Page](https://github.com/awsmin/frontity-wp-job-openings/raw/master/assets/job-page.png)\n\n### Application Submission\n\n#### Errors\n\n![Errors](https://github.com/awsmin/frontity-wp-job-openings/raw/master/assets/submission-errors.png)\n\n#### Success\n\n![Success](https://github.com/awsmin/frontity-wp-job-openings/raw/master/assets/submission-success.png)\n\n### Application View (WordPress)\n\n![Application](https://github.com/awsmin/frontity-wp-job-openings/raw/master/assets/job-application.png)\n\n## Limitations\n\nCurrently, the form submission doesn't use the WP REST API. It uses the `admin-ajax.php` URL.\n\n### CORS Issue\n\nSince, we use the `admin-ajax.php` URL, you may encounter the CORS Issue. An error: `TypeError: NetworkError when attempting to fetch resource.` will be thrown in the console and the Cross-Origin request will be blocked.\n\n**Solution:**\n\nYou can use the `allowed_http_origins` filter hook to add allowed HTTP origins. For example:\n\n```\nfunction awsm_allowed_http_origins( $origins ) {\n    $origins[] = 'https://example.com';\n    return $origins;\n}\nadd_filter( 'allowed_http_origins', 'awsm_allowed_http_origins' );\n```\n\n## Credits\n\n- Frontity Team [ [1](https://community.frontity.org/t/how-to-create-a-frontity-package-for-contact-form-7/623), [2](https://community.frontity.org/t/wp-job-openings-frontity-package/2299/3) ]\n- [frontity-contact-form-7](https://github.com/imranhsayed/frontity-contact-form-7) package by Imran Sayed\n\n## Resources\n\n- [Frontity Docs](https://docs.frontity.org/)\n- [Frontity Community](https://community.frontity.org/)\n- [WP Job Openings](https://wpjobopenings.com/)\n","readmeFilename":"README.md"}