內容簡介
提供shortcode標籤來協助WordPress網站與indeed.com職缺搜索引擎整合。
該外掛使用jQuery進行表單事件和AJAX呼叫來進行職缺搜索,因此您必須在主題的header.php檔案中添加wp_enqueue_script(“jquery”)來確保jQuery已加載。
使用indeed.com API需要歸屬,因此必須在使用indeed.com API的頁面中包含shortcode標籤[indeedattribution]。
示例1
在此示例中,歸屬、樣式表、表單、搜索結果和“發布職缺”鏈接在一個WordPress頁面上,在四行shortcode和HTML中創建。
[indeedattribution]
[indeedsearchstyle]
[indeedsearchform]
[indeedsearchresults]
<a href=”[indeedpostjoburl]”>發布職缺</a>
屬性
沒有屬性。
短碼
shortcode:
[indeedsearchstyle]
此shortcode將在您的頁面中包含indeed搜索樣式表,以控制表單和結果的外觀。
[indeedsearchform]
此shortcode將在頁面上包含indeed.com搜索表單。
[indeedsearchresults]
此shortcode包括一個div標籤,用於使用AJAX調用顯示搜索結果。
[indeedpostjoburl]
此shortcode將產生一個指向indeed.com發布職缺頁面的URL,用於您的聯盟職缺發布。
[indeedattribution]
此shortcode將包括indeed.com歸屬HTML,這是使用indeed.com API的要求。
備註
無備註。
外掛標籤
開發者團隊
原文外掛簡介
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.
Example 1
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]
Post A Job
Attributes
No attributes
Shortcodes
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.
Notes
No notes.
