Error When Adding Custom Post Type to Activity Feed
I was following your thread ( https://codex.buddypress.org/plugindev/post-types-activities/#adding-the-buddypress-support-and-specific-labels-at-post-type-registration) on how to add a custom post type support to the activity stream. I’m currently using WP 4.2.1 and BP 22.214.171.124, with a multisite — directory folder setup.
I created a custom-bp.php file and uploaded it to my plugins folder and added the code you had for the CPT “pages” on the thread link above. This is the error I got:
“Parse error: syntax error, unexpected T_FUNCTION in /nas/wp/www/staging/mcs2/wp-content/plugins/bp-custom.php on line 6”
My goal is to add a custom post type called OFFER to the activity feed using your directions in the thread above. Can you help me with this please?
- The topic ‘Error When Adding Custom Post Type to Activity Feed’ is closed to new replies.