wrav/simplesharing 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

wrav/simplesharing

最新稳定版本:2.0.0

Composer 安装命令:

composer require wrav/simplesharing

包简介

Simple Sharing generates social media share links within CP entry pages, allowing you to quickly & easily share entries.

README 文档

README

Simple Sharing

Simple Sharing is a CraftCMS plugin that generates social media share links within the Craft CP page, allowing you to quickly and easily share entries.

Requirements

Current Version: 2.0.0
This plugin requires Craft CMS ^4.0.0.

If you are looking for CraftCMS 3.x support, use current project Version 1.0.8

If you are looking for CraftCMS 2.5 support, use previous project version 1.1.5

Installing

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require wrav/simplesharing
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for SimpleSharing.

Usage

Your able to generate share links on the fly in a template as followed.

{{ craft.simpleSharing.link(url, 'facebook') }}
{{ craft.simpleSharing.link(url, 'twitter') }}
{{ craft.simpleSharing.link(url, 'linkedin') }}
{{ craft.simpleSharing.link(url, 'mix') }}
{{ craft.simpleSharing.link(url, 'tumblr') }}
{{ craft.simpleSharing.link(url, 'reddit') }}

Credits

Original built while at working at HutSix I've since been granted permission to continue development here.

Change Log

Changes can be viewed here

Become a Contributor

Open-source projects like this one are looking for your help. Feel free to submit a PR or tackle an issue.

Support

Get in touch via email or by creating a Github issue

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-14