该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Teduca Palettes

描述

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%.

屏幕截图

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

安装

  1. Add plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the \’Plugins\’ menu in WordPress
  3. Use shortcode on any page to display the color palette.

常见问题

Please visit the Teduca page to see an active page with the color palettes displayed

评价

此插件暂无评价。

贡献者及开发者

“Teduca Palettes” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Teduca Palettes”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • June 17, 2021
  • Built with love
    Contributors: ozonostudio