定制 heise.rocks/kirby-social-media-links 二次开发

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

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

heise.rocks/kirby-social-media-links

最新稳定版本:1.0.5

Composer 安装命令:

composer require heise.rocks/kirby-social-media-links

包简介

Social media integration for kirby.

README 文档

README

banner

Setup

Add the socialMediaTab: social_media_entries tab to your site.yml blueprint.

Example:

title: Site

tabs:
  content:
    label:
      en: Content
      de: Inhalt
    icon: text
    sections:
      pages:
        type: pages
      files:
        type: files
  socialMediaTab: social_media_entries

Blueprint usage

Add socialMedia: social_media_links to a blueprint to use social links based on this plugin for a field.

Example:

person:
  label:
    en: Person
    de: Person
  type: structure
  fields:
    name:
      label:
        en: Person name
        de: Name der Person
      type: text
      width: 1/2
      required: true
    socialMedia: social_media_links

Snippet usage

<?php snippet('social_media_entries'); ?>

Variables

Variable Default Description
containerClasses '' (String) Classes that are applied to the ul container.
containerId '' (String) ID that is applied to the container.
itemClasses '' (String) Classes that are applied to the li element.
linkClasses '' (String) Classes that are applied to the a element.
iconClasses '' (String) Classes that are applied to the svg element.
items $site->socialMediaLinks()->toStructure() (Kirby Structure) Social Media Entries to be used. Has to be resolved to Kirby Structure via toStructure(). Defaults to site-wide definition of social media entries when left empty.

screenshot

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固