Read More Read Less

Created by: Shashank Kumar

Rating:
Downloaded: 1k times

So easy and lightweight plugin that helps you to show some portion of large data and show and hide on button click. Also if there is any URL in that link, it will take you there. Place this code in your template file <label class=”redirectTo” style=”display: none”>Here you can provide the link where you want to redirect the page and its optional. If its empty then read more read less functionality will work.</label> and in the between the tag set the URL you want to redirect the user and use this shortcode to “[readmoreless maxchar=50]Here you can put your string[/readmoreless]” to show the data and in between the tag set the string you want to show. maxchar is the variable where you set the maximum words you want to show when page loads.

Screenshots

    Categories

    Get New Themes & Resources