承接 wpcomposer/wysiwyg-character-count 相关项目开发

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

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

wpcomposer/wysiwyg-character-count

Composer 安装命令:

composer require wpcomposer/wysiwyg-character-count

包简介

Character counter for the WordPress WYSIWYG

README 文档

README

A WordPress plugin that counts characters in the WYSIWYG editor.

Why a character counter?

Currently there is no character counter for the WYSIWYG. Having one is helpful for editors and content creators.

Pre-requisites

Setup

{
    "require": {
        "wpcomposer/wysiwyg-character-count" : "0.*"
    }
}
composer require wpcomposer/wysiwyg-character-count

Usage

Register the character counter.

> theme-folder/functions.php
<?php 

use WCom\WYSIWYG\WYSIWYG;

WYSIWYG::registerCharacterCount();

Why not just activate the plugin - which turns on the counter?

Good point. I'll decide in version 1.0.0 whether to automatically have character counting when the plugin is active.

Currently, the counter will work with the above code, even if the plugin is not active, which feels wrong.

MU-Plugin Instead

If you want to turn it into a mu-plugin, use a WordPress Autoloader.

Isn't there a Word Counter

Yes there is. However, whilst editorials require number of words, usually developers restrict by number of characters.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-04-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固