WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
Recent Posts Conflicts (1 post)

  1. sassymonkey
    Member
    Posted 4 years ago #

    I'm noticing a problem with The Events Calendar plugin in two different methods of showing recent posts.

    I'm wondering if there's a bug in how The Events Calendar plugin interacts with templates and plugins that display recent posts from a specific category.

    QUERY_POSTS IN THEME

    In one instance, I'm using a WP Zoom theme that displays the latest post from a selected category in a block on the homepage. It seems to primarily use query_posts to do it (along with a lot of other code including timthumb and more).

    In my case, I'm selected the Events category that The Events Calendar plugin also uses, resulting in multiple events loading into this homepage category listing that's only supposed to show one recent post. It also indents each subsequent item plus indents all other recent posts in the normal loop which causes them to display far off to the right of the page.

    In other words, The Events Calendar plugin seems to override recent posts display and shows all events posts plus messes with the display of the normal loop of posts below it.

    QUERY POSTS PLUGIN

    Similarly, I tried using The Events Calendar plugin with the Query Posts plugin without success. The Query Posts plugin was set to show just one Events category post, but The Events Calendar plugin would force it to show as many events posts as there were in the database.

    POOR WORKAROUND

    The only workaround I found was to create an Event category too. This way The Events Calendar plugin used Events category for its purposes and the Event category used for the homepage recent posts display.

    But this is annoying because it's messy and my client has to remember to select both Events and Event categories for every events posting.

    MISC DETAILS

    Tried to turn off and on both Display Events on Homepage and Feature on Event Date settings without success.

    This behavior is happening in both WP 2.9.2 and 3.0. Unfortunately, I don't have a live version to illustrate since the bug is too severe to show on a live site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic