• If you want to show a longer excerpt of your posts in a posts carousel, this is how to modify the length of the excerpt that appears.

    Proceed carefully with PHP + be aware that this modification will be erased each time the plugin is updated ?? … It would be great if it could become a setting !

    • Open the plugin code (WP now provides a code editor if you have admin access… or you can use FTP)
    • Edit the file Templates > Loop > post-carousel.php ( url should be /wp-admin/plugin-editor.php?file=carousel-slider%2Ftemplates%2Floop%2Fpost-carousel.php&plugin=carousel-slider%2Fcarousel-slider.php )
    • Around line 31 : find the function get_summery() , add a number to the function, example : get_summery(100)
    • Save the file, check there is no PHP warning
    • Refresh your pages (+empty cache system ?)
    • Need more text ? Increase the number of words.
    • This topic was modified 1 year, 7 months ago by Rom Soul.
  • The topic ‘Modify text excerpt length’ is closed to new replies.