WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] The Events Calendar event metadata displays (5 posts)

  1. kgagne
    Member
    Posted 4 years ago #

    Thanks for the neat plugin! In addition to recurring events and iCal support, I have two requests:

    1) When events appear in the blog's main index, the event metadata is not displayed. Is there a way to integrate this information? Without it, the blog post appears rather useless, as it does not show when and where the event is; visitors may not know to click on the blog's headline to read its individual listing and get that data.

    2) When no street address is provided but city/state/zip are, I would like that information to be displayed. Right now I'm working around this by entering a single space into the "Address" field.

    Also, when a venue name has an apostrophe, the plugin sometimes drops it and everything after it -- so "Joker's Bar and Lounge" becomes "Joker", for example.

    Cheers.

  2. kgagne
    Member
    Posted 4 years ago #

    I was able to address concern #1 by modifying my index.php to have some of the same code as the plugin's list.php inside an if block. It doesn't put the event's metadata into the RSS feed, though.

  3. kgagne
    Member
    Posted 4 years ago #

    I just realized that the plugin was displaying the event's city and country but not state. Various references in list.php and single.php to the_event_region had to be changed to the_event_state.

  4. kgagne
    Member
    Posted 4 years ago #

    In v1.6, lines 139 and 141 of template-tags.php, the_event_region must be changed to the_event_state. (I have "Default Country for Events" set to "United States" so I'm not sure why this is happening.)

  5. kgagne
    Member
    Posted 4 years ago #

    See the official solution here:

    http://wordpress.org/support/topic/405623

Topic Closed

This topic has been closed to new replies.

About this Topic