Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey jfarris!
    The code in that mini plugin works well. I just wanted to mention that this is what I used to display the map and its address in a page on the front end:

    <?php
    	$venues = eo_get_multiple_venues($post->ID);
    	if (count($venues) > 0) {
    		$venue_objs = $venue_ids_array = array();
    		foreach ($venues as $key => $venue_name) {
    			$venue_objs[] = eo_get_venue_by('name', $venue_name);
    		}
    
    		if (count($venues) > 1) {
    			$lieu = 'Lieux';
    		} else {
    			$lieu = 'Lieu';
    		}
    	?>
      <h3>Directions</h3>
      <h6><?php echo $lieu; ?> de l'évènement </h6>
      <ul class="venue-addresses">
      	<?php
    			foreach ($venue_objs as $key => $ven) {
    				$venue_ids_array[] = $ven->term_id;
    				echo '<li><strong>'.$ven->name.'</strong><br/>'.$ven->venue_address.' '.$ven->venue_postcode.'</li>';
    			}
      	?>
      </ul>
    	<?php echo eo_get_venue_map( $venue_ids_array, array('width'=>'100%', 'height' => '300px') ); ?>
    <?php } ?>
    Forum: Plugins
    In reply to: Plugin Help
    pmusaraj

    (@pmusaraj)

    Hi doodlebee,
    I’m the owner of the site above. Thanks for noticing. Here’s what we are using:

    post image plugin to load the little thumbnails on the homepage

    post star rating for the entry rating system

    get recent comments for, well, recent comments

    sideblog for the short entries on the side.

    we also use a few other plugins for backend management, but nothing too fancy. oh, and some custom fields for the downloads.

    cheers

Viewing 2 replies - 1 through 2 (of 2 total)