{"id":846,"date":"2018-01-27T02:09:19","date_gmt":"2018-01-27T02:09:19","guid":{"rendered":"https:\/\/buddydev.com\/docs\/?p=846"},"modified":"2021-05-20T12:20:13","modified_gmt":"2021-05-20T12:20:13","slug":"modifying-buddyblog-templates","status":"publish","type":"post","link":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/","title":{"rendered":"Modifying BuddyBlog Templates"},"content":{"rendered":"<p>If you want to change the look and feel of the BuddyBlog posts list or the single post on your profile, you can easily do it by adding the template files in your own theme\/child theme and modify it.<\/p>\n<p>Here is a screenshot showing the template files used by BuddyBlog.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-849 size-full\" title=\"Modifying BuddyBlog Templates\" src=\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png\" alt=\"Modifying BuddyBlog Templates\" width=\"385\" height=\"382\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png 385w, https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory-150x150.png 150w, https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory-300x298.png 300w, https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory-277x275.png 277w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/a><\/p>\n<h3>BuddyBlog Template Files:-<\/h3>\n<ul>\n<li>posts.php -&gt; Used for displaying posts list on profile.<\/li>\n<li>single.php -&gt; Used for displaying single post.<\/li>\n<li>edit.php -&gt; Used for create\/edit post.<\/li>\n<\/ul>\n<p>To modify any of the views,\u00a0 and to preserve your changes for the future, you should copy the needed template to your theme.<\/p>\n<p>Here is a screenshot showing how we have modified the posts list for BuddyBlog and have put our change in the theme.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-move-to-theme-directory.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-848 size-full\" title=\"Modifying BuddyBlog Templates\" src=\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-move-to-theme-directory.png\" alt=\"Modifying BuddyBlog Templates\" width=\"449\" height=\"447\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-move-to-theme-directory.png 449w, https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-move-to-theme-directory-150x150.png 150w, https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-move-to-theme-directory-300x300.png 300w, https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-move-to-theme-directory-276x275.png 276w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Note the change &#8220;<strong>plugins\/buddyblog\/template\/buddyblog\/posts.php<\/strong> -&gt; moved to -&gt; <strong>themes\/community-builder\/buddyblog\/posts.php<\/strong><\/p>\n<p>In your case, your theme will be different.<\/p>\n<p>The important point is, you need to maintain the template folder structure as the <strong>buddyblog\/[the-template-file-name-you-want-to-override].php<\/strong><\/p>\n<p>That&#8217;s all. Have fun.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to change the look and feel of the BuddyBlog posts list or the single post on your profile, you can easily do it by adding the template files in your own theme\/child theme and modify it. Here is a screenshot showing the template files used by BuddyBlog. BuddyBlog Template Files:- posts.php -&gt; &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5662],"tags":[],"class_list":["clearfix","post-846","post","type-post","status-publish","format-standard","hentry","category-buddyblog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Modifying BuddyBlog Templates &#8226; BuddyDev Help Center<\/title>\n<meta name=\"description\" content=\"If you want to change the look of the BuddyBlog posts list or the single post on your profile, see how modifying BuddyBlog templates can help\" \/>\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\/buddyblog\/modifying-buddyblog-templates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Modifying BuddyBlog Templates &#8226; BuddyDev Help Center\" \/>\n<meta property=\"og:description\" content=\"If you want to change the look of the BuddyBlog posts list or the single post on your profile, see how modifying BuddyBlog templates can help\" \/>\n<meta property=\"og:url\" content=\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/\" \/>\n<meta property=\"og:site_name\" content=\"BuddyDev Help Center\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-27T02:09:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-20T12:20:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/\",\"url\":\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/\",\"name\":\"Modifying BuddyBlog Templates &#8226; BuddyDev Help Center\",\"isPartOf\":{\"@id\":\"https:\/\/buddydev.com\/docs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png\",\"datePublished\":\"2018-01-27T02:09:19+00:00\",\"dateModified\":\"2021-05-20T12:20:13+00:00\",\"author\":{\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb\"},\"description\":\"If you want to change the look of the BuddyBlog posts list or the single post on your profile, see how modifying BuddyBlog templates can help\",\"breadcrumb\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#primaryimage\",\"url\":\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png\",\"contentUrl\":\"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png\",\"width\":385,\"height\":382},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/buddydev.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Modifying BuddyBlog Templates\"}]},{\"@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 BuddyBlog Templates &#8226; BuddyDev Help Center","description":"If you want to change the look of the BuddyBlog posts list or the single post on your profile, see how modifying BuddyBlog templates can help","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\/buddyblog\/modifying-buddyblog-templates\/","og_locale":"en_US","og_type":"article","og_title":"Modifying BuddyBlog Templates &#8226; BuddyDev Help Center","og_description":"If you want to change the look of the BuddyBlog posts list or the single post on your profile, see how modifying BuddyBlog templates can help","og_url":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/","og_site_name":"BuddyDev Help Center","article_published_time":"2018-01-27T02:09:19+00:00","article_modified_time":"2021-05-20T12:20:13+00:00","og_image":[{"url":"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png","type":"","width":"","height":""}],"author":"Brajesh Singh","twitter_misc":{"Written by":"Brajesh Singh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/","url":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/","name":"Modifying BuddyBlog Templates &#8226; BuddyDev Help Center","isPartOf":{"@id":"https:\/\/buddydev.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#primaryimage"},"image":{"@id":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png","datePublished":"2018-01-27T02:09:19+00:00","dateModified":"2021-05-20T12:20:13+00:00","author":{"@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb"},"description":"If you want to change the look of the BuddyBlog posts list or the single post on your profile, see how modifying BuddyBlog templates can help","breadcrumb":{"@id":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#primaryimage","url":"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png","contentUrl":"https:\/\/buddydev.com\/docs\/files\/2018\/01\/buddyblog-plugin-template-directory.png","width":385,"height":382},{"@type":"BreadcrumbList","@id":"https:\/\/buddydev.com\/docs\/buddyblog\/modifying-buddyblog-templates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/buddydev.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Modifying BuddyBlog Templates"}]},{"@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\/846","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=846"}],"version-history":[{"count":4,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/846\/revisions"}],"predecessor-version":[{"id":2731,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/846\/revisions\/2731"}],"wp:attachment":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/media?parent=846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/categories?post=846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/tags?post=846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}