• Resolved wlb

    (@wlb)


    I want to use the grid to give me two simple columns of teasers on my home page. (I currently have only 3 posts to display there.)

    I have set the number of Features on the First and Subsequent pages to 0, and the number of teasers on Subsequent pages to 0.

    I get a division by 0 error:

    WARNING: DIVISION BY ZERO IN /USERS/WILLIAM/DOCUMENTS/WEBSITES/WWW.PETRARCHPRESS.DEV/WP-CONTENT/PLUGINS/GENESIS-GRID-LOOP/PLUGIN.PHP ON LINE 262

    Is there a workaround for this?

    Thanks in advance.

    https://www.ads-software.com/plugins/genesis-grid-loop/

Viewing 1 replies (of 1 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    You need to have at least one post displaying per page on subsequent pages, even if you’ll never have posts there. Change either the features or teasers count on subsequent pages to 1 or more.

Viewing 1 replies (of 1 total)
  • The topic ‘Div by 0 Error in Grid Layout’ is closed to new replies.