Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to display custom group value?


  • jubalince
    Participant

    @jubalince

    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.

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to display custom group value?’ is closed to new replies.
Skip to toolbar