• Skip to main content

Julian Thomas Screawn

B.A. ,B.ED. ,M.ED.

  • Home
  • About
  • Websites
  • Resources
  • Coding
  • Contact

Adding an interactive google map to the genesis theme Navigation Pro Featured Image area

2025/05/16

function add_google_maps_to_featured(){

if(is_page(1602) or is_page(1642)){
	
echo '<div  class="singular-featured-image-wrap">
<div class="map-responsive">
<iframe frameborder="0"  style="border:0;position:relative;" src="https://www.google.com/maps/d/embed?mid=1bcvtj67yfMlbVhX9m2QIM6PzcJjelpzp&ehbc=2E312F" width="2400" height="600"></iframe>
</div>
</div>';
}
}





add_action('genesis_after_header','add_google_maps_to_featured');

Filed Under: Genesis Framework, Wordpress

Copyright © 2025 · Servicing Moncton, Dieppe, Riverview and beyond! · Moncton Meditation · Moncton English Tutor