跳到内容

Teduca Palettes

v1.0

Uriel Albarran Oropeza · 2021年6月18日 上架

Display color palettes on your website using a simple shortcode.

正在使用
10 以下
评分
暂无
累计下载
1,096
最近更新
2021年6月19日
需要 WordPress 4.1+已测试到 5.7.22PHP 5.2.4+

截图

Can be used with any text editor
Can be used with any text editor
Define your heights, title and colors
Define your heights, title and colors

Teduca Palettes help you to showcase a group on colors on your website using a simple shortcode.

The plugin don\’t have limits about how many colors you can use, the displayed colors always have the same size, the first color you use on the shortcode can be used to feature that color a little more than the rest.

The colors expand when you hover the color to display the hex color, after that you can click on the color text to copy the color hex to your clipboard.

Use the shortcode to insert your group

[palette colors="CDF0EA, F9F9F9, F6C6EA, C490E4" title="Unicorn" height="400px"]

Or you can call it directly with PHP in your theme

<?php teduca_palettes( array('#CDF0EA', 'F9F9F9', '#F6C6EA', 'C490E4'), "Unicorn", "400px" ); ?>

You can use the shortcode with # or without, 3 or 6 color code, doesn\’t matter, the action still can handle it.

Options:

  • Height: The default size if you don\’t input anything is 250px
  • Title: You can use you own or leave it empty.
  • Colors: You can use from 1 to as many you want, if your height is too small to display the colors you can increase it using the height option.
  • Width: By default this option is 100%.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums