{"id":8502,"date":"2020-04-01T19:23:49","date_gmt":"2020-04-01T19:23:49","guid":{"rendered":"http:\/\/coolestguidesontheplanet.com\/?p=8502"},"modified":"2021-04-13T22:25:28","modified_gmt":"2021-04-13T22:25:28","slug":"adding-loginlogout-existing-menu-wordpress","status":"publish","type":"post","link":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/","title":{"rendered":"Adding a Site Login\/Logout Link to an existing Menu in WordPress"},"content":{"rendered":"<p>You can add\u00a0on to the end of an existing WordPress menu a site\u00a0<em>login\/logout<\/em> link. The WordPress menu must be <strong>registered<\/strong> and have a <strong>theme<\/strong> location, this will not work with custom menus.<\/p>\n<p>This needs to be added to your theme <strong>functions.php<\/strong> file<\/p>\n<pre>add_filter( 'wp_nav_menu_items', 'themeprefix_login_logout_link', 10, 2 );\r\n\r\nfunction themeprefix_login_logout_link( $items, $args  ) {\r\n\tif( $args-&gt;theme_location == '<mark>primary<\/mark>' ) {\r\n\t        $loginoutlink = wp_loginout( 'index.php', false );\r\n\t        $items .= '&lt;li class=\"menu-item\"&gt;'. $loginoutlink .'&lt;\/li&gt;';\r\n\t\t\treturn $items;\r\n\t    }\r\n\t    return $items;\r\n}\r\n<\/pre>\n<p>If you need to style the additional menu item, just add a CSS class into the <mark>&lt;li&gt;<\/mark> tag.<\/p>\n<p>You can change the default value of\u00a0 &#8216;index.php&#8217; to something else.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8506\" src=\"https:\/\/wpbeaches.com\/wp-content\/uploads\/2014\/04\/theme-menu-locations.png\" alt=\"theme-menu-locations\" width=\"590\" height=\"339\" \/><\/p>\n<p>Normally themes will have <em>primary<\/em> and <em>secondary<\/em> and maybe <a title=\"How to Add a Footer or Tertiary Menu to a Genesis Child Theme\" href=\"https:\/\/wpbeaches.com\/add-footer-menu-genesis-child-theme\/\"><em>tertiary<\/em><\/a> menus. If you are trying to target a menu that is not a theme location you can tweak the <em>wp_nav_menu_items<\/em> filter\u00a0 \u00a0&#8211; see this post on how to include <a href=\"https:\/\/wpbeaches.com\/add-menu-items-in-a-certain-place-with-wp_nav_menu_filter\/\">another menu without a location<\/a>.<\/p>\n<p>Now if you are logged into the site the link will say logout and if you are <strong>logged<\/strong> in the site will say <strong>login<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8504\" src=\"https:\/\/wpbeaches.com\/wp-content\/uploads\/2014\/04\/login-logout-menu.png\" alt=\"login-logout-menu\" width=\"494\" height=\"231\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>To have different login and logout destinations you can use a conditional <em>if(is_user_logged_in())<\/em><\/p>\n<pre>add_filter( 'wp_nav_menu_items', 'themeprefix_login_logout_link', 10, 2 );\r\n\r\n\t\r\nfunction themeprefix_login_logout_link( $items, $args  ) {\r\n    \r\n    if( is_user_logged_in()  ) {\r\n            $loginoutlink = wp_loginout( 'index.php', false );\r\n            $items .= '&lt;li class=\"menu-item login-but\"&gt;'. $loginoutlink .'&lt;\/li&gt;';\r\n            return $items;\r\n    }\r\n    else {\r\n            $loginoutlink = wp_loginout( 'members', false );\r\n            $items .= '&lt;li class=\"menu-item login-but\"&gt;'. $loginoutlink .'&lt;\/li&gt;';\r\n            return $items;\r\n    \r\n    }\r\n}\r\n\r\n<\/pre>\n<p>So here all menus are targetted and the login and logout destinations are different depending on whether the user is logged in or not.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can add\u00a0on to the end of an existing WordPress menu a site\u00a0login\/logout link. The WordPress menu must be registered and have a theme location, this will not work with custom menus. This needs to be added to your theme functions.php file add_filter( &#8216;wp_nav_menu_items&#8217;, &#8216;themeprefix_login_logout_link&#8217;, 10, 2 ); function themeprefix_login_logout_link( $items, $args ) { if( [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":16567,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[8],"tags":[72,716,173],"class_list":["post-8502","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-menu","tag-wp_nav_menu_filter","tag-wp_nav_menu_items"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add a Menu Login\/Logout Link to Menu in WordPress<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add a Menu Login\/Logout Link to Menu in WordPress\" \/>\n<meta property=\"og:description\" content=\"You can add\u00a0on to the end of an existing WordPress menu a site\u00a0login\/logout link. The WordPress menu must be registered and have a theme location, this will not work with custom menus. This needs to be added to your theme functions.php file add_filter( &#039;wp_nav_menu_items&#039;, &#039;themeprefix_login_logout_link&#039;, 10, 2 ); function themeprefix_login_logout_link( $items, $args ) { if( [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Beaches\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpbeaches\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-01T19:23:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-13T22:25:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpbeaches.com\/wp-content\/uploads\/2020\/04\/add-login-logut-to-menu.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Neil Gowran\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@_neilgee\" \/>\n<meta name=\"twitter:site\" content=\"@_neilgee\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Neil Gowran\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/\"},\"author\":{\"name\":\"Neil Gowran\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#\\\/schema\\\/person\\\/842ce14a17f05c7bbdc953d485eadc0d\"},\"headline\":\"Adding a Site Login\\\/Logout Link to an existing Menu in WordPress\",\"datePublished\":\"2020-04-01T19:23:49+00:00\",\"dateModified\":\"2021-04-13T22:25:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/\"},\"wordCount\":203,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbeaches.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/add-login-logut-to-menu.jpg\",\"keywords\":[\"menu\",\"wp_nav_menu_filter\",\"wp_nav_menu_items\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/\",\"url\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/\",\"name\":\"Add a Menu Login\\\/Logout Link to Menu in WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbeaches.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/add-login-logut-to-menu.jpg\",\"datePublished\":\"2020-04-01T19:23:49+00:00\",\"dateModified\":\"2021-04-13T22:25:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wpbeaches.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/add-login-logut-to-menu.jpg\",\"contentUrl\":\"https:\\\/\\\/wpbeaches.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/add-login-logut-to-menu.jpg\",\"width\":640,\"height\":360,\"caption\":\"Add Login Logut To Menu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/adding-loginlogout-existing-menu-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpbeaches.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding a Site Login\\\/Logout Link to an existing Menu in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#website\",\"url\":\"https:\\\/\\\/wpbeaches.com\\\/\",\"name\":\"WP Beaches\",\"description\":\"Websites on the Northern Beaches\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpbeaches.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#organization\",\"name\":\"WP Beaches\",\"url\":\"https:\\\/\\\/wpbeaches.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wpbeaches.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/wpbeaches-logo.png\",\"contentUrl\":\"https:\\\/\\\/wpbeaches.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/wpbeaches-logo.png\",\"width\":354,\"height\":52,\"caption\":\"WP Beaches\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/wpbeaches\",\"https:\\\/\\\/x.com\\\/_neilgee\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpbeaches.com\\\/#\\\/schema\\\/person\\\/842ce14a17f05c7bbdc953d485eadc0d\",\"name\":\"Neil Gowran\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6988600df4dded0e1c87356ca37ca0d361bc1181a4cf8f3ade421b043d8d216a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6988600df4dded0e1c87356ca37ca0d361bc1181a4cf8f3ade421b043d8d216a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6988600df4dded0e1c87356ca37ca0d361bc1181a4cf8f3ade421b043d8d216a?s=96&d=mm&r=g\",\"caption\":\"Neil Gowran\"},\"description\":\"I am Neil Gee I develop, produce and blog.\",\"sameAs\":[\"https:\\\/\\\/wpbeaches.com\\\/\",\"https:\\\/\\\/x.com\\\/_neilgee\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add a Menu Login\/Logout Link to Menu in WordPress","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Add a Menu Login\/Logout Link to Menu in WordPress","og_description":"You can add\u00a0on to the end of an existing WordPress menu a site\u00a0login\/logout link. The WordPress menu must be registered and have a theme location, this will not work with custom menus. This needs to be added to your theme functions.php file add_filter( 'wp_nav_menu_items', 'themeprefix_login_logout_link', 10, 2 ); function themeprefix_login_logout_link( $items, $args ) { if( [&hellip;]","og_url":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/","og_site_name":"WP Beaches","article_publisher":"https:\/\/www.facebook.com\/wpbeaches","article_published_time":"2020-04-01T19:23:49+00:00","article_modified_time":"2021-04-13T22:25:28+00:00","og_image":[{"width":640,"height":360,"url":"https:\/\/wpbeaches.com\/wp-content\/uploads\/2020\/04\/add-login-logut-to-menu.jpg","type":"image\/jpeg"}],"author":"Neil Gowran","twitter_card":"summary_large_image","twitter_creator":"@_neilgee","twitter_site":"@_neilgee","twitter_misc":{"Written by":"Neil Gowran","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/#article","isPartOf":{"@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/"},"author":{"name":"Neil Gowran","@id":"https:\/\/wpbeaches.com\/#\/schema\/person\/842ce14a17f05c7bbdc953d485eadc0d"},"headline":"Adding a Site Login\/Logout Link to an existing Menu in WordPress","datePublished":"2020-04-01T19:23:49+00:00","dateModified":"2021-04-13T22:25:28+00:00","mainEntityOfPage":{"@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/"},"wordCount":203,"commentCount":6,"publisher":{"@id":"https:\/\/wpbeaches.com\/#organization"},"image":{"@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbeaches.com\/wp-content\/uploads\/2020\/04\/add-login-logut-to-menu.jpg","keywords":["menu","wp_nav_menu_filter","wp_nav_menu_items"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/","url":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/","name":"Add a Menu Login\/Logout Link to Menu in WordPress","isPartOf":{"@id":"https:\/\/wpbeaches.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbeaches.com\/wp-content\/uploads\/2020\/04\/add-login-logut-to-menu.jpg","datePublished":"2020-04-01T19:23:49+00:00","dateModified":"2021-04-13T22:25:28+00:00","breadcrumb":{"@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/#primaryimage","url":"https:\/\/wpbeaches.com\/wp-content\/uploads\/2020\/04\/add-login-logut-to-menu.jpg","contentUrl":"https:\/\/wpbeaches.com\/wp-content\/uploads\/2020\/04\/add-login-logut-to-menu.jpg","width":640,"height":360,"caption":"Add Login Logut To Menu"},{"@type":"BreadcrumbList","@id":"https:\/\/wpbeaches.com\/adding-loginlogout-existing-menu-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpbeaches.com\/"},{"@type":"ListItem","position":2,"name":"Adding a Site Login\/Logout Link to an existing Menu in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/wpbeaches.com\/#website","url":"https:\/\/wpbeaches.com\/","name":"WP Beaches","description":"Websites on the Northern Beaches","publisher":{"@id":"https:\/\/wpbeaches.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpbeaches.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wpbeaches.com\/#organization","name":"WP Beaches","url":"https:\/\/wpbeaches.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbeaches.com\/#\/schema\/logo\/image\/","url":"https:\/\/wpbeaches.com\/wp-content\/uploads\/2015\/03\/wpbeaches-logo.png","contentUrl":"https:\/\/wpbeaches.com\/wp-content\/uploads\/2015\/03\/wpbeaches-logo.png","width":354,"height":52,"caption":"WP Beaches"},"image":{"@id":"https:\/\/wpbeaches.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/wpbeaches","https:\/\/x.com\/_neilgee"]},{"@type":"Person","@id":"https:\/\/wpbeaches.com\/#\/schema\/person\/842ce14a17f05c7bbdc953d485eadc0d","name":"Neil Gowran","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6988600df4dded0e1c87356ca37ca0d361bc1181a4cf8f3ade421b043d8d216a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6988600df4dded0e1c87356ca37ca0d361bc1181a4cf8f3ade421b043d8d216a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6988600df4dded0e1c87356ca37ca0d361bc1181a4cf8f3ade421b043d8d216a?s=96&d=mm&r=g","caption":"Neil Gowran"},"description":"I am Neil Gee I develop, produce and blog.","sameAs":["https:\/\/wpbeaches.com\/","https:\/\/x.com\/_neilgee"]}]}},"_links":{"self":[{"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/posts\/8502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/comments?post=8502"}],"version-history":[{"count":0,"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/posts\/8502\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/media\/16567"}],"wp:attachment":[{"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/media?parent=8502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/categories?post=8502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpbeaches.com\/wp-json\/wp\/v2\/tags?post=8502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}