內容簡介
這款 WordPress 外掛可輕鬆在網站上張貼職缺列表,沒有多餘的內容雜訊。通過短代碼,可將職缺列表放在任何頁面中:
[jobs order="title" show_date="y"]
此外,它還增加了「職缺管理員」的限制角色。這個角色高於訂閱者,是一種完美的授權方式,不會更改網站的其他內容。
短代碼屬性
order – 職缺列表的排序順序。可在 jobslistings_frontend_allowed_sorts(下面)上進行篩選。默認允許使用「title」、「date」、「modified」、「rand」等選項。
show_date – 是否顯示職缺的發布日期/列表日期(y/n)
篩選器
jobslistings_frontend_allowed_sorts(數組)– 允許傳遞到短代碼的「order」屬性的字串。
可用的選項完整列表可參考Codex。
joblistings_published_date(字符串) – 格式化的日期,用於在列表中顯示,同時還作為 get_the_date() 的第二個參數返回。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
An easy way to post job listings to your WordPress site. No fluff. Listings can be dropped into any page via the shortcode:
[jobs order="title" show_date="y"]
Also adds a restricted role of “Jobs Manager”. This role is a step above Subscriber and a perfect way to grant access that doesn’t allow (other) website content to be changed.
Shortcode Attributes
order – Sort order of the jobs. Filterable on jobslistings_frontend_allowed_sorts (below.) Allows ‘title’, ‘date’, ‘modified’, ‘rand’ by default
show_date – Wheter or not to show the publication/list date of the jobs (y/n)
Filters
jobslistings_frontend_allowed_sorts (array) – Strings allowed to be passed to the shortcode’s order attribute.
Full list of options available in the Codex
joblistings_published_date (string) – Formatted date for display in the listings. Also passes result of get_the_date() as a 2nd argument.
