[WordPress] 外掛分享: WP Post Formats

首頁外掛目錄 › WP Post Formats
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
500+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
3387 天前
最後更新
問題解決
WordPress 3.1+ v1.1 上架:2011-01-17

內容簡介

WP Post Formats 創建了一個強大的視覺界面,使用 ACE 編輯器 及 Twig 模板引擎,安全、輕鬆地修改文章格式,無需進入檔案。

功能:

以下函數已經添加到 Twig 中,以供輕鬆使用。

{{ permalink() }}
{{ content( more_link_text, stripteaser ) }}
{{ excerpt() }}
{{ title( before, after ) }}
{{ tags( before, sep, after ) }}
{{ author }}
{{ category( seperator, parents ) }}
{{ time( ‘F j, Y’) }}
{{ post_thumbnail( size ) }}
{{ term_list( taxonomy, before, sep, after ) }}
{{ post_class() }}
{{ shortcode( ‘[some-shortcode]’) }}
{{ post_meta( ‘some-postmeta’) }}

鉤子:

WP Post Formats 添加了許多鉤子和篩選器,以便輕鬆修改預設功能,但使用時要小心,可能會使您的保修失效!如果您需要的地方沒有鉤子,請給我留言,我很樂意添加。

如果您有任何反饋或建議,歡迎在 Tiger Strike Media 聯絡我。

外掛標籤

開發者團隊

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

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

原文外掛簡介

WP Post Formats creates a powerful visual interface using the ACE editor and the Twig template engine for safe, easy and functional modification of your post formats without ever having to enter into the files.
Functions:
The following functions are added to Twig for easy use.

{{ permalink() }}
{{ content( more_link_text, stripteaser ) }}
{{ excerpt() }}
{{ title( before, after ) }}
{{ tags( before, sep, after ) }}
{{ author }}
{{ category( seperator, parents ) }}
{{ time( ‘F j, Y’) }}
{{ post_thumbnail( size ) }}
{{ term_list( taxonomy, before, sep, after ) }}
{{ post_class() }}
{{ shortcode( ‘[some-shortcode]’) }}
{{ post_meta( ‘some-postmeta’) }}

Hooks:
WP Post formats has added a number of hooks and filters to enable easy modification of default functionality, this may void your warranty so use with care! If there is not one where you need it, drop me a line i’d be happy to add it in.
If you have any feedback or suggestions, feel free to drop me a line st Tiger Strike Media

延伸相關外掛

文章
Filter
Mastodon