Quote:
Originally Posted by juggledad
try this
HTML Code:
<?php if is_single() {
$post_cats = get_the_categories();
$post_coordinates = GeoMashup::post_coordinates();
if ( $post_coordinates ) {
echo GeoMashup::map( 'map_content=global&map_cat='. $post_cats[0]->cat_ID
. '¢er_lat' . $post_coordinates['lat'] . '¢er_lng=' .
$post_coordinates['lng'] );
} } ?>
|
Thanks, I tried pasting the above code at the end of the "The Loop" section in the Centre Column tab of the Athualpa theme options, and the following error came up on the front end.
Parse error: syntax error, unexpected T_STRING, expecting '(' in /home/jake13/public_html/shackn/wp-content/themes/atahualpa/functions.php(389) : eval()'d code on line 22
Any ideas why?