WordPress.org

Ready to get started?Download WordPress

Forums

Event Organiser
Events widget displays details of event but not location? (2 posts)

  1. zabbyh
    Member
    Posted 1 year ago #

    Hi

    I have created an event, linked it to a venue, which has an address and a google map.

    This is then displaying under the widget section, I select the event listed and I just see the text that I have entered in the Visual/HTML section.

    It does not show the address or the google map

    Is it working the way it should be?

    Thanks.

    http://wordpress.org/extend/plugins/event-organiser/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Yes it is. The provided templates do not include any venue information. But you can simply copy them to your theme and edit them there (see http://www.harriswebsolutions.co.uk/event-organiser/documentation/editing-the-templates/).

    There are 'template functions' available exactly for this purpose. An incomplete list is available here: http://www.harriswebsolutions.co.uk/event-organiser/documentation/function-reference/

    For your specific question:

    • eo_get_venue_address() (see this page) - returns an array
    • eo_get_venue_map() - not documented yet will be shortly. Example usage when used inside the Loop:
      echo eo_get_venue_map( eo_get_venue());

    Once 1.6 is released I'll be making sure that all available functions are documented (as well the various hooks available).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.