How to display custom group value?
For each of my groups, I’ve created a unique Twitter account. In my database in the groups table, I added a column called “group_twitter” and populated it with the proper values.
How can I display these values on the front end of each respective group? Here is what I tried so far:
I tried to insert this into bp-groups/bp-group-functions:
`if ( isset( $group_twitter ) )
$group->group_twitter = $group_twitter;`
And I added this to single/group-header:
but I get the following error:
“Fatal error: Call to undefined function bp_group_group_twitter() in …”
So I assume I need to define the function somewhere, but I’m not sure how or where.
You must be logged in to reply to this topic.