1.0.7 • Published 5 years ago
@contentpilot/read-more v1.0.7
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,
- Bump the version number in
package.json - Commit with message pattern of
Release x.x.x - Push to
masterbranch toorigin