Skip to:
Content
Pages
Categories
Search
Top
Bottom

Use full content for custom post activity entry

  • Hi,

    I have created a custom post type ‘video’. Members post an embedded video into this custom post type.

    The problem i have is that I want the youtube or vimeo video to show in the activity feed. But because it is pulling an excerpt of the post, right now it shows only the meta info and any text, but not the video itself.

    How can i get the full post content to show in the activity feed for this custom post type?

    Can anyone point me in the right direction?

Viewing 1 replies (of 1 total)
  • Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    Use this hook: do_action( ‘bp_activity_entry_content’ );

    in the template: buddypress\bp-templates\bp-legacy\buddypress\activity\entry.php

    And write a function to embed the video.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.