Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress Users with Tags as Taxonomy

  • @ch1n3s3b0y

    Participant

    Hi

    Is there anyway to set ‘tags’ for users as a taxonomy, similar to how tags are used for WP posts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @henrywright

    Moderator

    Hi @ch1n3s3b0y

    Do you mean create a new custom taxonomy called users and then each time a user registers, you want a new term to be created?

    If so then check out these resources:

    https://codex.wordpress.org/Taxonomies

    You’ll need to use register_taxonomy() to create your new taxonomy (see here)

    To insert a new term you can use wp_insert_term() (see here)

    When you come to write your function, hook it to the bp_core_signup_user action.

    @ch1n3s3b0y

    Participant

    Thanks Henry! I’ll give that a go and see if it works how I want.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘BuddyPress Users with Tags as Taxonomy’ is closed to new replies.
Skip to toolbar