• Hello πŸ™‚ I’m trying to list event attributes like contact name in in the expanded event in the agenda view. I tried to check how it’s printed in event-single and pastet the same code into the right place in agenda.php, but I can’t get it to work;

    <?php if ( $contact ) : ?>
    		<div class="ai1ec-contact">
    			<div class="ai1ec-label"><?php _e( 'Contact:', AI1EC_PLUGIN_NAME ); ?></div>
    			<div class="ai1ec-field-value"><?php echo $contact; ?></div>
    		</div>
    <?php endif; ?>

    Can someone please help me out ? πŸ™‚

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Rafnes

    (@rafnes)

    I think this worked, but dunno if it’s the correct way…
    <?php echo esc_attr( $event->contact_name ) ?>

    Thread Starter Rafnes

    (@rafnes)

    Can someone tell me how to include the google map at this place instead?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fetch and list event attributes "everywhere"’ is closed to new replies.