This topic has 4 replies, 2 voices, and was last updated 9 years by revonorway.

  • Author
  • #47746
     revonorway
    Participant

    Hello, since buddypress 2.2 it is supposed to be easier to add custom post types to activity stream with the following code:

    add_post_type_support( 'portfolio', 'buddypress-activity' );

    I try adding this to either bp-custom or functions, but it is not working…

    Could this be an issue with the kleo theme, or should I look somewhere else? Thanks for your help!

    #47770
     sharmstr
    Moderator

    Worked for me. Do you have “everything” selected?

    https://codex.buddypress.org/plugindev/post-types-activities/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #47851
     revonorway
    Participant

    Hello, yes, have it selected. It worked after several refreshes of the page… But the custom post types still don’t show up in the filters…

    #47860
     sharmstr
    Moderator

    Kleo doesnt uses a bunch of if statements to filter out the filter dropdown so that thing that components that are disabled wont show up. You can add a new value by copying /kleo/buddypress/activity/index.php to your child theme.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #47870
     revonorway
    Participant

    Ok thanks will look into it…

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?