[WordPress] 外掛分享: Daily logo

WordPress 外掛 Daily logo 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Daily logo」是 2015-06-02 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2022-07-26,距離現在已有 1012 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ksombrah | lando1982 |

外掛標籤

logo | daily | doodle | switch | organize |

內容簡介

Daily Logo 是一個簡單靈活的 WordPress 外掛,允許使用者每天在其網站上顯示不同的標頭/標誌。如果你需要每天或在特定活動期間有不同的標誌,則使用此外掛可以完全自定義你的網站標頭/標誌管理。

當你安裝並啟用該外掛時,會新增一個管理區域。該區域包含兩個頁面,第一個頁面自動列出了你所有配置的每日標誌,第二個頁面包含一個小圖例,你可以設置默認的外觀模板。
你可以為每個標誌提供開始時間和結束時間。默認情況下,開始時間為 00:00,結束時間為 23:59。

你可以為標頭/標誌 HTML 段提供 2 個不同的模板。想像一下,你可以為桌面或移動設備設置不同的版面。選擇模板的演算法由你決定。

有 2 個不同的操作可以使用:

daily_logo_show_today / daily_logo_show_today_alternative(顯示每日標誌)
daily_logo_show_date / daily_logo_show_date_alternative(顯示自訂日期標誌)

這裡可以找到在 PHP 模板文件(例如 header.php)中檢測模板的示例:

$is_mobile = false;
if ($is_mobile) do_action( 'daily_logo_show_today_alternative' );
else do_action( 'daily_logo_show_today' );

$is_mobile = false;
if ($is_mobile) do_action( 'daily_logo_show_date_alternative', 2015, 5, 12 );
else do_action( 'daily_logo_show_date', 2015, 5, 12 );

帶有“alternative”後綴的動作用於第二個模板版面。

你可以在代碼中使用短代碼 [daily_logo_history_table] 來顯示包含所有數據歷史的表格。

使用方法

前往 WP-Admin -> Daily Logo。
添加、修改、複製或刪除每日標誌,或配置默認模板。
在你的標誌 HTML 段中使用以下代碼替換:do_action( 'daily_logo_show_today' )。

連結:作者網站

原文外掛簡介

Daily logo is a simple and flexible plugin which allow users to display a different header/logo in their site every day. If you need to have a different logo every day or during a particular event with this plugin you can completely customize your site header/logo management.
When you install and activate the plugin, an admin section is added. The section is composed by 2 pages, in the first one are automatically listed all your configured daily logos, in the second one, you can see a small legend and you can setup default look & feel templates.
You can provide a starting time and an ending time for every logo. By default the start time is 00:00 and the end time is 23:59.
You can provide 2 different templates for the header/logo HTML snippet. Imagine having different layout for desktop or mobile. The algorithm for choosing the templates is demanded to you.
There is 2 different actions that you can use:

daily_logo_show_today / daily_logo_show_today_alternative (display daily logo)
daily_logo_show_date / daily_logo_show_date_alternative (display a custom date logo)

Here you can find and example of template detection in a PHP template file (e.g. header.php):
$is_mobile = false;
if ($is_mobile) do_action( 'daily_logo_show_today_alternative' );
else do_action( 'daily_logo_show_today' );

$is_mobile = false;
if ($is_mobile) do_action( 'daily_logo_show_date_alternative', 2015, 5, 12 );
else do_action( 'daily_logo_show_date', 2015, 5, 12 );

The action with the “alternative” suffix is used for the second template layout.
You can use the shortcode [daily_logo_history_table] in your code for displaying a table with all the data history.
Usage

Go to WP-Admin -> Daily Logo.
Add, modify, clone or delete a daily logo or configure the default templates.
Replace in your the logo HTML snippet with the following code do_action( 'daily_logo_show_today' ).

Links: Author’s Site

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Daily logo」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


2.1.0 | 2.1.1 | 2.1.2 | 2.1.3 | 2.1.4 | 2.1.5 | trunk |

延伸相關外掛(你可能也想知道)

  • WP doodlez 》每個人都知道 doodle ,它是一個可愛的平台,可以進行投票、找到最佳的會議日期或地點、以及與許多人一起做出決策。, 使用這個外掛,您可以在 WordPress 安裝...。
  • Dooodl 》演示:您可以在此網站的側邊欄中查看此外掛的實時版本:noCreativity.com, Dooodl 是一個有趣的插件,允許您的訪問者繪製一個小圖畫並將其與小筆記保存到您的...。
  • Change Logo On Occasions 》「Change Logo On Occasions」提供在不同時間段設定不同圖片的功能。透過這個外掛,你可以在 WordPress 管理介面中加入「Logo」功能,以管理 logo 的新增、刪...。
  • Ilmomasiina 》僅限芬蘭語(I18n開發中), 一個簡單的外掛程式,可創建並管理帶有註冊功能的活動。非常適合用於組織活動等。, 目前該外掛程式僅提供芬蘭語版本。。

文章
Filter
Apply Filters
Mastodon