Hello,
I need to modify the postbit template to display something after the 1st post and the 10th post of every page.
I have added this at the end of the postbit template
It works fine on the fist page, and on the second. But after the second page, the code appears later that when is supposed. I have the “Maximum Displayed Posts Before Page Split” set to 25. (do I need to modify that to another value in order to work?)
What can I do to show what I need after the 1st and 10th post of every page?
Thanks…
I need to modify the postbit template to display something after the 1st post and the 10th post of every page.
I have added this at the end of the postbit template
Code:
<if condition="$post[postcount] == 1 OR $post[postcount] % 26 == 0"> <!-- Content to show after 1st post of every page --> </if> <if condition="$post[postcount] == 10 OR $post[postcount] % 36 == 0"> <!-- Content to show after 10th post of every page --> </if>
What can I do to show what I need after the 1st and 10th post of every page?
Thanks…
Comment