內容簡介
此外掛程式會在使用 Theme Blvd 框架版本2.0.4+ 的 WordPress 主題中的 Slider Manager 內建的幻燈片類型中,新增 Piecemaker 2 Flash Slider。
此外掛程式適用的對象?
如果您沒有使用 Theme Blvd 主題,且希望將 Piecemaker 整合到您的 WordPress 網站中,則以下插件正是您所需要的:
https://wordpress.org/extend/plugins/the-piecemaker-image-rotator/
然而,如果您使用的是 Theme Blvd 的 WordPress 主題,此外掛程式可以讓您在架構的功能中使用 Piecemaker 2。這意味著您可以使用主題目前的 Slider Manager 建立 Piecemaker 滑塊,然後將這些滑塊在標準位置中,例如 Layout Builder 中以及通過 [slider] 短代碼在頁面和文章中使用。
如何使用這個外掛程式?
安裝此外掛程式後,您已經新增了一種滑塊類型到您現有的滑塊種類中。因此,您需要進入 WordPress 管理面板中的 Slider 頁面,現在當您點擊 「新增」 分頁時,您會發現已經新增了「Piecemaker」到您可以選擇的滑塊種類清單中。請按照您通常建立滑塊的方式進行操作,但您會發現相對於架構的標準滑塊類型,您的滑塊配置選項要少得多。
外掛程式的限制
因為 Theme Blvd 框架 v2.0+ 是100%的響應式,這個 Piecemaker 的附加程序明顯有其限制。如果沒有限制,我們可能會將其合併到架構的核心滑塊中。
滑塊位置: 首先,因為 Piecemaker 是一個 Flash/XML 滑塊,它無法設定自動調整與您站點的其餘部分的大小。因此這限制了您在站點中可以實際使用這個滑塊的位置。您的 Theme Blvd 主題附帶的標準滑塊類型可以放置在站點中的任何地方。然而,當您使用 Piecemaker 附加程式時,它只能在「全寬」區域內使用。因此,這意味著當您選擇了一個「全寬」側邊欄佈局時,您只能在「特色區域」或「主要區域」中使用它。
移動裝置和平板電腦:其次,也因為 Piecemaker 是一個 Flash/XML 滑塊,它顯然不能在 iOS 設備上運行(即 iPad 和 iPhone),因為它們不支援 Flash。此外,因為主題會在其他支援 Flash 的移動和平板電腦上縮小比例,所以滑塊看起來會很糟糕,因為您的圖像會被剪切。因此,對於這個插件,我提供了一個響應式的後備方案。當您的站點在任何視口大小為800像素或更小的設備上查看時,Piecemaker 外掛程式會被隱藏,取而代之的是您所有滑塊的圖像列表。
重要提示
安裝此外掛程式後,您必須給外掛程式中的「xml」目錄許可寫入檔案權限(根據您的伺服器而定為755或777)。若沒有這樣做,外掛程式無法使用,因為您 Piecemaker 滑塊所需的 XML 檔案無法生成。
外掛標籤
開發者團隊
原文外掛簡介
This plugin will add the Piecemaker 2 Flash slider to the Slider Manager’s built-in slider types when using a WordPress theme with the Theme Blvd framework version 2.0.4+.
Who is this plugin for?
If you’re not using a Theme Blvd theme, and you’re looking to incorporate Piecemaker into your WordPress site, the following plugin is what you’re looking for:
https://wordpress.org/extend/plugins/the-piecemaker-image-rotator/
However, if you are using a Theme Blvd WordPress theme, this plugin will allow you to use Piecemaker 2 within the the features of the framework. This means that you can use your theme’s current Slider Manager to create Piecemaker sliders. You can then use those sliders in all standard places like within the Layout Builder and via the [slider] shortcode in pages and posts.
How do I use the plugin?
After you install this plugin, a new slider type will be added to the current slider types you already have. So, you’ll need to go to the Sliders page in your WordPress admin panel, and now when you click the “Add New” tab, you’ll notice “Piecemaker” has been added to the list of slider types you can choose from. Proceed in creating your slider as you normally would, however you will notice that you obviously have less options for configuring your slides than with the framework’s standard slider type.
Plugin Limitations
Since the Theme Blvd framework v2.0+ is 100% responsive, this Piecemaker addon obviously comes with its limitations. If it had no limitations, we would have most likely incorporated it into the core sliders of the framework.
Slider Location: First of all, because Piecemaker is a Flash/XML slider, it cannot be setup to automatically re-size with the rest of your site. So, this limits you in where you can actually use this slider within your site. The standard slider type that comes with your Theme Blvd theme can be placed essentially anywhere in your site. However when you’re using the Piecemaker Addon, it can only be used within a “full-width” area. So this means you can either use it up in the “Featured Area” or in the “Primary Area” only when you have a “Full Width” sidebar layout selected.
Mobile Devices and Tablets: Second, also because piecemaker is a Flash/XML slider, it obviously will not work at all on iOS devices (i.e. iPads and iPhones), which provide no support for Flash. Also, because the theme will get scaled down on other mobile and tablet devices that do support Flash anyway, the slider would look bad because your images would be cut off. So, for this plugin what I’ve done is provide a responsive fallback. When your site is being viewed on any device with a viewport 800px or smaller, the Piecemaker plugin gets hidden, and in its place, you will see all of your slider’s images listed out.
Important Note
After installing this plugin, you must give the “xml” directory within the plugin writeable file permissions (755 or 777 depending on your server). Not doing this will make the plugin impossible to use because the XML files required for your Piecemaker sliders will not be generated.
