[WordPress] 外掛分享: Lastweets

首頁外掛目錄 › Lastweets
WordPress 外掛 Lastweets 的封面圖片
10+
安裝啟用
尚無評分
2655 天前
最後更新
問題解決
WordPress 4.8+ PHP 5.6+ v1.0.0 上架:2019-01-03

內容簡介

這是一個簡單的外掛程式,不會載入過多的 CSS。相反地,它只會執行最基本的自訂樣式,這樣任何人都可以使用其網站設計來自訂它。
它非常開發者友善,提供了一些智慧型篩選器和動作來修改預設邏輯 (請參見HOOKS.md檔案)。
您可以複製/templates/single_tweet.php檔案並將其貼到您的佈景主題的/templates/lastweets-single_tweet.php資料夾中來覆寫自訂預設佈景主題範本,以顯示一則推文。
這個檔案將用於顯示推文,您可以按照您的需求加以自訂。

可用 Hooks

…待續…

建置使用

Carbon Fields library用於管理外掛程式管理員設定頁面。
Twitter API PHP用於查詢Twitter API來獲取推文。

作者

Pierre Saïkali – 初始工作 – Mosaika / Saika.li
另請參閱參與此專案的貢獻者名單。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Lastweets」→ 直接安裝(推薦)

原文外掛簡介

This is a simple plugin that will not load a sh*t-load of CSS. Instead, the bare minimum stylings are done for the custom theme so that anyone can customize it with their site design.
It is very developer friendly and offers a couple of smart filters and actions to modify default logic (see HOOKS.md file).
You can override the custom default theme template to display a tweet by copying the /templates/single_tweet.php file and pasting it in your theme /templates/lastweets-single_tweet.php folder.
This file will be used to display a tweet; customize it the way you want.
Available hooks
…to be continued…
Built with

Carbon Fields library for managing the plugin admin settings page.
Twitter API PHP to interrogate Twitter API to fetch tweets.

Authors

Pierre Saïkali – Initial work – Mosaika / Saika.li
See also the list of contributors who participated in this project.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon