Provides simple integration of a WordPress site with the indeed.com API for job searches.
Provides shortcode tags that help integrate a WordPress site with the
indeed.com job search engine.
The plugin uses jQuery for the form events and AJAX calls to perform the job
search so you must have a wp_enqueue_script(“jquery”); in your theme
header.php file to ensure jQuery is loaded.
Use of the indeed.com API requires attribution so there is a shortcode tag,
[indeedattribution] that must be included somewhere in the pages that utilize
the indeed.com API.
In this example the attribution, stylesheet, form, search results and a Post A Job link are
created in a WordPress page in four lines of shortcodes and HTML.
[indeedattribution]
[indeedsearchstyle]
[indeedsearchform]
[indeedsearchresults]
<a href=”[indeedpostjoburl]”>Post A Job</a>
No attributes
shortcodes:
[indeedsearchstyle]
This shortcode will include the indeed search stylesheet in your page to
control the appearance of the form and results.
[indeedsearchform]
This shortcode will include the indeed.com search form on the page.
[indeedsearchresults]
This shortcode includes a div tag that is used to display the search results
using an AJAX call.
[indeedpostjoburl]
This shortcode will produce an URL pointing to the indeed.com post a job page
used for your affiliate job postings.
[indeedattribution]
This shortcode will include the indeed.com attribution HTML, this is a
requirement with the use of the indeed.com API.
No notes.
Unzip the indeed-api.zip file and copy the resulting indeed-api directory to your
WordPress plugins directory.
Sign up for a publisher indeed.com account and copy the publisher ID into your
WordPress plugin configuration page for the indeed-api plugin.
If your site will include the ability to post jobs to indeed.com then set up
your Instant Job Site settings on indeed.com and include a link on one of your
posts of pages that uses the [indeedposturl] shortcode as the href value for
the link.
The plugin uses jQuery for the form events and AJAX calls so you must have
jQuery enabled in your WordPress installation. Add the following PHP code to
your theme header.php file to make sure jQuery is loaded…
wp_enqueue_script(“jquery”);
There is a graphic file in the plugin directory, busy.gif, that you can
replace with your own busy.gif animated graphic.
There is an HTML file in the plugin directory named indeedstyle.html that you
can modify to change the appearance of the search form and the search results.
There are a few HTML files in the plugin directory that contain the HTML used
for the form and the results displayed.
indeed-job.html – Contains the HTML for each job displayed.
indeed-no-jobs.html – Contains the HTML displayed if no jobs are found.
indeed-search-form.html – Contains the HTML for the search form.
Use caution when editing these HTML files as they contain some special tags
similar to WP shortcodes that are replaced by the plugin.
Added a default location option in settings and the option to auto search on
page load.
Added semicolons to the end of Javascript lines to fix a bad interaction with other content plugins.
Converted API query to JSON format. (Now requires PHP version 5.2 or greater)
Converted API call to CURL to avoid allow_url_fopen problems on some hosting.
Fixed a bug in the API URL with the unescaped user agent value.
Moved the HTML into distinct files to simplify the process of customizing the
appearance.
Changed the admin settings page to make it easier to understand the settings.
Country code was not used in the API URL so the plugin was not functioning for non-US countries.
Sorry about that.