Title: Do not work Excerpt Limit
Last modified: August 22, 2016

---

# Do not work Excerpt Limit

 *  Resolved [deniq](https://wordpress.org/support/users/deniq/)
 * (@deniq)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/do-not-work-excerpt-limit/)
 * This option do not control Carousel, Highlights and Featurettes modules post 
   announce lenght.
    How can i control them? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/do-not-work-excerpt-limit/#post-5216361)
 * Yeah you’re right, the excerpt limit option works only for post loop and not 
   the modules.
    I’ll make an option for the modules as well in the next updates.
 * Meantime you can change the length by modifying the number in the module files
   under ./inc/modules/carousel.php etc.
 * Look for eo_xcrpt(40); function and change the number accordingly. The eo_xcerpt()
   function limits by word, where as eo_trim() function limits by character count.
 * Or If you want to use the same limit as posts in the options, you can simply 
   replace the line <?php eo_xcrpt(40); ?> with the below code
 *     ```
       if($eo_options["loop_ext"] && $eo_options["loop_ext"] == 'excerpt') {
   
       					if(!empty($eo_options["exc_lim"]) && intval($eo_options["exc_lim"]) > 0 ) {
       						if($eo_options["exc_limby"] == "char") {
       						 eo_trim(strip_tags(get_the_excerpt()),$eo_options["exc_lim"]);
       						}
       						else if($eo_options["exc_limby"] == "word") {
       						 eo_xcrpt(strip_tags($eo_options["exc_lim"]));
       						}
       					}
       					else {
       						the_excerpt();
       					}
       				}
       ```
   
 * Marking as resolved let me know if ou’ve further questions
 *  Thread Starter [deniq](https://wordpress.org/support/users/deniq/)
 * (@deniq)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/do-not-work-excerpt-limit/#post-5216374)
 * thank a lot for quick support

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Do not work Excerpt Limit’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bootstrap-ultimate/1.4.9/screenshot.
   png)
 * Bootstrap Ultimate
 * [Support Threads](https://wordpress.org/support/theme/bootstrap-ultimate/)
 * [Active Topics](https://wordpress.org/support/theme/bootstrap-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bootstrap-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bootstrap-ultimate/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [deniq](https://wordpress.org/support/users/deniq/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/do-not-work-excerpt-limit/#post-5216374)
 * Status: resolved