
內容簡介
這是一個簡單的外掛程式,不會載入過多的 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
另請參閱參與此專案的貢獻者名單。
外掛標籤
開發者團隊
原文外掛簡介
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.
