Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group loop

  • @ch8rt

    Member

    I’m having trouble calling a group loop within a group page. I’ve created a menu full of a users groups, which works fine on the top levels ( forums, groups directory, activity etc.) but when it appears on a single group page it shows only that group in the list?

    Any ideas?

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

    Member

    Anyone?

    @rogercoathup

    Participant

    Yes, I suspect the group template only has the current group initialised when you are on a single group page. So, only has one group to loop over. The same as being on a single post page vs. a category page in standard WordPress. We had a similar issue with the activity loop.

    Try passing the full set of parameters to the groups loop, rather than either a subset or none.

    Let us know if that fixes it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Group loop’ is closed to new replies.
Skip to toolbar