Skip to content

Activity Posts and Comments

BuddyPress Giphy adds the GIF button to the BuddyPress activity composer and to activity comment forms. Each can be enabled or disabled independently in Settings > General.

The GIF button appears in the activity post form toolbar, in the same row as other post options. It shows when the “Profile activity” or “Group activity” toggle is on (depending on the current context) and a valid API key is configured.

  • Profile activity governs the whole activity component: a member’s own activity and the site-wide activity directory.
  • Group activity governs the composer inside a BuddyPress group.

If both toggles are off, the button does not appear.

  1. Click the GIF icon in the post form toolbar. A search panel opens below the composer.
  2. Trending GIFs load automatically. Type a keyword to search.
  3. Click any GIF to select it. The panel closes and a preview appears below the text box.
  4. Write a caption (optional, GIF-only posts are allowed).
  5. Click Post. The activity appears in the stream with the GIF displayed inline.

To remove the GIF before posting, click the X button in the top-right corner of the preview.

You can submit an activity with only a GIF and no caption text. BuddyPress requires some content before it accepts a post, and the plugin handles this automatically in the background.

The GIF URL and provider ID are stored as activity meta (_bp_activity_gif_data). The GIF itself stays hosted on the provider’s servers, so nothing is uploaded to your site. When the activity renders, the plugin appends the GIF image below the activity text.

GIF data for an activity is included in the BuddyPress REST API activity response under the bp_giphy property. This lets headless or app clients read and display GIF attachments alongside activity content. See REST API.

The GIF button appears in the activity comment form after a member clicks the Reply link under an activity item. Submitting a comment with a GIF selected appends the GIF image to the comment content.

  1. Click the Reply link under any activity item. The comment form opens.
  2. Open the GIF picker and search or browse.
  3. Click a GIF to select it.
  4. Submit the comment. The GIF appears inline in the rendered comment.
  • A GIF-only comment (no text) is allowed.
  • Only one GIF is attached per comment. Selecting a second GIF replaces the first.

If the GIF button does not appear or the picker shows an error, see Troubleshooting.