定制 evanshunt/wp-replace-social-icons 二次开发

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

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

evanshunt/wp-replace-social-icons

最新稳定版本:v0.2.2

Composer 安装命令:

composer require evanshunt/wp-replace-social-icons

包简介

A WordPress plugin to allow theme overrides of social media icons

README 文档

README

This is a plugin for WordPress when using the block editor and/or full-site editing. It allows you to customize the icons in the social links block.

How to use

  1. Download the latest release.
  2. Install the plugin (drop it into the wp-content/plugins directory)
  3. Add a config file named social-services.json at the root of your theme. In the file, specify your icons in the following format:
{
  "services": {
    "facebook": {
      "icon": "file:./src/svg/facebook.svg"
    },
    "twitter": {
      "icon": "file:./src/svg/twitter.svg"
    },
    "linkedin": {
      "icon": "file:./src/svg/linkedin.svg"
    }
  }
}

Replace the paths with your actual paths to the SVG files. It has only been tested with files relative to your theme root.

  1. Activate the plugin. Now your social service icons should be replaced both on the front-end and in the back end (page editor, full site editor).

Issues

This is pre-release software and might not work as expected. Use at your own risk. However, if you encounter a problem, feel free to open an issue and the maintainer will probably try to fix it.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-10-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固