The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

The Events Calendar
Events not showing on the home page (1 post)

  1. masok88
    Posted 6 years ago #


    I'm using the following code to display posts listed under the category 'events' along with three other queries listing posts listed under 'news' and 'blog'..

    <?php query_posts('category_name=events&posts_per_page=5'); ?>
    <?php while (have_posts()) : the_post(); ?>
              <span class="date"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php echo get_the_date(); ?></a></span>
              <p class="aggregator-entry"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p>
    <?php $alt = ( empty( $alt ) ) ? ' alt' : '';?>
    <?php endwhile; // posts ?>

    And before I active the events plugin it's working fine. However, when I do the links fail to display. News & Blog queries still work ok, I've used this article (http://wordpress.org/support/topic/405084?replies=2) which seems to work fine on another site I had built but for some reason it's not working.

    Any advice?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic