承接 superinteractive/statamic-super-link 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

superinteractive/statamic-super-link

最新稳定版本:v2.0.1

Composer 安装命令:

composer require superinteractive/statamic-super-link

包简介

README 文档

README

Statamic 4.0+

superlink

Super Link

A fieldtype to create smarter links in Statamic 4+

Features

  • Link text customization: Seamlessly add link text directly within the link field.
  • Additional link types: Enhance your links with phone and email options, in addition to Statamic's default types.
  • Open in new tab: Choose whether to open links in a new tab for an improved user experience.
  • Seamless integration: Simply add the Super Link fieldtype to your blueprints like any other link field.

Installation

Require it using Composer.

composer require superinteractive/statamic-super-link

Usage

Once installed, the Super Link fieldtype becomes available when you configure your blueprints.

To display the link in your Antlers template:

{{ super_link }}
  <a href="{{ url }}" target="{{ target }}">{{ text }}</a>
{{ /super_link }}

Or

<a href="{{ super_link.url }}" target="{{ super_link.target }}">{{ super_link.text }}</a>

Editor Options

  • Link Type:
    • URL: Enter or paste any valid URL.
    • First Child: Dynamically return the URL to first entry nested below in a Structure or Navigation.
    • Entry: Directly link to any entry in your Statamic site.
    • Email: Enter an email address to create a mailto: link.
    • Phone: Enter a phone number to create a tel: link.
  • Link Text: Customize the link's display text.
  • Open in New Tab: Toggle to specify whether the link should open in a new tab.

Support

For support, issues, or feature requests, visit the our GitHub issues page.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 5.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-23