{"id":346733,"date":"2026-07-28T19:10:19","date_gmt":"2026-07-28T19:10:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/photerra-nearby\/"},"modified":"2026-08-03T00:03:22","modified_gmt":"2026-08-03T00:03:22","slug":"photerra-nearby","status":"publish","type":"plugin","link":"https:\/\/cs.wordpress.org\/plugins\/photerra-nearby\/","author":23539426,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.0","stable_tag":"0.2.0","tested":"7.0.4","requires":"6.1","requires_php":"7.4","requires_plugins":null,"header_name":"Photerra Nearby","header_author":"Photerra","header_description":"A free, fast gallery of beautiful travel spots near a location \u2014 from Photerra. Add via block or [photerra_nearby] shortcode.","assets_banners_color":"aeafb0","last_updated":"2026-08-03 00:03:22","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/photerra.com\/for-business\/wordpress","header_author_uri":"https:\/\/photerra.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":159,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"photerra","date":"2026-07-28 19:10:01"},"0.2.0":{"tag":"0.2.0","author":"photerra","date":"2026-08-03 00:03:22"}},"upgrade_notice":{"0.2.0":"<p>Fixes the Photerra Nearby block, which never appeared in the block inserter in 0.1.0. Adds style, font and background controls to the block, and wide\/full alignment.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3626367,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3626367,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3626367,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3626367,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3632172,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"meta\":{\"title\":\"Photerra Nearby \\u2014 a live gallery of the places around you\",\"description\":\"Opens a page with the Photerra Nearby block already on it, rendering real photographs of real places around San Francisco. Change the location, layout or style in the block sidebar and watch it redraw.\",\"author\":\"photerra\",\"categories\":[\"Media\",\"Blocks\"]},\"landingPage\":\"\\\/\",\"preferredVersions\":{\"php\":\"8.2\",\"wp\":\"latest\"},\"plugins\":[\"photerra-nearby\"],\"siteOptions\":{\"blogname\":\"Explore the area\",\"blogdescription\":\"A demo site running the Photerra Nearby plugin\"},\"steps\":[{\"step\":\"login\",\"username\":\"admin\"},{\"step\":\"runPHP\",\"code\":\"<?php require_once '\\\/wordpress\\\/wp-load.php';\\n$content = <<<'HTML'\\n<!-- wp:paragraph -->\\n<p>Everything below this line is the <strong>Photerra Nearby<\\\/strong> block. The photographs are live \\u2014 real places at real coordinates, each credited to the person who took it. Open this page in the editor and change the location, layout or style in the block sidebar to watch it redraw.<\\\/p>\\n<!-- \\\/wp:paragraph -->\\n\\n<!-- wp:photerra\\\/nearby {\\\"hub\\\":\\\"sf\\\",\\\"layout\\\":\\\"grid\\\",\\\"rows\\\":2} \\\/-->\\n\\n<!-- wp:separator -->\\n<hr class=\\\"wp-block-separator has-alpha-channel-opacity\\\"\\\/>\\n<!-- \\\/wp:separator -->\\n\\n<!-- wp:heading -->\\n<h2 class=\\\"wp-block-heading\\\">Or a narrow strip, from the shortcode<\\\/h2>\\n<!-- \\\/wp:heading -->\\n\\n<!-- wp:paragraph -->\\n<p>The same widget in a different shape, added with <code>[[photerra_nearby hub=\\\"np\\\" layout=\\\"strip\\\" count=\\\"8\\\"]]<\\\/code>. Five layouts ship: compact grid, map, strip, sidebar rail and a small badge.<\\\/p>\\n<!-- \\\/wp:paragraph -->\\n\\n<!-- wp:shortcode -->\\n[photerra_nearby hub=\\\"np\\\" layout=\\\"strip\\\" count=\\\"8\\\"]\\n<!-- \\\/wp:shortcode -->\\n\\n<!-- wp:heading -->\\n<h2 class=\\\"wp-block-heading\\\">And the map<\\\/h2>\\n<!-- \\\/wp:heading -->\\n\\n<!-- wp:paragraph -->\\n<p>Every mapped spot in the area, clustered, with clickable photo pins \\u2014 <code>[[photerra_nearby hub=\\\"sf\\\" layout=\\\"map\\\"]]<\\\/code>. The map engine only downloads when the map is opened, so the gallery above stays light.<\\\/p>\\n<!-- \\\/wp:paragraph -->\\n\\n<!-- wp:shortcode -->\\n[photerra_nearby hub=\\\"sf\\\" layout=\\\"map\\\"]\\n<!-- \\\/wp:shortcode -->\\nHTML;\\n$id = wp_insert_post( array( 'post_title' => 'Things to see near you', 'post_name' => 'explore-the-area', 'post_content' => $content, 'post_status' => 'publish', 'post_type' => 'page' ) );\\nif ( $id && ! is_wp_error( $id ) ) { update_option( 'show_on_front', 'page' ); update_option( 'page_on_front', $id ); }\\n\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"photerra-nearby\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":{"photerra\/nearby":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"photerra\/nearby","title":"Photerra Nearby","category":"media","icon":"location-alt","description":"A gallery and map of real photographed places near a location. Free, no account, no tracking.","keywords":["map","travel","attractions","nearby","gallery"],"textdomain":"photerra-nearby","supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true}},"attributes":{"hub":{"type":"string","default":""},"layout":{"type":"string","default":""},"theme":{"type":"string","default":""},"rows":{"type":"number","default":2},"count":{"type":"number","default":6},"accent":{"type":"string","default":""},"preset":{"type":"string","default":""},"bg":{"type":"string","default":""},"font":{"type":"string","default":""},"border":{"type":"string","default":""}},"editorScript":"photerra-nearby-editor","viewScript":"photerra-nearby-frontend"}},"tagged_versions":["0.1.0","0.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3626367,"resolution":"1","location":"assets","locale":"","width":1600,"height":667},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3626367,"resolution":"2","location":"assets","locale":"","width":1600,"height":747}},"screenshots":{"1":"The gallery: real nearby places, each credited to the person who photographed it.","2":"The map view: every spot in the area, clustered, with clickable photo pins."}},"plugin_section":[],"plugin_tags":[273637,157461,273638,273639,154170],"plugin_category":[],"plugin_contributors":[273640],"plugin_business_model":[],"class_list":["post-346733","plugin","type-plugin","status-publish","hentry","plugin_tags-local-attractions","plugin_tags-nearby-places","plugin_tags-things-to-do","plugin_tags-travel-guide","plugin_tags-travel-map","plugin_contributors-photerra","plugin_committers-photerra"],"banners":{"banner":"https:\/\/ps.w.org\/photerra-nearby\/assets\/banner-772x250.png?rev=3626367","banner_2x":"https:\/\/ps.w.org\/photerra-nearby\/assets\/banner-1544x500.png?rev=3626367","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/photerra-nearby\/assets\/icon-128x128.png?rev=3626367","icon_2x":"https:\/\/ps.w.org\/photerra-nearby\/assets\/icon-256x256.png?rev=3626367","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/photerra-nearby\/assets\/screenshot-1.png?rev=3626367","caption":"The gallery: real nearby places, each credited to the person who photographed it."},{"src":"https:\/\/ps.w.org\/photerra-nearby\/assets\/screenshot-2.png?rev=3626367","caption":"The map view: every spot in the area, clustered, with clickable photo pins."}],"raw_content":"<!--section=description-->\n<p><strong>Photerra Nearby<\/strong> puts a beautiful map and photo gallery of the local attractions around you onto any WordPress page \u2014 free, in about a minute, with no account and no code.<\/p>\n\n<p>Every photograph is a real place at a real coordinate, taken by a traveler or drawn from openly-licensed archives, and every one carries its credit. It updates itself as new photos arrive, so the \"things to do nearby\" section of your site stops going stale the week after you write it.<\/p>\n\n<p>Made for the sites where place matters: <strong>hotels and vacation rentals<\/strong> (\"explore the area\"), <strong>tour operators<\/strong>, <strong>travel blogs<\/strong>, and <strong>tourism boards<\/strong>.<\/p>\n\n<h4>Why you might want it<\/h4>\n\n<ul>\n<li><strong>Free, and free for commercial use.<\/strong> No account, no trial, no paid tier.<\/li>\n<li><strong>Genuinely lightweight.<\/strong> The plugin renders a lazy-loaded iframe that reserves its height in advance \u2014 nothing render-blocking, nothing that can shift your layout.<\/li>\n<li><strong>No cookies, no visitor tracking.<\/strong> It sets nothing in the browser, so it needs no entry in your cookie banner.<\/li>\n<li><strong>Every photo credited.<\/strong> Traveler photography names the contributor; openly-licensed archive photography names the author, the licence and the source, with links.<\/li>\n<li><strong>Themeable.<\/strong> Light \/ dark \/ auto, your accent colour, background and font, three style presets, and five layouts \u2014 compact grid, map, strip, sidebar rail, or a small badge.<\/li>\n<li><strong>Curated, not just nearest.<\/strong> It leads with the photographs that show a place worth looking at, and keeps back the ones that do not \u2014 a stadium concert, a shopfront, a photo of a festival rather than of the park it was held in.<\/li>\n<li><strong>Nothing left behind.<\/strong> Delete the plugin and its one settings row goes with it: no residue, no stored data, no account.<\/li>\n<\/ul>\n\n<h4>An honest note on SEO<\/h4>\n\n<p>The widget renders inside an iframe, so its content is <strong>not<\/strong> indexed as part of your page and it will not improve your search rankings. We would rather say so here than let you find out later. What it does is give your visitors a reason to stay and explore the area, which is the thing that actually matters on a page about where you are.<\/p>\n\n<h4>How to use<\/h4>\n\n<p><strong>Block:<\/strong> add the <strong>Photerra Nearby<\/strong> block (search for it in the inserter \u2014 it is under Media), then choose the location, layout, style preset, theme and colours in the block sidebar.<\/p>\n\n<p><strong>Shortcode:<\/strong><\/p>\n\n<pre><code>[photerra_nearby hub=\"sf\" layout=\"grid\" theme=\"auto\" rows=\"2\"]\n<\/code><\/pre>\n\n<p>Attributes: <code>hub<\/code> (sf, pdx, la, sd, phi, np, hi, mx), <code>lat<\/code>\/<code>lng<\/code> for an exact location, <code>layout<\/code> (grid, map, strip, rail, badge), <code>theme<\/code> (auto, light, dark), <code>rows<\/code> for grid and map (1\u20138), <code>count<\/code> for strip and rail (3\u201324), <code>accent<\/code> (hex colour), <code>preset<\/code> (editorial, minimal, native), <code>bg<\/code>, <code>font<\/code>, <code>border<\/code>.<\/p>\n\n<p>Set site-wide defaults under <strong>Settings \u2192 Photerra Nearby<\/strong>.<\/p>\n\n<p>Don't see your area yet? Locations are added on request \u2014 email info@photerra.com.<\/p>\n\n<h4>External service<\/h4>\n\n<p>This plugin displays content from Photerra (https:\/\/photerra.com), a travel photography service operated by Photerra, Inc.<\/p>\n\n<p>It renders an <code>&lt;iframe&gt;<\/code> pointing at <code>https:\/\/photerra.com\/embed\/v1\/frame<\/code>. Your visitor's browser loads that frame, which then requests spot data and photographs from Photerra. As with any request, Photerra receives the visitor's IP address and user-agent, recorded in ordinary server access logs. The frame also sends Photerra one diagnostic message per load describing <strong>the embed<\/strong> \u2014 which domain it loaded on, which location was requested, whether it rendered, and how many photographs it showed \u2014 so broken installations can be found. It contains no visitor identifier, no page path, no referrer and no coordinates. No cookies are set and nothing is stored in the browser.<\/p>\n\n<p>If a visitor opens the map view, their browser additionally loads map software from jsDelivr (https:\/\/www.jsdelivr.com) and map tiles from OpenFreeMap (https:\/\/openfreemap.org). The default gallery view loads neither.<\/p>\n\n<p>Terms of service: https:\/\/photerra.com\/terms\nPrivacy policy: https:\/\/photerra.com\/privacy<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20it%20really%20free%3F\"><h3>Is it really free?<\/h3><\/dt>\n<dd><p>Yes, including on commercial sites \u2014 hotels, vacation rentals, tour operators, restaurants, tourism boards and travel publishers. There is no account, no trial and no paid tier.<\/p><\/dd>\n<dt id=\"does%20it%20slow%20my%20site%20down%3F\"><h3>Does it slow my site down?<\/h3><\/dt>\n<dd><p>No. The widget renders inside a lazy-loaded iframe that reserves its height up front, plus one small asynchronous resize script \u2014 so it never blocks your page render and cannot cause layout shift.<\/p><\/dd>\n<dt id=\"does%20it%20use%20cookies%20or%20track%20my%20visitors%3F\"><h3>Does it use cookies or track my visitors?<\/h3><\/dt>\n<dd><p>No. It sets no cookies, writes nothing to browser storage, and creates no visitor identifier, so it needs no entry in your cookie banner. See the \"External service\" section above for exactly what is and is not sent.<\/p><\/dd>\n<dt id=\"i%20can%27t%20find%20the%20block%20in%20the%20inserter.\"><h3>I can't find the block in the inserter.<\/h3><\/dt>\n<dd><p>Search for \"Photerra\" \u2014 the block is called <strong>Photerra Nearby<\/strong> and sits in the <strong>Media<\/strong> category. If you are upgrading from 0.1.0, that version had a registration fault that kept the block out of the inserter entirely; 0.2.0 fixes it, and any block already in your content starts rendering in the editor again after the update.<\/p><\/dd>\n<dt id=\"what%20if%20there%20aren%27t%20many%20places%20near%20me%3F\"><h3>What if there aren't many places near me?<\/h3><\/dt>\n<dd><p>For an exact lat\/lng it shows the nearest real spots (up to 500 miles out), and when there is genuinely nothing to show it says so honestly instead of rendering a broken-looking box. Coverage is real where it exists and thin where it isn't \u2014 locations are added deliberately, on request, not scraped.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20colours%20and%20layout%3F\"><h3>Can I change the colours and layout?<\/h3><\/dt>\n<dd><p>Yes \u2014 in the block sidebar, in Settings \u2192 Photerra Nearby, or in the visual builder at https:\/\/photerra.com\/embed\/v1\/configurator which previews your exact settings against real data.<\/p><\/dd>\n<dt id=\"who%20owns%20the%20photographs%3F\"><h3>Who owns the photographs?<\/h3><\/dt>\n<dd><p>The photographers do. Displaying the widget is covered by Photerra's terms, and every photo carries its credit inside the widget. The one condition is that credits are not removed or covered.<\/p><\/dd>\n<dt id=\"where%20do%20i%20get%20help%3F\"><h3>Where do I get help?<\/h3><\/dt>\n<dd><p>https:\/\/photerra.com\/for-business\/help \u2014 or email info@photerra.com, where a real person answers.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.0<\/h4>\n\n<ul>\n<li><strong>The block now appears in the inserter.<\/strong> It never did: the block was registered without a title, and WordPress silently refuses a title-less block \u2014 so the editor showed \"Your site doesn't include support for the Photerra Nearby block\" even with the plugin active, and only the shortcode worked. Block metadata now lives in <code>block.json<\/code>.<\/li>\n<li>The block preview in the editor sizes itself and matches the page's light\/dark theme, instead of sitting at a fixed height in the visitor's OS theme.<\/li>\n<li>Clicking the preview now selects the block instead of interacting with the widget inside it.<\/li>\n<li>New block controls: style preset (Editorial \/ Minimal \/ Native), font, background, and border \u2014 previously reachable only from the shortcode.<\/li>\n<li>The block supports wide and full alignment, and the editor's margin controls.<\/li>\n<li>New setting: default style preset.<\/li>\n<li>The built-in default location is now San Francisco rather than Portland. Any location you have set explicitly is unchanged.<\/li>\n<li>Deleting the plugin now removes its settings row.<\/li>\n<li>The editor interface is translatable.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release: <code>[photerra_nearby]<\/code> shortcode, Photerra Nearby block, and a settings page for site-wide defaults.<\/li>\n<\/ul>","raw_excerpt":"Show local attractions near you \u2014 a free travel map and photo gallery of real nearby places, for hotels, rentals, tour operators and travel blogs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/346733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=346733"}],"author":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/photerra"}],"wp:attachment":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=346733"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=346733"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=346733"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=346733"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=346733"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=346733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}