How to display activity id in markup in permalink page?
-
I’m placing an h1 in my members/single/activity/permalink.php ie. ‘Activity Permalink #123’ where I wish ‘123’ to be the corresponding activity id (as displayed at the end of the page’s url). How can I retrieve this?
I’ve tried using and echoing `bp_get_activity_id()` and `bp_activity_id()` but no joy. I’m guessing because they’re not within a loop?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to display activity id in markup in permalink page?’ is closed to new replies.