‘show at most’ parameter
-
I’m working on some hackery to not count hidden posts and asides. Currently, part of the code is question is
<?php static $ctr = 0;
if ($ctr == "X") { break; }
else { ?>
where X is the number of posts. What I want to do is take the value of the ‘show at most Y posts’ option to replace X, which I currently have to set manually in index.php. Any suggestions what I could use instead of “X”?Or is there a quicker and easy (non-hacking) way?
The topic ‘‘show at most’ parameter’ is closed to new replies.