{"id":811,"date":"2017-11-23T03:00:29","date_gmt":"2017-11-23T03:00:29","guid":{"rendered":"https:\/\/buddydev.com\/docs\/?p=811"},"modified":"2020-10-15T08:43:13","modified_gmt":"2020-10-15T08:43:13","slug":"modifying-pre-existing-sub-nav-item","status":"publish","type":"post","link":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/","title":{"rendered":"Modifying Pre existing Sub Nav Item"},"content":{"rendered":"<p>To modify a pre existing sub nav of a profile tab, you must first create a tab entry and mark it as modifying existing tab.<\/p>\n<p>Once you have done that, you will see the options like below in the sub nav meta box.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-812\" src=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav-300x86.png\" alt=\"\" width=\"300\" height=\"86\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav-300x86.png 300w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav-768x219.png 768w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav-480x137.png 480w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav.png 877w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>To modify a pre-existing sub nav, please enable the &#8220;Is Existing&#8221; checkbox.<\/p>\n<p>Once you do that, you will see a list of settings options like below:-<br \/>\n<a href=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-813\" src=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-settings-300x232.png\" alt=\"\" width=\"300\" height=\"232\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-settings-300x232.png 300w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-settings-768x594.png 768w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-settings-356x275.png 356w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-settings.png 824w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>All these settings are optional except the slug. <\/strong>The slug is used to identify the sub nav. To find the slug, you should look at the url. The slug comes after tab slug as shown below.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-indetify-slug.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-814\" src=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-indetify-slug-300x72.png\" alt=\"\" width=\"300\" height=\"72\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-indetify-slug-300x72.png 300w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-indetify-slug-480x115.png 480w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-indetify-slug.png 531w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In the above example, we have renamed the &#8220;Requests&#8221; to &#8220;Friendship Request&#8221; and moved it as the first item as shown below.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-815\" src=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-300x89.png\" alt=\"\" width=\"300\" height=\"89\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-300x89.png 300w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav-480x142.png 480w, https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-modified-sub-nav.png 717w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Complete demo for how to modify ore existing sub nav items<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"How to modify Pre-existing BuddyPress User Profile Tab Sub-Navs\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/C5-JA5DAUa4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>To add a new subnav item to the existing profile tab, please follow <a href=\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/adding-buddypress-user-profile-tab-sub-navs\/\">this guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To modify a pre existing sub nav of a profile tab, you must first create a tab entry and mark it as modifying existing tab. Once you have done that, you will see the options like below in the sub nav meta box. To modify a pre-existing sub nav, please enable the &#8220;Is Existing&#8221; checkbox. &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9309],"tags":[],"class_list":["clearfix","post-811","post","type-post","status-publish","format-standard","hentry","category-buddypress-user-profile-tabs-creator-pro"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Modifying Pre existing Sub Nav Item &#8226; BuddyDev Help Center<\/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:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Modifying Pre existing Sub Nav Item &#8226; BuddyDev Help Center\" \/>\n<meta property=\"og:description\" content=\"To modify a pre existing sub nav of a profile tab, you must first create a tab entry and mark it as modifying existing tab. Once you have done that, you will see the options like below in the sub nav meta box. To modify a pre-existing sub nav, please enable the &#8220;Is Existing&#8221; checkbox. ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/\" \/>\n<meta property=\"og:site_name\" content=\"BuddyDev Help Center\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-23T03:00:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-15T08:43:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav-300x86.png\" \/>\n<meta name=\"author\" content=\"Brajesh Singh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brajesh Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/\",\"url\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/\",\"name\":\"Modifying Pre existing Sub Nav Item &#8226; BuddyDev Help Center\",\"isPartOf\":{\"@id\":\"https:\/\/buddydev.com\/docs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav-300x86.png\",\"datePublished\":\"2017-11-23T03:00:29+00:00\",\"dateModified\":\"2020-10-15T08:43:13+00:00\",\"author\":{\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb\"},\"breadcrumb\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#primaryimage\",\"url\":\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav.png\",\"contentUrl\":\"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav.png\",\"width\":877,\"height\":250},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/buddydev.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Modifying Pre existing Sub Nav Item\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/buddydev.com\/docs\/#website\",\"url\":\"https:\/\/buddydev.com\/docs\/\",\"name\":\"BuddyDev Help Center\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/buddydev.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb\",\"name\":\"Brajesh Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon\",\"contentUrl\":\"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon\",\"caption\":\"Brajesh Singh\"},\"sameAs\":[\"http:\/\/buddydev.com\/members\/sbrajesh\/\",\"https:\/\/x.com\/sbrajesh\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Modifying Pre existing Sub Nav Item &#8226; BuddyDev Help Center","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:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/","og_locale":"en_US","og_type":"article","og_title":"Modifying Pre existing Sub Nav Item &#8226; BuddyDev Help Center","og_description":"To modify a pre existing sub nav of a profile tab, you must first create a tab entry and mark it as modifying existing tab. Once you have done that, you will see the options like below in the sub nav meta box. To modify a pre-existing sub nav, please enable the &#8220;Is Existing&#8221; checkbox. ...","og_url":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/","og_site_name":"BuddyDev Help Center","article_published_time":"2017-11-23T03:00:29+00:00","article_modified_time":"2020-10-15T08:43:13+00:00","og_image":[{"url":"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav-300x86.png","type":"","width":"","height":""}],"author":"Brajesh Singh","twitter_misc":{"Written by":"Brajesh Singh","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/","url":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/","name":"Modifying Pre existing Sub Nav Item &#8226; BuddyDev Help Center","isPartOf":{"@id":"https:\/\/buddydev.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#primaryimage"},"image":{"@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#primaryimage"},"thumbnailUrl":"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav-300x86.png","datePublished":"2017-11-23T03:00:29+00:00","dateModified":"2020-10-15T08:43:13+00:00","author":{"@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb"},"breadcrumb":{"@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#primaryimage","url":"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav.png","contentUrl":"https:\/\/buddydev.com\/docs\/files\/2017\/11\/buddypress-user-profile-tabs-creator-pro-modify-existing-tabs-existing-sub-nav.png","width":877,"height":250},{"@type":"BreadcrumbList","@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modifying-pre-existing-sub-nav-item\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/buddydev.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Modifying Pre existing Sub Nav Item"}]},{"@type":"WebSite","@id":"https:\/\/buddydev.com\/docs\/#website","url":"https:\/\/buddydev.com\/docs\/","name":"BuddyDev Help Center","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/buddydev.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb","name":"Brajesh Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/image\/","url":"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon","contentUrl":"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon","caption":"Brajesh Singh"},"sameAs":["http:\/\/buddydev.com\/members\/sbrajesh\/","https:\/\/x.com\/sbrajesh"]}]}},"_links":{"self":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/comments?post=811"}],"version-history":[{"count":4,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/811\/revisions"}],"predecessor-version":[{"id":2272,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/811\/revisions\/2272"}],"wp:attachment":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/media?parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/categories?post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/tags?post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}