How to add a loop

Post Reply
Jr. Bludit
Posts: 4
Joined: Sun Feb 07, 2021 4:14 am

Code: Select all

<?php if ($page->custom('Hidearticle')) {continue;}?>
I used the code above.
One article was filtered.
But I set "Items per page=8". But only 7.
What can I do to add a loop after executing the code to make it 8.
User avatar
Site Admin
Posts: 2609
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich

You can find an example of a loop in the template home.php of a theme.

For example here (from line 43): ... p/home.php

And: if ($page->custom('Hidearticle')) is not a condition.
Gumroad - Useful plugins for Bludit | Nützliche Plugins für Bludit
Planet-Bludit - Tipps, Snippets und hilfreiche Links (auf Deutsch)
Post Reply