定制 uriweb/uri-tides 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

uriweb/uri-tides

最新稳定版本:v2.1.0

Composer 安装命令:

composer require uriweb/uri-tides

包简介

Display live tide data from NOAA

README 文档

README

Add the [uri-tides] shortcode to a page and a tides widget appears. Requires the URI Tides Updater plugin to be installed and activated on at least one site in a multisite network.

How do I get set up?

  1. Install URI Tides Updater. For multisite networks, activate it only on one site (e.g. the homepage) to avoid cron job duplication.
  2. Install URI Tides and activate it where you intend to use it. Network-activation may be appropriate.
  3. Configure the shortcode to taste.

Attributes

The tides widget is somewhat configurable by adding attributes to the shortcode:

height (num)(optional)
Set a height in pixels for the tide chart (do not include units). The water temp will scale accordingly. (default: 30)

darkmode (bool)(optional)
Toggle a light display for placement on dark backgrounds (default: false)

class (string)(optional)
Set custom CSS class(s) (default: none)

Plugin Details

Contributors: Brandon Fuller, John Pennypacker
Tags: widgets
Requires at least: 4.0
Tested up to: 6.0
Stable tag: 2.1.0

统计信息

  • 总下载量: 905
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2023-03-07