Looping through Latitude and Longitude tags
-
Hi,
I built the following loop. I am able to pull the title and permalink just fine. I am also trying to loop through the Latitude and Longitude. Could you please let me know what tag i should be using.
`<?php $loop = new WP_Query( array( ‘post_type’ => ‘event’, ‘posts_per_page’ => -1 ) ); ?>
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?><h1><?php the_title() ?></h1>
<h1><?php the_permalink() ?></h1>
<h1><?php LATITUDE ?></h1>
<h1><?php LONGITUDE ?></h1>
<?php endwhile; wp_reset_query(); ?>’Many thanks,
Yvan
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Looping through Latitude and Longitude tags’ is closed to new replies.