@contentpilot/read-more

1.0.7 • Public • Published

Content Pilot Read More

Find and convert <!--more--> tag in the WordPress Editor into a button that allows visitor to toggle content visibility.

Installation

npm install @contentpilot/read-more --save-dev

Require JS file in task runner

./node_modules/@contentpilot/read-more/index.js

Bind to content area

$('.entry-content').cpReadMore();

Publish to NPM

To update this repository on NPM using the GitHub action,

  1. Bump the version number in package.json
  2. Commit with message pattern of Release x.x.x
  3. Push to master branch to origin

Package Sidebar

Install

npm i @contentpilot/read-more

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

4.66 kB

Total Files

7

Last publish

Collaborators

  • dushakov92
  • claytoncollie
  • fh_cp
  • greggc