Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Permalinks to custom activities

@fried_eggz

Participant

Thanks for the reply.

I have created cpt’s because I want to add custom activity types that have different fields and meta data.

Here is what I’m actually doing (the book was just an example):

I am creating a community where users can

  • Post status updates
  • Ask questions
  • Post tips

I have registered questions and tips as ‘buddypress-activity’ so that they show up in the activity stream, for example

Adam posted an update 2 mins ago
Sebastian asked a question 6 mins ago
Shanebp posted a tip 10 mins ago
Adam posted an update 14 mins ago

The normal, built in, status updates links work fine but the custom ones link to

http://buddypress.dev/tips/name-of-the-tip/

instead of

http://buddypress.dev/members/membername/activity/544/

thus using the single.php template instead of the activity template that I want to use.

Skip to toolbar