WordPress.org

Ready to get started?Download WordPress

Forums

Geo Mashup
[resolved] How to close category line (4 posts)

  1. wiktoratgmail
    Member
    Posted 1 year ago #

    I want to show route witch starts and ends in the same point. I can add second post in category pointing in the same point as first but I don't want to have two descriptions of one place.

    Maybe is some solution with custom fields where I can set, that post is starting and ending point of route.

    Thanks for reply!

    http://wordpress.org/extend/plugins/geo-mashup/

  2. Dylan Kuhn
    Member
    Plugin Author

    Posted 1 year ago #

    Your other option is to put the route in a KML file and attach that to a single post:

    https://code.google.com/p/wordpress-geo-mashup/wiki/Documentation#Save_a_location_by_uploading_a_KML_Attachment

    Happy mapping!

  3. wiktoratgmail
    Member
    Posted 1 year ago #

    I don't have enough time to fight with KML ;-)

    I have some kind of solution. I've used subplugin geo-mashup-custom/info-window.php. In info-window I've made condition - if post have no thumbnail it will not be showed. I think this can be done also with custom-field.

    <div class="locationinfo post-location-info">
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
      <div class="storycontent">
        <?php if ( function_exists( 'has_post_thumbnail') and has_post_thumbnail() ) : ?>
         <h3><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
        <?php the_post_thumbnail('map-thumb'); ?>
        <?php the_excerpt('custom_excerpt_more','custom_excerpt_length'); ?>
       <?php endif; ?>
      </div>
    <?php endwhile; ?>
  4. Dylan Kuhn
    Member
    Plugin Author

    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic