Plug n Play Google Map (5 posts)

  1. navigadget
    Posted 10 years ago #

    I came across this new plug-in called Plug n Play Google Map. It works pretty good. I installed it on my experimental site. It has some issues though:
    1. Multiple events with the same location don't get listed on the info balloon. Only one of them does.
    2. Future events don't show up. (if you are posting about an event with future time it won't show up on the map until it is past :(.

    Anyone want to help me with this?

  2. Doodlebee
    Posted 10 years ago #

    um...I'd probably ask the guy who wrote the plugin - sounds more like a plugin issue than a WordPress one.

  3. navigadget
    Posted 10 years ago #

    Yes, it is plug-in issue, not WordPress.

    I asked the guy who wrote the plug-in (no-reponse yet) but I thought I'd start a discussion here to see if anyone else wants to experiment with this code.

  4. Dgold
    Posted 10 years ago #

    That's cool. Would be great to see it developed more. Good luck with this plugin.

  5. navigadget
    Posted 10 years ago #

    I need some coding help!

    So I'm trying to modify the plug-in so that it doesn't show every post, but only those in the "events" category.
    Here is how the query line looks like right now:

    $yf_query = new WP_Query('category_name=events&showposts=5'); while ($yf_query->have_posts()) : $yf_query->the_post();
    $somevar = $yf_query->post->post_name
    do more stuff

    For my purposes I need to show posts from the future (upcoming events). The above code shows only posts from the past. How can I modify this? Will I have to switch to a wpdb query? If so, how? Can somebody help?

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic