{"id":503,"date":"2026-02-26T15:48:23","date_gmt":"2026-02-26T15:48:23","guid":{"rendered":"https:\/\/staging.buddyupgo.com\/?page_id=503"},"modified":"2026-02-26T15:48:23","modified_gmt":"2026-02-26T15:48:23","slug":"my-adventures","status":"publish","type":"page","link":"https:\/\/staging.buddyupgo.com\/my-adventures\/","title":{"rendered":"My Adventures"},"content":{"rendered":"<div class=\"buddyUpPjaxContainer\" data-buddyup-pjax-container=\"1\"><style>#buddyUpMyAdventuresWrapper{padding-block:clamp(1rem,3vw,2rem) 5rem}.buddyUpAdventureListPanel{padding:clamp(1rem,2.5vw,1.5rem)}#buddyUpAdventurePublicSearchForm{max-width:620px;margin:0 0 1.25rem;padding:.9rem;border:1px solid var(--buddyup-outline);border-radius:14px;background:var(--buddyup-surface-soft)}#buddyUpAdventurePublicSearchForm .buddyUpSearchButtonInput{grid-template-columns:minmax(0,1fr) 52px;align-items:stretch}#buddyUpAdventurePublicSearchForm .buddyUpSearchButtonInput>input,#buddyUpAdventurePublicSearchForm .buddyUpSearchButtonInput>button{min-height:48px;height:48px!important;box-sizing:border-box}#buddyUpAdventurePublicSearchForm .buddyUpSearchButtonInput>button{display:inline-flex;align-items:center;justify-content:center;width:52px}.buddyUpAdventureCard{display:grid;grid-template-columns:220px minmax(0,1fr);gap:1rem;margin-bottom:.85rem;padding:.8rem;border:1px solid var(--buddyup-outline);border-radius:17px;background:#fff;box-shadow:var(--buddyup-shadow-sm);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.buddyUpAdventureCard:hover{transform:translateY(-2px);box-shadow:var(--buddyup-shadow-md)}.buddyUpAdventureCard:focus-visible{outline:3px solid rgba(67,126,146,.35);outline-offset:2px}.buddyUpAdventureCardPreview,.buddyUpAdventureCardMain{min-width:0}.buddyUpAdventureCardCover{display:block;width:100%;height:160px;border-radius:12px;object-fit:cover}.buddyUpAdventureCardCoverPlaceholder{background:var(--buddyup-surface-soft)}.buddyUpAdventureCardOpenLink{color:var(--primary-color);font-weight:700}.buddyUpAdventureCard .buddyUpMediaContainer{margin-top:.5rem}@media (max-width: 700px){.buddyUpAdventureCard{grid-template-columns:1fr}.buddyUpAdventureCardCover{height:auto;aspect-ratio:16 \/ 10}}\n<\/style><section id=\"buddyUpMyAdventuresWrapper\" class=\"buddyUpContainer buddyUp\">\n    <div class=\"buddyUpPageHeader buddyUpHeaderWrapper\">\n        <div>\n            <span class=\"buddyUpPageEyebrow\">Share your stories<\/span>\n            <h1 class=\"textH1\">Adventures<\/h1>\n            <p class=\"buddyUpPageLead\">Discover public stories, revisit your own, and manage adventures where someone tagged you.<\/p>\n        <\/div>\n        <div><a id=\"buddyUpCreateAdventurePageLink\" href=\"#\" class=\"buddyUpButton1\"><i class=\"fa fa-plus\" aria-hidden=\"true\"><\/i> Create Adventure<\/a><\/div>\n    <\/div>\n\n    <div id=\"buddyUpAdventuresTabs\" class=\"buddyUpListTabs\">\n        <div class=\"buddyUpListTabButtons\" role=\"tablist\" aria-label=\"Adventures tabs\">\n            <button id=\"buddyUpAdventuresTabSearch\" type=\"button\" class=\"buddyUpButton1 buddyUpListTabButton isActive\" data-tab=\"search\" role=\"tab\" aria-selected=\"true\">Public<\/button>\n            <button id=\"buddyUpAdventuresTabMy\" type=\"button\" class=\"buddyUpButton3 buddyUpListTabButton\" data-tab=\"my\" role=\"tab\" aria-selected=\"false\">My<\/button>\n            <button id=\"buddyUpAdventuresTabTagged\" type=\"button\" class=\"buddyUpButton3 buddyUpListTabButton\" data-tab=\"tagged\" role=\"tab\" aria-selected=\"false\">Tagged<\/button>\n        <\/div>\n\n        <div class=\"buddyUpListTabPanels\">\n            <section class=\"buddyUpListTabPanel isActive\" data-tab-panel=\"search\" role=\"tabpanel\" aria-labelledby=\"buddyUpAdventuresTabSearch\">\n                <div class=\"buddyUpElWrapper buddyUpAdventureListPanel\">\n                    <form id=\"buddyUpAdventurePublicSearchForm\" class=\"buddyUpSearchSidebarSection\" style=\"margin-bottom:.85rem;\">\n                        <label for=\"buddyUpAdventurePublicSearch\">Search Public Adventures<\/label>\n                        <div class=\"buddyUpSearchButtonInput\">\n                            <input type=\"text\" id=\"buddyUpAdventurePublicSearch\" name=\"buddyUpAdventurePublicSearch\" placeholder=\"Waterfall hike\" \/>\n                            <button type=\"submit\" id=\"buddyUpAdventurePublicSearchButton\" class=\"buddyUpButton1\" aria-label=\"Search public adventures\"><i class=\"fa fa-search\"><\/i><\/button>\n                        <\/div>\n                    <\/form>\n                    <div id=\"buddyUpAdventurePublicList\"><\/div>\n                <\/div>\n            <\/section>\n\n            <section class=\"buddyUpListTabPanel\" data-tab-panel=\"my\" role=\"tabpanel\" aria-labelledby=\"buddyUpAdventuresTabMy\" hidden>\n                <div class=\"buddyUpElWrapper buddyUpAdventureListPanel\">\n                    <h2 class=\"buddyUpSectionHeading\">My Adventures<\/h2>\n                    <div id=\"buddyUpMyAdventuresList\"><\/div>\n                <\/div>\n            <\/section>\n\n            <section class=\"buddyUpListTabPanel\" data-tab-panel=\"tagged\" role=\"tabpanel\" aria-labelledby=\"buddyUpAdventuresTabTagged\" hidden>\n                <div class=\"buddyUpElWrapper buddyUpAdventureListPanel\">\n                    <h2 class=\"buddyUpSectionHeading\">Tagged Adventures<\/h2>\n                    <div class=\"buddyUpFlowHint\">Use \u201cHide me\u201d to opt out and remove your name from a tagged adventure.<\/div>\n                    <div id=\"buddyUpTaggedAdventuresList\"><\/div>\n                <\/div>\n            <\/section>\n        <\/div>\n    <\/div>\n<\/section>\n<script>(async function(){if(!document.getElementById(\"buddyUpMyAdventuresWrapper\"))return;const k=BUDDYUP.getCurrentUser(),g=!!(k&&k.id),f=document.getElementById(\"buddyUpCreateAdventurePageLink\"),p=document.getElementById(\"buddyUpAdventurePublicList\"),u=document.getElementById(\"buddyUpMyAdventuresList\"),o=document.getElementById(\"buddyUpTaggedAdventuresList\"),m=document.getElementById(\"buddyUpAdventuresTabs\"),x=m?m.querySelectorAll(\".buddyUpListTabButton[data-tab]\"):[],B=m?m.querySelectorAll(\".buddyUpListTabPanel[data-tab-panel]\"):[],w=document.getElementById(\"buddyUpAdventurePublicSearchForm\"),T=document.getElementById(\"buddyUpAdventurePublicSearch\");let L=[],b=[],v=[];if(f){const e=g?buddyUpVariables.create_adventure_link||\"\":buddyUpVariables.login_link||\"\";f.setAttribute(\"href\",e||\"#\"),g||(f.innerText=\"Log in to Create\"),f.addEventListener(\"click\",t=>{if(!e){t.preventDefault(),BUDDYUP.openModal(\"<p>The adventure creation page is not configured yet.<\/p>\",\"Unable to open Create Adventure\",\"buddyUpTextCenter\");return}typeof BUDDYUP.pjaxNavigate==\"function\"&&(t.preventDefault(),BUDDYUP.pjaxNavigate(e))})}const D=e=>{x.forEach(t=>{const i=t.getAttribute(\"data-tab\")===e;t.classList.toggle(\"isActive\",i),t.classList.toggle(\"buddyUpButton1\",i),t.classList.toggle(\"buddyUpButton3\",!i),t.setAttribute(\"aria-selected\",i?\"true\":\"false\")}),B.forEach(t=>{const i=t.getAttribute(\"data-tab-panel\")===e;t.classList.toggle(\"isActive\",i),t.hidden=!i})};x.forEach(e=>{e.addEventListener(\"click\",()=>{D(String(e.getAttribute(\"data-tab\")||\"search\"))})});function $(e){const t=Number(e);if(!isFinite(t)||t<=0)return\"#\";const i=String(buddyUpVariables&&buddyUpVariables.adventure_link?buddyUpVariables.adventure_link:\"\").trim();return i?`${i}${i.indexOf(\"?\")>=0?i.endsWith(\"?\")||i.endsWith(\"&\")?\"\":\"&\":\"?\"}adventure_id=${t}`:\"#\"}function Y(e){const t=Array.isArray(e&&e.media)?e.media:[];if(!t.length)return null;const i=t.find(r=>r&&(r.is_cover===!0||r.cover===!0||Number(r.is_cover)===1||Number(r.cover)===1));if(i&&i.url)return i;const n=t.find(r=>r&&r.url&&String(r.type||\"\").toLowerCase()!==\"video\");return n||t.find(r=>r&&r.url)||null}function H(e,t){if(!e||!t||t===\"#\")return;const i=()=>{typeof BUDDYUP<\"u\"&&typeof BUDDYUP.pjaxNavigate==\"function\"?BUDDYUP.pjaxNavigate(t):window.location.href=t};e.addEventListener(\"click\",n=>{n.target&&n.target.closest(\"a,button,input,label,select,textarea,.buddyUpAdventureCardControls,.buddyUpNoCardNav\")||i()}),e.addEventListener(\"keydown\",n=>{(n.key===\"Enter\"||n.key===\" \")&&(n.preventDefault(),i())})}function V(e,t){const i=Number(e&&e.id?e.id:0),n=`${t.cardPrefix}_${i}_${Math.random().toString(36).slice(2,8)}`,r=$(i),a=Array.isArray(e&&e.categories)?e.categories:[],U=Array.isArray(e&&e.tagged_user_names)?e.tagged_user_names:[],c=U.length?U:Array.isArray(e&&e.tagged_users)?e.tagged_users:[],d=Y(e),y=d&&d.url?String(d.url):\"\",l=d&&String(d.type||\"\").toLowerCase()===\"video\"?\"video\":\"image\",s=String(e&&e.body||\"\").replace(\/<[^>]*>\/g,\" \").trim(),A=a.map(I=>`<li class=\"singlePill textSmall\">${I}<\/li>`).join(\" \"),C=t.withVisibilityControls?`\n            <div class=\"buddyUpAdventureCardControls\" style=\"display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin-top:.45rem;\">\n                <label class=\"textSmall\" style=\"display:flex;align-items:center;gap:.3rem;\">\n                    <input type=\"checkbox\" class=\"buddyUpAdventurePublicToggle\" ${e.privacy===\"public\"?'checked=\"checked\"':\"\"} \/>\n                    Public\n                <\/label>\n                <label class=\"textSmall\" style=\"display:flex;align-items:center;gap:.3rem;\">\n                    <input type=\"checkbox\" class=\"buddyUpAdventureMapToggle\" ${Number(e.show_on_map)===1?'checked=\"checked\"':\"\"} ${e.privacy===\"public\"?\"\":'disabled=\"disabled\"'} \/>\n                    Show on map\n                <\/label>\n                <button type=\"button\" class=\"buddyUpButton3 buddyUpAdventureSaveVisibility\" style=\"margin:0;\">Save Visibility<\/button>\n            <\/div>\n        `:\"\",h=t.withTaggedControls?`\n            <label class=\"textSmall\" style=\"display:flex;align-items:center;gap:.35rem;\">\n                <input type=\"checkbox\" class=\"buddyUpAdventureHideMeToggle\" ${Number(e.tagged_is_hidden)===1?'checked=\"checked\"':\"\"} \/>\n                Hide me\n            <\/label>\n        `:\"\";return{cardId:n,detailUrl:r,html:`\n                <div id=\"${n}\" class=\"buddyUpElWrapper buddyUpAdventureCard\" tabindex=\"0\" role=\"link\" aria-label=\"Open ${e.title?e.title:\"adventure\"}\" style=\"margin-bottom:.75rem;\">\n                    <div style=\"display:flex;justify-content:space-between;gap:.6rem;align-items:flex-start;flex-wrap:wrap;\">\n                        <div style=\"font-weight:700;\">${e.title?e.title:\"Adventure Post\"}<\/div>\n                        ${h}\n                    <\/div>\n                    <div class=\"textSmall\" style=\"opacity:.8;\">${e.created_at?e.created_at:\"\"}<\/div>\n                    <div class=\"buddyUpAdventureCardPreview\" style=\"margin-top:.5rem;\">\n                        ${y?l===\"video\"?BUDDYUP.renderVideoMediaHtml(y,{className:\"buddyUpAdventureCardCover\",compact:!0,title:`${e.title?e.title:\"Adventure\"} video`}):`<img class=\"buddyUpAdventureCardCover\" src=\"${y}\" alt=\"${e.title?e.title:\"Adventure\"} cover\" width=\"480\" height=\"270\" loading=\"lazy\" decoding=\"async\" \/>`:'<div class=\"buddyUpAdventureCardCover buddyUpAdventureCardCoverPlaceholder\"><\/div>'}\n                    <\/div>\n                    ${C}\n                    ${s?`<p class=\"textSmall\" style=\"opacity:.9;margin:.55rem 0 .35rem 0;\">${s.length>220?`${s.substring(0,220)}...`:s}<\/p>`:\"\"}\n                    ${A?`<ul class=\"buddyUpPillWrapper buddyUpList\" style=\"margin:.2rem 0 .4rem 0;\">${A}<\/ul>`:\"\"}\n                    ${c.length?`<div class=\"textSmall\" style=\"opacity:.85;margin:.2rem 0;\">Tagged users: ${c.join(\", \")}<\/div>`:\"\"}\n                    <div style=\"margin-top:.35rem;\"><a href=\"${r}\" class=\"buddyUpLink buddyUpAdventureCardOpenLink\">Open Adventure<\/a><\/div>\n                <\/div>\n            `}}function S(e,t,i,n){const r=V(t,i);e.insertAdjacentHTML(\"beforeend\",r.html);const a=document.getElementById(r.cardId);if(!a)return;H(a,r.detailUrl);const U=a.querySelector(\".buddyUpAdventureCardOpenLink\");U&&U.addEventListener(\"click\",s=>{s.preventDefault(),typeof BUDDYUP<\"u\"&&typeof BUDDYUP.pjaxNavigate==\"function\"?BUDDYUP.pjaxNavigate(r.detailUrl):window.location.href=r.detailUrl});const c=a.querySelector(\".buddyUpAdventurePublicToggle\"),d=a.querySelector(\".buddyUpAdventureMapToggle\");c&&d&&c.addEventListener(\"change\",()=>{c.checked?d.removeAttribute(\"disabled\"):(d.checked=!1,d.setAttribute(\"disabled\",\"disabled\"))});const y=a.querySelector(\".buddyUpAdventureSaveVisibility\");y&&y.addEventListener(\"click\",async s=>{s.preventDefault(),y.setAttribute(\"disabled\",\"disabled\");const A=c&&c.checked?\"public\":\"private\",C=d&&d.checked?1:0,h=await BUDDYUP.apiRequest(\"adventures-set-visibility\",{adventure_id:t.id,privacy:A,show_on_map:C});if(y.removeAttribute(\"disabled\"),!h||h.status!==\"success\"){BUDDYUP.openModal(\"Could not update visibility. Please try again.\",\"Update failed\",\"buddyUpAdventureVisibilityError\");return}BUDDYUP.openModal(\"Adventure visibility updated.\",\"Success\",\"buddyUpAdventureVisibilitySuccess\"),typeof n==\"function\"&&n()});const l=a.querySelector(\".buddyUpAdventureHideMeToggle\");l&&l.addEventListener(\"change\",async()=>{l.setAttribute(\"disabled\",\"disabled\");const s=await BUDDYUP.apiRequest(\"adventures-set-tagged-visibility\",{adventure_id:t.id,hide_me:l.checked?1:0});if(l.removeAttribute(\"disabled\"),!s||s.status!==\"success\"){l.checked=!l.checked,BUDDYUP.openModal(\"Could not update tagged visibility. Please try again.\",\"Update failed\",\"buddyUpAdventureTaggedVisibilityError\");return}typeof n==\"function\"&&n()})}function M(){if(!p)return;const e=String(T&&T.value||\"\").trim().toLowerCase(),t=e?L.filter(i=>{const n=String(i&&i.title?i.title:\"\").toLowerCase(),r=String(i&&i.body?i.body:\"\").toLowerCase(),a=(Array.isArray(i&&i.categories)?i.categories:[]).join(\" \").toLowerCase();return n.includes(e)||r.includes(e)||a.includes(e)}):L;if(!t.length){p.innerHTML='<div class=\"textSmall buddyUpMySectionEmpty\">No public adventures found.<\/div>';return}p.innerHTML=\"\",t.forEach(i=>{S(p,i,{cardPrefix:\"buddyUpPublicAdventure\",withVisibilityControls:!1,withTaggedControls:!1})})}function _(){if(u){if(!g){u.innerHTML=`<div class=\"textSmall buddyUpMySectionEmpty\">Please <a href=\"${buddyUpVariables.login_link}\" class=\"buddyUpLink\">log in<\/a> to view your adventures.<\/div>`;return}if(!b.length){u.innerHTML=`<div class=\"textSmall buddyUpMySectionEmpty\">No created adventures yet. <a href=\"${buddyUpVariables.create_adventure_link||\"#\"}\" class=\"buddyUpLink\">Create your first adventure.<\/a><\/div>`;return}u.innerHTML=\"\",b.forEach(e=>{S(u,e,{cardPrefix:\"buddyUpMyAdventure\",withVisibilityControls:!0,withTaggedControls:!1},P)})}}function E(){if(o){if(!g){o.innerHTML=`<div class=\"textSmall buddyUpMySectionEmpty\">Please <a href=\"${buddyUpVariables.login_link}\" class=\"buddyUpLink\">log in<\/a> to view tagged adventures.<\/div>`;return}if(!v.length){o.innerHTML='<div class=\"textSmall buddyUpMySectionEmpty\">No tagged adventures at the moment.<\/div>';return}o.innerHTML=\"\",v.forEach(e=>{S(o,e,{cardPrefix:\"buddyUpTaggedAdventure\",withVisibilityControls:!1,withTaggedControls:!0},P)})}}async function N(){if(!p)return;p.innerHTML=BUDDYUP.loading(\"Loading public adventures\");const e=await BUDDYUP.apiRequest(\"adventures-explore-map\",{limit:220});L=e&&e.status===\"success\"&&Array.isArray(e.adventures)?e.adventures.slice().sort((t,i)=>{const n=Date.parse(String(t&&t.created_at?t.created_at:\"\"))||0;return(Date.parse(String(i&&i.created_at?i.created_at:\"\"))||0)-n}):[],M()}async function P(){if(!u||!o)return;if(!g){b=[],v=[],_(),E();return}u.innerHTML=BUDDYUP.loading(\"Loading your adventures\"),o.innerHTML=BUDDYUP.loading(\"Loading tagged adventures\");const e=await BUDDYUP.apiRequest(\"adventures-list-mine\",{limit:100});if(!e||e.status!==\"success\"){b=[],v=[],u.innerHTML='<div class=\"textSmall buddyUpMySectionEmpty\">Could not load adventures right now.<\/div>',o.innerHTML='<div class=\"textSmall buddyUpMySectionEmpty\">Could not load tagged adventures right now.<\/div>';return}b=Array.isArray(e.created_adventures)?e.created_adventures:Array.isArray(e.adventures)?e.adventures:[],v=Array.isArray(e.tagged_adventures)?e.tagged_adventures:[],_(),E()}w&&w.addEventListener(\"submit\",e=>{e.preventDefault(),D(\"search\"),M()}),D(\"search\"),await N(),await P()})();\n<\/script><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/full-width-no-header.php","meta":{"footnotes":""},"class_list":["post-503","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/staging.buddyupgo.com\/api\/wp\/v2\/pages\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.buddyupgo.com\/api\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/staging.buddyupgo.com\/api\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/staging.buddyupgo.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.buddyupgo.com\/api\/wp\/v2\/comments?post=503"}],"version-history":[{"count":1,"href":"https:\/\/staging.buddyupgo.com\/api\/wp\/v2\/pages\/503\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/staging.buddyupgo.com\/api\/wp\/v2\/pages\/503\/revisions\/504"}],"wp:attachment":[{"href":"https:\/\/staging.buddyupgo.com\/api\/wp\/v2\/media?parent=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}