Title: [Plugin: WP Carousel] Page Excerpts?
Last modified: August 20, 2016

---

# [Plugin: WP Carousel] Page Excerpts?

 *  Resolved [CowboyFrank](https://wordpress.org/support/users/cowboyfrank/)
 * (@cowboyfrank)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-page-excerpts/)
 * Hi Sumolari. I really like this plugin, and it has been invaluable for me. I 
   am using a plugin on my site that adds Excerpt fields for Pages ([http://wordpress.org/extend/plugins/page-excerpt/](http://wordpress.org/extend/plugins/page-excerpt/)).
   However, when I add a Page to a carousel, the carousel pulls in the page content
   for ‘DESC’, rather than what I’ve put in the new Excerpt field.
 * Is there a quick way to mod the code to pull from this new Excerpt field? Thanks
   mucho!
 * [http://wordpress.org/extend/plugins/wp-carousel/](http://wordpress.org/extend/plugins/wp-carousel/)

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

 *  Plugin Author [sumolari](https://wordpress.org/support/users/sumolari/)
 * (@sumolari)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-page-excerpts/#post-2381659)
 * I haven’t used that page-excerpt plugin before, so I don’t know how it works.
   I would try it and improve WP Carousel to make them compatible, but I’m a bit
   busy this month, so I think I will not be able to do that until december.
 * In any case, if Page Excerpt uses WordPress’s custom fields to store the excerpt
   of the pages, it will be really easy to use them as description.
 * WP Carousel tries to load the value of custom field WP_CAROUSEL_CAROUSEL_TEXT
   and use it as description for any content, but as in most of the cases that custom
   field is empty, WP Carousel also loads the excerpt of the post.
 * WP_CAROUSEL_CAROUSEL_TEXT is a constant, defined in wp-carousel.php near line
   71. Just change “wp_carousel_carousel_text”, the value of that constant with 
   the name of the custom field that Page Excerpt uses and then WP Carousel will
   use the excerpt of the pages.
 * But this will only work if in fact Page Excerpt plugin uses custom field, and
   I’m not sure about that as I haven’t used that plugin before.
 * Thanks for using WP Carousel, I’ll try to implement this feature ASAP.
 *  Thread Starter [CowboyFrank](https://wordpress.org/support/users/cowboyfrank/)
 * (@cowboyfrank)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-page-excerpts/#post-2381683)
 * It’s weird: When I look at the SQL database, the Page Excerpt plugin puts a Page’s
   excerpt in the same data column as with all the Posts’ excerpts. So Carousel 
   ought to have no trouble pulling the data from the same place, right?
 *  Thread Starter [CowboyFrank](https://wordpress.org/support/users/cowboyfrank/)
 * (@cowboyfrank)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-page-excerpts/#post-2381699)
 * Fixed! I made a small change around line 4057 on wp-carousel.php:
    `$return['
   desc'] = $post_temp->post_content;` to read instead: `$return['desc'] = $post_temp-
   >post_excerpt;` Thanks again for a great plugin!
 *  [neiller](https://wordpress.org/support/users/neiller/)
 * (@neiller)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-page-excerpts/#post-2381759)
 * CowboyFrank – Thanks ever so much for finding this out.
 * I had to make two changes, and not in exactly the same place, but still in the
   wp-carousel.php file. I just did a search and replace, so your method is good!
 * I also agree, this is a nice little plugin. Thanks Sumolari.
 *  [TumbleweedMarketingAnalytics](https://wordpress.org/support/users/tumbleweedmarketinganalytics/)
 * (@tumbleweedmarketinganalytics)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-page-excerpts/#post-2381780)
 * Hi CowboyFrank,
 * I am seeking some code so that I can create excerpts using the Rotating Posts
   plugin by Mark Inderhees. I would like to insert code so that a post title, image
   and 200 words from each post rotate. And, I see from other forum discussions 
   that you had submitted some code for this purpose – one year ago?
 * Thanks,
    Tom Wolfer (a.k.a Tumbleweed)

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

The topic ‘[Plugin: WP Carousel] Page Excerpts?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-carousel.svg)
 * [WP Carousel](https://wordpress.org/plugins/wp-carousel/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-carousel/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [TumbleweedMarketingAnalytics](https://wordpress.org/support/users/tumbleweedmarketinganalytics/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-page-excerpts/#post-2381780)
 * Status: resolved