cp-read-more
v1.0.0
Published
Find and convet the WordPress <!--more--> read more tag to toggle all content below
Downloads
7
Readme
Content Pilot Read More
Find and convert <!--more-->
tag in the WordPress Editor into a button that allows visitor to toggle content visibility.
Install as devDependency
npm install cp-read-more --save-dev
Require JS file in task runner
./node_modules/cp-read-more/cp-read-more.js
Bind to content area
$('.entry-content').cpReadMore();