[WordPress] 外掛分享: WebKew Image Dominant Color Generator

WordPress 外掛 WebKew Image Dominant Color Generator 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「WebKew Image Dominant Color Generator」是 2024-08-28 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2024-08-29,距離現在已有 545 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.5 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

peshmerge |

外掛標籤

color | image | custom field | colors-palette | dominant color |

內容簡介

### 摘要:
這是一個 WordPress 外掛,能自動為上傳至 WordPress 媒體庫的圖片生成一個包含 6 種顏色的調色板。除了調色板,它還會生成一個主導顏色,而這個顏色可以被生成的調色板中的顏色覆蓋。所有生成的顏色都是十六進位值。

### 問題與答案:
<ul>
<li><strong>如何使用這個外掛提供的 shortcode?</strong></li>
<ul>
<li>使用這個外掛提供的 shortcode [webkew_dc field_name=" " override_field=" " ],可回傳任何特定圖像的主導顏色。</li>
</ul>
<li><strong>這個 shortcode 的一個使用案例是什麼?</strong></li>
<ul>
<li>當你是一家網頁代理公司,想為你建立的每個客戶專案建立網頁時,你可以根據客戶的品牌/標誌顏色或特定顏色,為每個頁面設定一個背景色。這個外插將自動為你生成主導顏色,並透過 shortcode 提供給你。</li>
</ul>
<li><strong>這個 shortcode 還提供了哪些彈性選項?</strong></li>
<ul>
<li><strong>field_name:</strong> 可以是圖像自訂欄位的名稱,或者字串"featured",以選擇文章/頁面/自訂類型文章的特色圖像。在這裡指定的圖像的主導顏色將以十六進位值返回。</li>
<li><strong>override_field:</strong> 忽略先前欄位提供的主導顏色,並使用文章/頁面/自訂類型文章中另一個自訂欄位的名稱。在此欄位指定的顏色將以十六進位值返回。</li>
</ul>
<li><strong>如果在 field_name 中指定的圖像沒有主導顏色,且 override_field 為空,該外掛會回傳什麼值?</strong></li>
<ul>
<li>如果在 field_name 中指定的圖像沒有主導顏色,且 override_field 為空,該 shortcode 將返回在 WordPress管理面板的「設定 -> 一般」部分中設定的後備顏色值。</li>
</ul>
</ul>

原文外掛簡介

A WordPress plugin that automatically generates a colors palette (6 colors) for any uploaded image to the WordPress media
library. In addition, to the colors palette, it generates a dominant color which can be overridden by color from the generated colors palette.
All generated colors are hexadecimal values.
This plugin provides a shortcode [webkew_dc field_name=”” override_field=””] which can returns a dominant color of any specific image specified using the shortcode parameters.
One use-case of this shortcode is the following: You are a web agency, and you want to create webpage for every client’s project you have built. You want to give each page a background color that’s based on the color of the client’s brand/logo or any specific color you specify.
Instead of assigning the colors manually, this plugin will generate the dominant color automatically for you and the shortcode will provide you with that color.
The shortcode gives you also some flexibility by using parameters when using the shortcode:
1. field_name: this could be the name of image custom field or the string “featured” to select the featured image of the post/page/custom post type. The dominant color of the image specified here will be returned as a hexadecimal value.
2. override_field: ignore the dominant color provided by the previous field and use the name of another custom field in post/page/custom post type. The color specified in this field will be returned as a hexadecimal value.
If the image specified in field_name doesn’t have a dominant color, and the override_field is empty, the shortcode will return the value of the fallback color which can be set in the WordPress admin panel under Settings –> General section.

各版本下載點

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

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


1.0.0 | trunk |

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

  • Smart Custom Fields 》Smart Custom Fields 是一個管理自訂欄位的簡單外掛。, 功能, , 支援自訂欄位群組迴圈。, 支援元資料修訂。, 支援元資料預覽。, , , 欄位類型, , 文字, 文字...。
  • Custom Post Types and Custom Fields creator – WCK 》WordPress Creation Kit 是由三個工具組成,可幫助您建立和維護自訂文章類型、自訂分類和最重要的是文章、頁面或自訂文章類型的自訂欄位和元框。, WCK Custom...。
  • Meta Field Block 》這個外掛允許開發者/使用者在前端以區塊方式顯示元資料欄位,並支援 ACF 欄位。它可以嵌套在具有 postId、postType 上下文(如 Query Block)的父區塊內,也...。
  • Date and Time Picker Field 》這是針對 WordPress 的 Advanced Custom Fields 外掛的擴充版本,可以讓您新增日期和時間選擇器欄位。, ACF PRO 5.0+ 不再支援,ACF PRO 自己有日期和時間選...。
  • VK Dynamic If Block 》網站架設者可以使用 VK Dynamic If Block 這個 WordPress 自訂區塊,透過特定條件去顯示或隱藏內部區塊。可以設定許多條件,例如顯示首頁、顯示單篇文章、顯...。
  • Easy Post Types and Fields 》m your custom post types., , , Include custom fields and taxonomies in the table., , , Customize the table columns to display only the information ...。
  • Custom fields shortcode 》使用方法:, 在文章內使用 [cf] 短碼,就可以不必編輯主題檔案,直接顯示自訂欄位的值。, 範例:, [cf]somekey[/cf], 會回傳「somekey」自訂欄位的值。。
  • Advanced Custom Fields – Taxonomy Field add-on 》這是一個進階自訂欄位插件 (Advanced Custom Fields) 的附加元件, 在未安裝並啟用進階自訂欄位插件之前,這個附加元件將無法提供任何 WordPress 的功能。, 這...。
  • Advanced Custom Fields – Location Field add-on 》這是一個針對Advanced Custom Fields WordPress 外掛的擴充套件,除非已安裝且啟用 Advanced Custom Fields,否則對 WordPress 不提供任何功能。, Location ...。
  • ACF: Google Map Extended 》此外掛程式會為 Advanced Custom Fields (ACF) 建立一個新欄位,並擴展了內建 Google 地圖欄位的功能,增加了一些實用功能:, , 保存地圖中心。您可以將地圖...。
  • Ultimate Taxonomy Manager 》該外掛是一個易於使用的分類管理器,可自定義分類和自定義欄位,具有出色的 UI。, 立即下載!, [外掛網址] | [教學] | [最終文章型別管理器], [[本外掛的升級...。
  • SuperCPT 》CPT with a string for the taxonomy name. For example,, $genre = new Super_Custom_Taxonomy( 'genre' );, , It works a lot like register_taxonomy. The...。
  • Redirect by Custom Field 》有時候您需要在自己的網頁或文章中插入連結到外部網址的需求。這個外掛讓您可以輕鬆地透過設定自訂欄位來創建這樣的「重新導向」文章或頁面。, 使用方法:將...。
  • Advanced Custom Fields: NextGEN Gallery Field add-on 》這是一個針對WordPress的Advanced Custom Fields外掛程式,只有當Advanced Custom Fields已經被安裝並啟用時,才能夠為WordPress提供任何功能。, NextGEN Gal...。
  • My Upload Images 》這個外掛會在任何文章類型中建立具有媒體上傳程式的 metabox。在 metabox 中,您可以隨意拖曳圖像並調整順序。圖像的 ID 及順序會以陣列的形式記錄在文章的自...。

文章
Filter
Apply Filters
Mastodon