Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Nuanced Media

    (@nuanced-media)

    Zabi,

    The auto expand is a common request. If you simply drop this script on the pages in which you are displaying reviews, the reviews will be expanded on page load.

    <script>
    jQuery(function(){
        jQuery('.read_more').each(function(){
           this.click();
           this.style.display = "none";
        });
    });
    </script>

    The “less” control will still be there. And so the review can be collapsed like normal. If you want to remove the expand/collapse controls as well, simply add the following line to the script above.

    jQuery('.show_less').each(function(){ this.style.display = "none"; });

    Just what I was looking for, thanks.

    But, how is this done? I don’t really know what “to drop a javscript” is or how to make it specific to my reviews page!

    Could you elaborate on this a bit more please Nuanced Media?

    Many thanks

    Plugin Contributor Nuanced Media

    (@nuanced-media)

    micksim,

    What you will want to do is simply copy the first code block above, and in the “text” editor on the page you have your reviews displayed, simply paste the code block anywhere on the page, and this should do what you are looking for. Just make sure you are on the “text” tab of the editor.

    Also if you want to then remove the more/less control all together simply paste the second code block into the first like so.

    <script>
    jQuery(function(){
        jQuery('.read_more').each(function(){
           this.click();
           this.style.display = "none";
        });
        jQuery('.show_less').each(function(){ this.style.display = "none"; });
    });
    </script>

    Let me know if you have any further questions.

    Thanks,
    Charlie Maxwell
    [NM_Developer]

    Now that’s some seriously decent support right there ??

    It worked simply… perfectly.

    Many thanks Charlie
    5 stars review on its way

    All the best

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Get rid of Read more – Show full review text’ is closed to new replies.