WordPress.org

Ready to get started?Download WordPress

Forums

GeoPress - changing the content in the info bubble (1 post)

  1. nathan12343
    Member
    Posted 4 years ago #

    Can anyone help me to bring the content from a post into the information bubble on GeoPress' google maps.

    I've singled out the relevant code from the plugin:

    $details = " @ <strong>". htmlentities($loc->name)."</strong><br />";
        $url = '';
        foreach($posts as $post) {
            $details .= "<a href='".$url.'/?p='.$post->post_id."' title='". htmlentities($post->post_title)."'>".htmlentities($post->post_title)."</a><br />";
        }

    I've had to change the $url attributes because my wordpress files are in a different directory. what I want to do is replace the content appearing in the <a> tags to the content of the blog. I've had a good try at figuring it out, but absolutely no joy at all.

    Hope someone out there can help!

Topic Closed

This topic has been closed to new replies.

About this Topic