Support » Plugin: EasyRotator for WordPress - Slider Plugin » Description field using content instead of excerpt

  • Resolved peter.tan


    Love the plugin so far trying it out.
    But I ran into a problem where the images used are from featured images of posts. The description field has nothing displayed. Later I found the description field requires excerpt field of the posts, where my posts has no excerpt. How can I use the description field to display the content instead of excerpt? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DWUser


    Hi Peter,

    Thanks for using EasyRotator for WordPress. If you want to use a post’s content instead of its excerpt for a slide description text, you’ll need to update the following line (around 1796) in plugins/easyrotator-for-wordpress/engine/main.php:

    $description = $post->post_excerpt;

    To be:

    $description = $post->post_content;

    You may want to also update the code to trim the text.

    Please let me know if you have any other questions.

    Drew O’Neill

    Thanks for the quick reply. I do have other qs, i’ll open a new thread for it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Description field using content instead of excerpt’ is closed to new replies.