Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of hnla

Group loop (3 posts)

Started 1 year, 5 months ago by: ch8rt

  • Profile picture of ch8rt ch8rt said 1 year, 5 months ago:

    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?

  • Profile picture of ch8rt ch8rt said 1 year, 5 months ago:

    Anyone?

  • Profile picture of Roger Coathup Roger Coathup said 1 year, 5 months ago:

    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.