echo get_post_meta($marker->ID, 'geo_longitude', true); ?> ' )<?php if ($m < count($markers) - 1) { ?> ,<?php } // that's a comma there, thanks, IE } ?> }, descriptions : { <?php foreach ($markers as $m => $marker) { $content = '<div class="marker-info">' . apply_filters('the_content', $marker->post_content) . '</div>'; $content .= '<p class="entry-meta">' . homeroom_permalink_datestamp(get_permalink($marker->ID), 'icon-calendar permalink', $marker->post_date, false) . '</p>'; ?> <?php echo esc_js($marker->ID); ?> : '<?php echo rawurlencode($content); ?> '<?php if ($m < count($markers)) { ?> , <?php } } ?>
edit_post_link(__('Edit', 'homeroom'), '<span class="edit-link">', '</span>'); ?> <?php get_template_part('map', 'singlepoint'); ?> </footer><!-- .entry-meta --> <div class="clearfix"></div> <?php } else { ?> <div class="entry-content"> <?php the_content(); ?> </div><!-- .entry-content --> <footer class="entry-meta"> <?php homeroom_tags_list(); ?> <?php homeroom_permalink_datestamp(false, 'icon-link permalink'); ?> <?php edit_post_link(__('Edit', 'homeroom'), '<span class="edit-link">', '</span>'); ?> </footer><!-- .entry-meta --> <?php } ?> </div>
<?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'homeroom'), 'after' => '</div>')); ?> <?php get_template_part('map', 'singlepoint'); ?> </div><!-- .entry-content --> <footer class="entry-meta"> <?php homeroom_permalink_datestamp(false, 'icon-calendar permalink'); ?> <?php edit_post_link(__('Edit', 'homeroom'), '<span class="edit-link">', '</span>'); ?> </footer><!-- .entry-meta --> <div class="clearfix"></div> </div> </article> <?php // If comments are open or we have at least one comment, load up the comment template if (comments_open() || '0' != get_comments_number()) { comments_template('', true); }