Skip to:
Content
Pages
Categories
Search
Top
Bottom

categorys and groups. howto connect them?

  • @puccaso

    Member

    i have a category, called language,
    and i have a language group,
    what can do i , to automatically show the posts in the language category in the language group?

Viewing 1 replies (of 1 total)
  • @rogercoathup

    Participant

    If your groups and categories have exactly the same name, you could try modifying your group home.php file (groups/single/home.php in the bp-default theme), accessing the group name and using that in a query_posts / have_posts loop

    If they have different names, you will have to look at extending your group, adding a parameter to capture the corresponding category id. Again, you would then add a query_posts / have_posts loop and use it your group home.php template.

    This page gives some more information on the groups API, and may be of some help: https://codex.buddypress.org/developer-docs/group-extension-api/

Viewing 1 replies (of 1 total)
  • The topic ‘categorys and groups. howto connect them?’ is closed to new replies.
Skip to toolbar