{"id":1392289,"date":"2010-02-18T20:37:12","date_gmt":"2010-02-18T20:37:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/use-p2-interface-on-a-wp-page\/"},"modified":"2016-08-19T16:01:20","modified_gmt":"2016-08-19T16:01:20","slug":"use-p2-interface-on-a-wp-page","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/use-p2-interface-on-a-wp-page\/","title":{"rendered":"Use P2 interface on a WP page"},"content":{"rendered":"<p>I&#8217;m trying to use P2 for a group blog on Buddypress. I got it sort of working, but all posts end up on the main blog.<\/p>\n<p>Ajax is broken as well&#8230;<\/p>\n<p>I guess the problem is that the Buddypress group blog is located on the group homepage:<\/p>\n<p>mywebsite.com\/groups\/testgroup<\/p>\n<p>&#8230;instead of on the URL of the wpmu blog associated with that group:<\/p>\n<p>mywebsite.com\/testblog<\/p>\n<p>How can I get the code from p2\/index.php to work on a page that is not the regular index page of the blog?<\/p>\n<p>How can I tell the P2 post-form script which blog it should store the posts in?<\/p>\n","protected":false},"template":"","class_list":["post-1392289","topic","type-topic","status-closed","hentry","topic-tag-ajax","topic-tag-page"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1392289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1392289\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1392289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}