Custom Post Type Activity | I Have Searched Everywhere!!
-
Hi Everyone,
Before i dive in I have spent 3 days searching and reading every forum topic I can find about this subject, some of which are 4 years old to try and find a solution. It’s probably something basic I am missing but I am not big on the old PHP so hopefully someone can give me a heads up.
Really simply – I have latest WP & BuddyPress (2.4.2) installed with the incredible BuddyApp theme.
I have registered a custom post type – “work”, which allows users to submit job listings and other members reply. I have achieved the custom post type showing up in the feed like any other article posted but…
How can I register an activity with the post type so it shows up in the Activity Stream???
I think it has something to do with this line of code;
add_post_type_support( ‘book’, ‘buddypress-activity’ );
(obviously replacing ‘book’ with my post type ‘work’)
but I have no idea where this line of code should go. Is it in my child-theme functions.php or somewhere else.
If someone could give me a very remedial walkthrough of making this last part work I would be eternally grateful.
P.S. I plan to have numerous custom post types that users can fill out from the front end to submit posts. Am I being stupid or is this the best way to achieve that, or could I be using some magical plugin that would handle all of this?
- The topic ‘Custom Post Type Activity | I Have Searched Everywhere!!’ is closed to new replies.