WordPress.org

Support

Support » Plugins and Hacks » "Read more | Read less" where to insert JavaScript?

"Read more | Read less" where to insert JavaScript?

  • Hello! I was looking for a read more/read less option for texts contents on pages. I came across this page http://codepen.io/JoshBlackwood/pen/pEwHe which is exactly what I need, but I don’t know about Java Script. I follow the instructions about Using Java Script http://codex.wordpress.org/Using_Javascript but I may be doing something wrong, because it doesn’t show.
    I uploaded a readmoreless.js file to the themename/js folder and in header.php added <script type="text/javascript" src="/js/readmoreless.js"></script>.
    Also added CSS and code in page. Nothing 🙁
    Any help would be very much appreciated!! Thank you

  • The topic ‘"Read more | Read less" where to insert JavaScript?’ is closed to new replies.
Skip to toolbar