[WordPress] 外掛分享: Interserve Data Feeds

首頁外掛目錄 › Interserve Data Feeds
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
2361 天前
最後更新
問題解決
WordPress 3.5.1+ v1.2 上架:2014-10-28

內容簡介

此外掛創建自訂文章類型,用於來自 https://data.interserve.org 的各種數據提要,並每天自動匯入這些提要的數據。

短代碼:

- [isdata_contact_list link=”type”] - 以英文字母順序顯示未排序的辦公室名稱列表。
- [isdata_contact_map] - 顯示 Google 地圖,包含每個辦公室的標記(鏈接至辦公室詳情頁面)。
- [isdata_contact_nearest link=”type”] - 顯示鏈接至使用者 IP 地址所在國家的辦公室。需要在伺服器上安裝 geoip 擴展。
- [isdata_job_related n=”10″ location=”locations” profession=”professions” duration=”durations”] - 顯示與當前顯示的職位或搜尋條件相似的職位列表(如果沒有顯示當前條件,則顯示最新的優先職位列表)。每個職位都鏈接至詳情頁面。每個分類術語都鏈接至相關搜尋。
- [isdata_job_list n=”10″ location=”locations” profession=”professions” duration=”durations”] - 顯示與當前顯示的職位或搜尋條件完全匹配的職位列表(如果沒有顯示當前條件,則顯示最新的優先職位列表)。每個職位都鏈接至詳情頁面。每個分類術語都鏈接至相關搜尋。
- [isdata_job_search] - 顯示一個搜尋表單,包含位置、職業、持續時間和一個自由文本欄位。它知道任何預設的分類術語並將自動在欄位值中設置它們。

除此之外,還有其他短代碼,如 [isdata_story_related]、[isdata_location_list]、[isdata_duration_list] 等。

在短碼參數中,n=”10″ 表示限制列表中的項目數量為 10,範圍為 1..50。location=”locations” 表示僅顯示與位置分類詞匹配的項目。如果需要多個位置,可以使用逗號分隔的列表(如 location=”central-asia,india”)。如果未按預期工作,請檢查短碼分類詞的拼寫。省略此參數以顯示所有位置。職業和持續時間的參數設置方法與位置相同。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Interserve Data Feeds」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Creates custom post types for the various data feeds from https://data.interserve.org and automatically
imports data from those feeds once a day.
Shortcodes

[isdata_contact_list link=”type”] shows an unordered list of office names in alpha order.
[isdata_contact_map] shows a google map with pins for each office, linking to the office detail page
[isdata_contact_nearest link=”type”] shows a link to an office in the same country as the user IP address. Needs the geoip extension installed on the server.
[isdata_job_related n=”10″ location=”locations” profession=”professions” duration=”durations”] shows a table of jobs that are similar to the current displayed job or search terms, or if there are no current terms it shows the newest priority jobs. Each job links to its detail page. Each taxonomy term links to a related search.
[isdata_job_list n=”10″ location=”locations” profession=”professions” duration=”durations”] shows a table of jobs exactly matching the currently displayed job or search terms. If there are no current terms, it shows the newest priority jobs. Each job links to its detail page. Each taxonomy term links to a related search.
[isdata_job_search] shows a search form with location, profession, duration and a free text field. It is aware of any pre-set taxonomy terms and will automatically set them in the field values.
Use this with an [isdata_job_list] field to implement a job search page.
[isdata_story_related n=”10″ location=”locations” profession=”professions” theme=”themes”] ditto for stories
[isdata_story_list n=”10″ location=”locations” profession=”professions” theme=”themes”] ditto for stories
[isdata_story_search] ditto for stories
[isdata_profession_list] shows an unordered list of the profession taxonomy, with counts
[isdata_location_list] shows an unordered list of the location taxonomy, with counts
[isdata_duration_list] shows an unordered list of the duration taxonomy, with counts
[isdata_theme_list] shows an unordered list of the theme taxonomy, with counts
[isdata_statistics] shows a two column table of random stats about Interserve.
Use [isdata_statistics name=”Updated”] to show the date and time the stats were last updated on data.interserve.org.
Use name=”Jobs” to return just the number for the count of job openings. This works for any of the other numbers reported by the bare tag.
[isdata_child_pages] shows the pages that are children of this page. It is not related to any of the isdata data sets: it is included as a utility / tool to help build navigation of your site.

In the above, shortcode parameters are

n=”10″ means restrict the number of items in the list to 10. Range 1..50
location=”locations” means display only items matching the taxonomy slugs for locations. You can use a comma
separated list like location=”central-asia,india” if you want more than one location.
If it doesn’t work as expected, check the spelling of the shortcode slug by hovering over a link to that
term on the public part of the site. Omit this parameter to show all locations.
A slug is a computer friendly rendering of the human friendly name eg the slug for “Central Asia” is “central-asia”
profession=”professions” as above eg profession=”education,other”
duration=”durations” as above eg duration=”elective”
theme=”themes” as above eg theme=”Prayer”
contact link=”type”: type can be “direct”, which makes a direct link to the office web site (if provided); “donate”, which links to the donations link (if provided). Anything else (or omitting the argument) links to the contact detail page / post for the office.

Widgets

Job Openings: shows a context aware list of related job openings with links to view them. You can set the number of openings to display.
Stories: shows a context aware list of related stories with links to view them. You can set the number of stories to display.
Child Pages: shows pages that are children of the current page

Settings
The Plugin settings page is in the Settings menu: Settings: Interserve Data
Styling
The html tag surrounding each content type has a isdata_job_meta, isdata_story_meta etc class applied to it to help you customise styling. Where relevant, inner elements also have isdata_* classes you can use to further refine your styles.

延伸相關外掛

文章
Filter
Mastodon