Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom Post Type Activity | I Have Searched Everywhere!!


  • jasonbroderick
    Participant

    @jasonbroderick

    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?

Viewing 2 replies - 1 through 2 (of 2 total)

  • jasonbroderick
    Participant

    @jasonbroderick

    Also, I forgot to mention – does doing this also effect the items in the drop down menu that filters the Activity Stream? I want people to be able to filter the stream by this custom post type. Is that the same issue or is that a different issue?

    Your help is ginormously appreciated.


    jasonbroderick
    Participant

    @jasonbroderick

    Sorry for the multiple replies, I can’t find an edit button.

    @modemlooper is there somebody you could suggest would be best to speak with about this particular issue? Or maybe a specific forum area I should be posting in more specifically than just general troubleshooting?

    Thanks a lot,

    Jason.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Post Type Activity | I Have Searched Everywhere!!’ is closed to new replies.
Skip to toolbar