[WordPress] 外掛分享: Hello Dolly For Your Song

WordPress 外掛 Hello Dolly For Your Song 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Hello Dolly For Your Song」是 2013-05-03 上架。
  • 目前有 60 個安裝啟用數。
  • 上一次更新是 2025-04-27,距離現在已有 7 天。
  • 外掛最低要求 WordPress 5.2 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

unmus | jordansilaen |

外掛標籤

love | admin | random | hello world | learning wordpress |

內容簡介

這個簡單的外掛是 Matt Mullenweg 著名的 Hello Dolly 外掛的擴展版。每個人都對某首特定的歌曲有著特殊的情感。因此,Hello Dolly For Your Song 會在博客中展示您最喜愛的歌曲的歌詞。當然,它也可以用於任何文字。😉

功能

以 Gutenberg 區塊的形式在博客中顯示自定義文字的一行隨機數據
以小工具的形式在博客中顯示自定義文字的一行隨機數據
以短碼的形式在博客中顯示自定義文字的一行隨機數據
以模板標籤的形式在您的佈景主題中顯示自定義文字的一行隨機數據
在博客管理中顯示自定義文字的一行隨機數據
整合到 WordPress REST API
開發人員的鉤子
選項頁面,可定義自定義歌曲文字
網站健康度整合
隱藏選項
語言:英文、德文、西班牙文、法文、印尼文、俄文

相關連結

官方外掛頁面(德文)
為什麼我創建了這個外掛?(德文)
螢幕錄像展示幾乎所有功能(德文)
GitHub 上的原始碼

配置

在設定中維護您喜愛的歌詞。
就這樣!

Gutenberg 區塊類別

小工具

短碼

[hdfys]

模板標籤

hello_dolly_for_your_song()

取得函數

get_hello_dolly_for_your_song()

REST API 端點

http://youroblogdomain/wp-json/restful-hello-dolly-for-your-song/text

動作

hdfys_new_song
當在設定中維護了新的文字時,將觸發此動作。
您可以使用以下代碼。

function hdfys_do_anything() {

// Add your code to execute here

}
add_action( 'hdfys_new_song', 'hdfys_do_anything', 10, 3 );

過濾器

hdfys_output_filter
在輸出 Gutenberg 區塊、模板標籤和短碼之前,將應用過濾器。
您可以使用以下代碼。

function hdfys_output_manipulate( $output ) {

// Add your filter code here
// Example: $output=strtolower( $output );

return $output;
}
add_filter( 'hdfys_output_filter', 'hdfys_output_manipulate', 10, 1 );

原文外掛簡介

This simple plugin is an extended version of the famous hello dolly plugin by Matt Mullenweg. Every human being has a special relationship to a particular song. And because of that, Hello Dolly For Your Song brings the lyric of your favourite song in the blog. But of course it can be used for any text. 😉
Features

Display a random line of a custom text in your blog as gutenberg block
Display a random line of a custom text in your blog as widget
Display a random line of a custom text in your blog as shortcode
Display a random line of a custom text in your theme as template tag
Display a random line of a custom text in the blog administration
Integration into WordPress REST API
Hooks for Developers
Options Page to define a custom song text
Site Health Integration
Hidden Options
Languages: English, German, Spanish, French, Indonesian, Russian

Related Links

Official Plugin Page (German)
Why I have created this plugin? (German)
ScreenCast showing almost all features (German)
Source Code @ GitHub

Configuration

Maintain the songtext you love in the Settings.
That is all!

Gutenberg Block Category
Widgets
Shortcode
[hdfys]
Template Tag
hello_dolly_for_your_song()
Get Function
get_hello_dolly_for_your_song()
REST API Endpoint
http://yourblogdomain/wp-json/restful-hello-dolly-for-your-song/text
Actions
hdfys_new_song
This Action wil be fired, if a new text was maintained in the settings.
You can use the following code.
function hdfys_do_anything() {

// Add your code to execute here

}
add_action( 'hdfys_new_song', 'hdfys_do_anything', 10, 3 );

Filter
hdfys_output_filter
The filter will be applied before output of the gutenberg block, template tag and shortcode.
You can use the following code.
function hdfys_output_manipulate( $output ) {

// Add your filter code here
// Example: $output=strtolower( $output );

return $output;
}
add_filter( 'hdfys_output_filter', 'hdfys_output_manipulate', 10, 1 );

各版本下載點

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

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


0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.10 | 0.11 | 0.12 | 0.13 | 0.14 | 0.15 | 0.16 | 0.17 | 0.18 | 0.19 | trunk |

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

  • Post-Plugin Library 》Post-Plugin Library 是一個共享代碼庫,並沒有獨立的功能,必須安裝它才能為 Similar Posts、Recent Posts、Random Posts、Popular Posts 和 Recent Comment...。
  • Randomize 》Randomize 外掛可以顯示隨機的文字,您可以在管理後台按類別輸入文字、引文和 HTML 代碼。您可以使用小工具、shortcode 或模板標籤顯示網站上的隨機內容。, ...。
  • Related Products for WooCommerce 》ure of Jetpack for a more advanced and customizable solution., 此外,Related Products for WooCommerce 也支援多國語言。, , 此外,提供以下功能:, , ...。
  • Random Post Plugin – Redirect URL to Post 》重定向您的訪客到:, , 隨機文章, 您最新的文章, 您最舊的文章, 前一篇或下一篇文章, 或一組條件的組合,例如最新的10篇文章中的隨機文章,至少3個月前的最新...。
  • Random Text 》RandomText 是一個方便的 WordPress 外掛,可以讓你保存、編輯和刪除分類文本,並通過小工具將隨機/旋轉的文本按類別注入側邊欄或通過模板標籤注入頁面正文。...。
  • Random Content 》此外掛允許您使用縮略語或小工具在您的網站任何位置顯示隨機內容。您可以將您的隨機內容分組,讓您在網站中的多個位置顯示不同的內容。, 透過自訂的文章類型...。
  • Random Post for Widget 》這個簡單的外掛是一個小工具,可以在您的側邊欄上顯示一個隨機文章清單。您可以通過文章 ID 排除某些文章。, 緊急修復, 某位使用者發現了一個小問題,文章狀...。
  • WP Bannerize Pro 》WP Bannerize Pro 是一個出色的橫幅管理器。使用 WP Bannerize,您可以透過小工具、簡碼或直接從您的模板管理所有廣告內容。, 1.6.5 中的重要更新, 若要繼續...。
  • WooCommerce Random Product Sorting with Pagination 》此外掛可以為 WooCommerce 增加「隨機」的商品排序,同時保留分頁瀏覽。, 我找到的其他解決方案增加了「隨機」的商品排序,但沒有保留分頁瀏覽。, 此外掛可以...。
  • Better Random Redirect 》這個外掛基於原始的隨機重導,可以實現有效、簡單的隨機文章重導。支援為所有隨機重導設定分類,短代碼生成可以覆蓋預設分類的 URL,以及設定自己的重導 URL...。
  • Random Posts 》隨機文章外掛(Random Posts)會顯示一個隨機選擇的文章列表,你可以在許多方面自定義輸出。, 此外掛需要最新版本的文章外掛庫: 現在下載。, 版本歷史, , 2....。
  • Random 》使用「Random」外掛,您可以在 WordPress 網站上插入一個或多個隨機內容,這些內容可以來自您的文章、頁面或自訂文章類型。, 您可以以多種不同的方式顯示資訊...。
  • Easy Quotes 》Easy Quotes 是一個讓你收集和顯示你喜愛的報價 / 評論 / 推薦或其他簡短文本片段的外掛,可以在你的網站上展示。, 主要功能:, , 自定義文章類型 "報價",可...。
  • XV Random Quotes 》XV Random Quotes 外掛可幫助您在 blog 的各處收集並顯示隨機引言。該外掛非常靈活,可用於顯示各種隨機詞語,例如標語、「回答一條留言」信息、頁腳或標題等...。
  • UploadPlus : File Name Cleaner 》新增功能:清理 EXIF 頭檔惡意程式/後門!, 在網路上,檔名與桌面上的不同,空白和奇怪的字元在網路上不適用。使用 UploadPlus,您可以在檔案上傳時設定規則...。

文章
Filter
Apply Filters
Mastodon