bhubbard
7/16/2015 - 4:48 PM

archive-wpseo_locations.php

<?php

/** Replace the standard loop with our custom Locations loop */
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'wpseo_locations_archive_loop' );

function wpseo_locations_archive_loop() {
	echo '<h1>Locations</h1>';
	echo '<div class="entry-content"><p>Your intro text here.</p></div>';
	$args = array(
		'id' => 'all',
		'width' => 960, // Feel free to adjust width and height.
		'height' => 600
	);
	echo wpseo_local_show_map( $args );	
}

genesis();