Last active
April 4, 2017 04:27
-
-
Save kalico1/a5a95b98088d018d7b5477b4852b8170 to your computer and use it in GitHub Desktop.
Groups index-directory.php Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test |
Author
Author
Somewhere in here, I had to add a ?> to close the PHP. Can’t remember exactly where, but something I copied did not have a closing PHP tag. So if you get a blank screen, that would be a good place to look.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is CUSTOM code for a BuddyPress /groups/index-directory.php template, created from the parent theme Zerif Pro.
Our child theme is highly modified, including a custom community.php file (a.k.a. buddypress.php) so this code is not going to work as a straight up copy/paste -- It just serves as an example of how I cobbled the various file parts together to get a working template.
The code above is commented in 4 places where I transitioned from one fragment to another. You can search on “GROUPS INDEX TEMPLATE” to find the comments.