{"id":31180,"date":"2010-04-28T19:45:32","date_gmt":"2010-04-28T23:45:32","guid":{"rendered":"http:\/\/wpmu.org\/?p=31180"},"modified":"2022-04-03T23:55:29","modified_gmt":"2022-04-03T23:55:29","slug":"daily-tip-make-sure-to-put-your-bp-custom-php-file-in-the-correct-directory","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-make-sure-to-put-your-bp-custom-php-file-in-the-correct-directory\/","title":{"rendered":"Make Sure to Put Your bp-custom.php File in the Correct Directory"},"content":{"rendered":"<p>Quick Tip: When working with BuddyPress, <b>bp-custom.php<\/b> is a file that you create for all of your custom BuddyPress code. It gets loaded with all the rest of BuddyPress automatically during each page load.<\/p>\n<p>This file belongs in <b>wp-content\/plugins<\/b>, not <b>wp-content\/plugins\/buddypress<\/b>. That can be confusing and may cost you some time if you&#8217;ve uploaded your changes to the wrong directory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick Tip: When working with BuddyPress, bp-custom.php is a file that you create for all of your custom BuddyPress code. It gets loaded with all the rest of BuddyPress automatically during each page load. This file belongs in wp-content\/plugins, not wp-content\/plugins\/buddypress. That can be confusing and may cost you some time if you&#8217;ve uploaded your [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":208001,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[1,557,235],"tags":[],"tutorials_categories":[],"class_list":["post-31180","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news-community","category-development","category-misc"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/31180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=31180"}],"version-history":[{"count":4,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/31180\/revisions"}],"predecessor-version":[{"id":181568,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/31180\/revisions\/181568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/208001"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=31180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=31180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=31180"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=31180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}