[WordPress] 外掛分享: Image Styles for Core Block

WordPress 外掛 Image Styles for Core Block 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Image Styles for Core Block」是 2022-01-18 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2022-01-19,距離現在已有 1201 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.8 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

mahesh901122 |

外掛標籤

image | block image | image styles | image designs | image variation |

內容簡介

這個外掛為 WordPress 核心 Image 區塊新增了新的圖片樣式。

詳情請參考 簡潔的單頁說明文件。

功能:

零設定
易於使用
25+ 張圖片樣式

三角形
梯形
平行四邊形
菱形
五邊形
六邊形
七邊形
八邊形
九邊形
十邊形
斜切
榫頭
向左箭頭
向右箭頭
向左指向
向右指向
向左雙層 V 字形
向右雙層 V 字形
星形
十字形
訊息
關閉
框架
置入
自訂多邊形
圓形
橢圓形

使用過濾器新增樣式
使用過濾器刪除樣式
使用過濾器修改樣式
快速支援

歡迎提出功能需求

如果您有任何建議或功能需求,請不要猶豫聯絡。

新增圖片樣式
add_filter( 'k2cbis_get_styles', 'prefix_add_new_style' );

function prefix_add_new_style( $styles = array() ) {
$styles[] = array(
'name' => 'prefix-new-style',
'label' => 'New Style',
'inline_style' => '.wp-block-image.is-style-prefix-new-style img { clip-path: polygon(40% 10%, 30% 50%, 83% 25%); }',
);

return $styles;
}

錯誤回報

歡迎到我們在 GitHub 存儲庫進行問題回報,但請注意 GitHub 不是支援論壇,且未經確認為錯誤的問題會被關閉。

更多閱讀

如需更多資訊,請參閱以下內容:

官方網站 maheshwaghmare.com
聯絡我們 Contact Me
入門指南 Getting started guide
其他我們的 WordPress 外掛
貢獻 development
捐獻 small donation

原文外掛簡介

This plugin adds a new image styles for the Core Image block.

Read more in one page quick documentation.
Features:

Zero configuration
Easy to use.
25+ image styles.

Triangle
Trapezoid
Parallelogram
Rhombus
Pentagon
Hexagon
Heptagon
Octagon
Nonagon
Decagon
Bevel
Rabbet
Left Arrow
Right Arrow
Left Point
Right Point
Left Chevron
Right Chevron
Star
Cross
Message
Close
Frame
Inset
Custom Polygon
Circle
Ellipse

Add new styles with filter.
Remove existing styles with filter.
Modify existing styles with filter.
Quick support

Welcome for featured requests
If you have any suggestion or any featured request then don’t hesitate to contact.
Add new image style
add_filter( 'k2cbis_get_styles', 'prefix_add_new_style' );

function prefix_add_new_style( $styles = array() ) {
$styles[] = array(
'name' => 'prefix-new-style',
'label' => 'New Style',
'inline_style' => '.wp-block-image.is-style-prefix-new-style img { clip-path: polygon(40% 10%, 30% 50%, 83% 25%); }',
);

return $styles;
}

Bug reports
Bug reports for “K2 Core Block Image Styles” are welcomed in our repository on GitHub. Please note that GitHub is not a support forum, and that issues that are not properly qualified as bugs will be closed.
Further reading
For more info check out the following:

The maheshwaghmare.com official website.
The Contact Me.
The Getting started guide.
Other my WordPress Plugins.
Contribute with development.
Make a small donation.

各版本下載點

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

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


1.0.0 | trunk |

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

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon