[WordPress] 外掛分享: Rudimentary Information

首頁外掛目錄 › Rudimentary Information
全新外掛
安裝啟用
尚無評分
1884 天前
最後更新
問題解決
WordPress 4.8.3+ PHP 7.0+ v0.1.0 上架:2017-11-29

內容簡介

Rudimentary Information 允許您通過從 WordPress 主題 API 和外掛 API 中獲取數據,為特定主題或外掛程序抓取信息。通過提供有效的 slug 和字段來顯示特定信息,該插件非常簡單且易於使用。該插件使用短代碼來顯示信息。

與主題合作

要顯示特定主題,請使用以下短代碼

[theme-info slug=’theme-slug’ field=’version’]

slug 是您想要顯示的主題名稱。字段是一系列選擇,您可以使用它們來顯示某些信息,例如版本或 last_updated 信息。

目前支持以下字段:

name
homepage
screenshot_url
preview_url
download_link
downloaded
last_updated
version

與外掛合作

要顯示特定外掛,請使用以下短代碼

[plugin-info slug=’plugin-slug’ field=’version’]

slug 是您想要顯示的外掛名稱。字段是一系列選擇,您可以使用它們來顯示某些信息,例如版本或 last_updated 信息。

目前支持以下字段:

name
homepage
screenshot_url
preview_url
download_link
downloaded
last_updated
version

現在支持 Meta Box 和 Widget,這是一個額外功能,您不需要浪費時間使用短代碼,但如果您需要從 API 中抓取小信息,則會提供短代碼。為了使新增功能正常工作,您需要在作品集(Jetpack 作品集)頁面中設置主題 slug 或外掛 slug。這將把 slug 保存為該頁面的一部分,您可以使用插件信息 widget 或主題信息 widget 來顯示特定主題信息。顯示標籤也支持自己的 Widget。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.0) 或搜尋安裝

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

原文外掛簡介

Rudimentary Information allows you to grab information specifically for an individual theme or plugin by fetching data from the WordPress Themes API and Plugins API. This plugin is very simple yet easy to use by providing a valid slug and field to display a specific information. This plugin uses shortcode to display information.
Working with Themes
To display a specific theme, please use the following shortcode
[theme-info slug=’theme-slug’ field=’version’]
The slug is the name of the theme that you want to display. The field is an array of choices that you can use to display a piece of information such as version or last_updated information.
The following fields that are currently supported are as follow:

name
homepage
screenshot_url
preview_url
download_link
downloaded
last_updated
version

Working with Plugins
To display a specific plugin, please use the following shortcode
[plugin-info slug=’plugin-slug’ field=’version’]
The slug is the name of the plugin that you want to display. The field is an array of choices that you can use to display a piece of information such as version or last_updated information.
The following fields that are currently supported are as follow:

name
homepage
screenshot_url
preview_url
download_link
downloaded
last_updated
version

Now supports Meta Box and Widget, an extra feature that you don’t need to waste your time with shortcode but shortcodes will be avaiable if you need to grab small information from the API. For this new feature to work properly, you will need to set a theme slug or plugin slug in the Portfolio (Jetpack Portfolio) page. This will save the slug as part of the page and you can use the plugin info widget or theme info widget to display the specific theme. Displays Tags is also supported in its own Widget.

延伸相關外掛

文章
Filter
Mastodon