Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set theSite = craft.app.request.getSegment(1) %}
- {% paginate craft.entries.search(search).site(theSite).orderBy('score').limit(9) as pageInfo, pageEntries %}
- {% set sites = craft.app.sites.allSites %}
- {% for site in sites %}
- …
- {% endfor %}
Add Comment
Please, Sign In to add comment