How do I return a lat,lng response from SQL DB to reference an embedded Mapbox map in WP


I have a MYSQL database with (amongst other things) city and lat / log that I want to return as follows:

  • Use WP Page Title to call the "City"
  • Send lat / lng to include in the Mapbox js code

Sorry for being a newbie…


BretMadden 2 months 0 Answers 14 views 0

Leave an answer