Community & Leisure

  • All
  • @foreach (ArchiveProject::getProjectTerms() as $projectTerm) @if ($projectTerm->name === 'Uncategorised') @continue @endif
  • {!! $projectTerm->name !!}
  • @endforeach
@foreach (ArchiveProject::getAllProjects()->posts as $post) @php setup_postdata($GLOBALS['post'] = $post) @endphp @php wp_reset_postdata() @endphp @endforeach
@foreach (ArchiveProject::getProjectTerms() as $projectTerm)
@foreach (ArchiveProject::getProjectsByCategory($projectTerm)->posts as $post) @php setup_postdata($GLOBALS['post'] = $post) @endphp @php wp_reset_postdata() @endphp @endforeach
@endforeach