WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: The Events Calendar] Events List Widget -- display the excerpt? (3 posts)

  1. mmtrav
    Member
    Posted 4 years ago #

    Hi guys,

    I've been working on customising the Events List widget and have successfully done some tweaking but I'm getting stumped by another issue.

    Bascially, I would like the post excerpt to be displayed along with the post. Here's a test URL with the widget enabled:

    http://www.brownsmart.com.au/test-page-for-sidebar/

    And here is the code I'm using to generate that:


    <div class="when">
    <span class="month"><?php echo date('M', $start_time); ?></span>
    <span class="date"><?php echo date('j', $start_time); ?></span>
    </div>
    <!-- Post Starts -->
    <div class="post wrap">

    <div class="show">
    <?php woo_get_image('image',50,50,'widget-post-thumbnail',90,get_the_id()); ?>
    <div class="event"><h2><?php echo $post->post_title ?></h2></div>
    <?php the_excerpt(); ?>
    <div>" rel="bookmark" title="<?php _e('Find out more','woothemes') ?>"><?php _e('Read More..','woothemes');?><
    </div>
    </div>

    </div>
    <!-- Post Ends -->

    You can see the_excerpt function in the code but for some reason it's generating the content, not the excerpt, as those excerpt fields are definitely filled. I would like the Widget to display something like what's on the home page:

    http://www.brownsmart.com.au/

    I think it has something to do with the way the loop is generated for this widget. It's probably simple but solving this issue is a bit beyond my knowledge.

    Thanks for your help..

  2. Kenneth Henderson
    Member
    Posted 4 years ago #

    I would like to add a list like that to my site. What plug-in are you using?

  3. TriangleAE
    Member
    Posted 3 years ago #

    So you went Events calendar premium

    My current problem is with the free version showing full articles from the first listed in September. As oppose to showing summaries or excerpts.

    When I go premium it creates another plugin and my article summaries are no longer generated for the site or included in the jquery carousel.

    Have you succeeded in overcoming these obstacles?

Topic Closed

This topic has been closed to new replies.

About this Topic