Loops are in templates.
See bp-templates/bp-legacy/buddypress/
And read carefully template hierarchy to understand how all this is working together.
Hi @danbp,
Thanks for reply. Yeah i know about those. I meant where would I put custom loops with my own filters etc. The wordpress codex says to put them in index.php. I assume that for Buddypress that would be:
bp-legacy>buddypress>activity>index.php
Then call it within bp-custom.php?
* bp-legacy>buddypress>activity>index.php (in child theme folder)
If you want to customize a loop, you simply copy the original file from legacy to your child-theme.
If you need a custom function to work on it, you add it to bp-custom.php or to your child-theme functions.php
Guess there is nothing special to call around index.php. Generally it’s entry.php or activity-loop.php which are concerned to customize activities.
That’s exactly the question why i told you to read carefully the codex first. 😉
Okidoke! Yeah I’ve read that page in the codex among many others trying to work out the whole Loop thing. Better read it again! Thanks Dan!