Query re overriding Group Home Page in Networks
-
Hi,
I have followed the guidance, as explained in this link, when??presenting a custom Group Home Page (on the Main Site) .
So we create a template file front-slug-{group-slug}.php for the Group Home Page
& that template is put in this folder: the child theme—>buddypress—>groups—>single—>front-slug-{group-slug}.php
So far so good.
So for a Group called “Rugby” in Groups on the Main Site (https://mysite.com)??the folder/file structure is:??child theme—>buddypress—>groups—>single—>front-slug-rugby
All good & the template is reproduced on the front endNow…. for the other Sites/Networks
If we have a Group of the same name “Rugby” in say a second site or Network??https://france.mysite.com how do we manage the template address as child theme—>buddypress—>groups—>single—>front-slug.group-slug.php won’t do as it will just return the previous result (of the first site)
Yes you could require unique names for each group irrespective of site but its not ideal.
Any workaround on this much appreciated
- The topic ‘Query re overriding Group Home Page in Networks’ is closed to new replies.