Support » Theme: WP-Creativix » Warning: Division by zero in….

  • Resolved lunapark


    Hi I just installed newest WordPress and your Theme (Creativix)
    Its works great, but I found one little bug.

    When I create an page, and chooses “no sidebar” I get this little error in the buttom of the screen.

    Warning: Division by zero in /home/www/ on line 38

    What can I do to get rid of this line?

Viewing 3 replies - 1 through 3 (of 3 total)
  • edit tpl_page_nosidebar.php;


    <div class="wp-pagenavi"><?php wp_link_pages('before=Pages: &pagelink=<span>'%'</span>'); ?></div>

    change to:

    <div class="wp-pagenavi"><?php wp_link_pages('before=Pages: &pagelink=<span>%</span>'); ?></div>


    Great it worked thanks.

    Now when I got you, can you tell me an easy way remove the “comment-box” on sides or posts?
    Weird this is’nt standard from WordPress, some sites really don’t need to have a comment box.

    Ahh found it… Under QuickEdit of post/pages I could uncheck “Commentbox”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Division by zero in….’ is closed to new replies.