• I try to use the Geo Plugin in my WP 1.5.
    Plugin is activated, Geographic Tracking Features enabled and
    plus default longitude & latitude values set up.

    When I use
    “>Locate sites near me with GeoURL
    in my template inside the loop.
    I get :
    Fatal error: Unknown function: print_geourl_url()

    What’s wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • It should be:

    <?php print_GeoURL_Url(); ?>

    Note the capitalization.

    Thread Starter stedi

    (@stedi)

    I posted “HTML” accidentally.

    <?php print_Lat(); ?>
    <?php print_Lon(); ?>
    <?php print_GeoURL_Url(); ?>

    I’ve tried with the exact syntax found in the Codex, but still no luck.

    Stedi,

    I took a look at the plugin, and it appears the dev didn’t go with the original Geo function names, instead choosing to use the WordPress “norm” for template tags that display data:

    the_GeoURL_Url()

    So any of the Geo print_ functions are now instead prefixes with the_. I’ll have to make note of this on the Codex pages…

    Thread Starter stedi

    (@stedi)

    Lon: <?php the_Lon(); ?>”, Lat: <?php the_Lat(); ?>
    works fine!

    Thanks alot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘geourl function not working’ is closed to new replies.