Add a beautiful map & gallery of nearby travel spots to any WordPress site — one line in a Custom HTML block, or the Photerra Nearby plugin. No code.
<script async src="https://photerra.com/embed/v1/loader.js" data-hub="pdx" data-layout="grid" data-cfasync="false"></script>Customize the location, layout, theme and colors — and copy your exact line — in the widget builder.
WordPress strips <script> tags from post content for non-administrator authors (that is KSES, and it is a security feature, not a bug), so paste the embed as an administrator or use a Custom HTML block. If your theme runs an optimizer — WP Rocket’s “Delay JS”, Perfmatters, LiteSpeed, Autoptimize — the snippet already carries data-cfasync="false", which every one of them honours.
[photerra_nearby] shortcode is built and in review for the WordPress.org directory. Until it is listed, the one-line embed below does exactly the same thing on any WordPress install — self-hosted or WordPress.com Business and above.Every photo is real travel photography, shown with credit to the person who made it, and we honor each contributor’s privacy choices. It’s free because it helps people discover great places — not because we sell anyone’s data.
Every photo in the widget is a real place at a real coordinate, contributed by a traveler or drawn from openly-licensed archives — the same corpus behind Photerra’s destination pages.
If the widget isn’t showing up on your WordPress site, or it’s showing the wrong place, we can usually spot it in a minute. We answer every message ourselves — there is no ticket queue and no bot.
Want your city added? Request a location — we add new places regularly.