[WordPress] 外掛分享: Woo Track list and Sample Player

WordPress 外掛 Woo Track list and Sample Player 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Woo Track list and Sample Player」是 2015-11-16 上架。
  • 目前有 30 個安裝啟用數。
  • 上一次更新是 2019-01-09,距離現在已有 2306 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

dean-radish |

外掛標籤

audio | music | sample | Sampler | woocommerce |

內容簡介

在 WooCommerce 產品頁面的簡短描述中新增專輯的曲目列表。
本外掛還會嘗試尋找曲目的樣本版本,並顯示樣本的音訊播放器。如果找不到樣本,則僅顯示曲目標題。

用法

啟用外掛後,您的專輯產品簡短描述將會更新為曲目列表。
如果您希望顯示一個可以播放曲目樣本的音訊播放器,請上傳一個名稱以「sample-」為前綴的樣本曲目。例如,如果您有一個名為「WooHoo.mp3」的檔案,則請建立並上傳一個名為「sample-WooHoo.mp3」的檔案到媒體庫中。
本外掛無法創建樣本。我建議使用 Sound eXchange (SoX)(網址:http://sox.sourceforge.net/)。
在 Linux 上,我使用以下指令

for i in *.mp3 ;
do sox “$i” “sample-basename "$i"” trim 10 30 fade h 1 0 1 ;
done

來將某個資料夾中的所有 mp3 檔案轉換為樣本檔案(從該資料夾執行該指令)。在此範例中,樣本將從曲目的第 10 秒開始播放,持續播放 30 秒,並以 1 秒的淡入淡出方式開始和結束。
SoX 中的下載包含一個適用於 Windows 的類似範例。
SoX 有多種選項,我建議閱讀文件,以充分發揮其功能。

如果您同時銷售實體和虛擬版本的專輯,則可按照命名規則在實體版本的簡短描述中添加曲目列表和樣本音訊播放器。如果您的專輯名稱為「The best of WooHoo」,則建立產品標題為「The best of WooHoo - 數位下載」和「The best of WooHoo - CD 實體版本」。
可以通過編輯 woo-tlasp.php 頂部的全局變數來更改文件命名規則。沒有選項畫面。
可以通過修改 css/woo-tlasp.css 檔案或覆蓋主題樣式表中的樣式來更改音訊檔案樣本圖示風格。

原文外掛簡介

Adds the track list for an album on the WooCommerce products page to the short description.
It will also attempt to discover a sample version of the track and display an audio player for the sample. If no sample is found then just the track title is displayed.
Usage
Once the plugin is activated then the short descriptions of your album products will be updated with the list of tracks.
If you wish to display an audio player that will play a sample of the track, then upload a sample track with the name of the track prefixed with ‘sample-‘. For example if you have a file named ‘WooHoo.mp3’ then create and upload a file call ‘sample-WooHoo.mp3’ in the Media Library.
Creating the samples is not possible with this plugin. I recommend the use of Sound eXchange (SoX) at http://sox.sourceforge.net/
On Linux I use the script
for i in *.mp3 ;
do sox “$i” “sample-basename "$i"” trim 10 30 fade h 1 0 1 ;
done
to convert a whole folders worth of mp3 files to sample files (run the script from the folder). In this example the sample will start 10 seconds into the track, play for 30 seconds, and will fade in and out for 1 second.
The SoX download contains a similar example for Windows.
SoX has a multitude of options and I suggest reading the documentation to get the most out of it.
If you sell both hard copies and virtual versions of your albums, then the track list and sample audio player can be added to the short description of the hard copy provided you follow the naming convention. If your album is ‘The best of WooHoo’ then create products titled ‘The best of WooHoo – Digital Download’ and ‘The best of WooHoo – CD Hardcopy’.
These file naming conventions can be changed by editing the global variables at the top of woo-tlasp.php. There is no options screen.
The audio file sample icon style can be changed by modifying css file css/woo-tlasp.css or overriding the styles in your theme stylesheet.

各版本下載點

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

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


1.0.1 | 1.0.2 | trunk |

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

  • WP Example Content 》這個外掛可以輕鬆地協助你設計和開發新的及現有佈景主題,加入或移除範例文章內容。享受它的便利!, 在啟用外掛後,只需進入管理面板導覽 (通常為最後一項),...。
  • Free Product Sample for WooCommerce 》免費產品樣品 WooCommerce 外掛, 👉 官方示範連結: 官方示範, 👉 了解更多 Pro 版: Pro 版, 由 WooCommerce 驅動, 免費產品樣品 WooCommerce 外掛 是處理產品...。
  • Advanced Product Sample for WooCommerce 》👉 提供產品樣品給顧客!, 👉 讓顧客在購買產品前可以點選訂購和嘗試樣品, 電子商務網站常尋找不同的方法來增加產品銷售和提高顧客滿意度。其中最有效的方法...。
  • Random Number Generator 》此外掛可用於插入隨機數字來避免瀏覽器快取。, 例如,http://my_url?[random-number]” 可以生成 http://my_url?134548。, [random-number from=”...。
  • Sample Slider 》這個外掛只是 WordPress 和 Slides JS 外掛 (http://www.slidesjs.com/) 的整合。它有一個非常簡單的標記。你可以使用簡單的短碼 [sample_slider] [/sample_s...。
  • Run This! 》這個外掛讓你的讀者可以直接在你的網誌上運行程式碼片段。, 只需在包含程式碼的 PRE 標籤中添加一個類別為 "run-this" 和一個語言屬性。, 語言屬性應該有以下...。
  • Hello Kushimoto 》這不僅僅是一款 WordPress 外掛。啟用後,您會在管理頁面的右上角看到著名工程師 M 先生的引言,每個頁面都會有不同的隨機顯示。, 此外掛已發佈於 GitHub 上。。
  • Book Previewer 》Book Previewer 外掛提供了一個簡碼,可以讓你取得並顯示你所指定的書籍在 Google Books 上的預覽。你需要擁有國際標準書號 (ISBN)、Online Computer Library...。
  • Samply – WooCommerce Product Sample Solution 》SAMPLY, 👉 正式Demo連結:Official Demo, 由 WooCommerce 提供技術支援, 處理免費產品樣品的簡單方法。Samply 只做一件事,但做得很好。它讓您訂購產品作為...。
  • Sample Images 》這個外掛可以用來建立臨時版本的網站,例如:開發者有時必須建立臨時版本來執行某些更新,但不想轉移所有媒體內容從「wp-content/uploads」資料夾。透過 Samp...。
  • prompty 》該外掛在文章的pre標籤內容上添加提示效果,非常適合展示命令提示符或 Unix Shell 的範例。, 安裝非常簡單。您只需在想要在文章中有效果的pre標籤上添加promp...。
  • Gravity Forms Data Population 》此 WordPress 外掛讓您可以使用範例資料填寫表單,以便於進行前端測試。當登入後,將會在選單列新增一個名為「填寫表單」的項目。在該選單中,您會找到目前網...。

文章
Filter
Apply Filters
Mastodon