WordPress.org

Ready to get started?Download WordPress

Forums

WP-Creativix
Proble when displaying page without sidebar (5 posts)

  1. Larion476
    Member
    Posted 2 years ago #

    When I make a page without sidebar, the page displays correctly without the side bar bu I get the following message at the bottom:
    Warning: Division by zero in /home/hilair/public_html/tennis/wp-content/themes/wp-creativix/tpl_page_nosidebar.php on line 32

    http://wordpress.org/extend/themes/wp-creativix/

  2. tishfearless
    Member
    Posted 2 years ago #

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

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

    So basically you are removing the ' before and after the % between the span tags.

    I'm not sure if that is the actually fix but I removed them and the page displayed properly after.

  3. Larion476
    Member
    Posted 2 years ago #

    Thanks, it does the trick!

  4. mlambers
    Member
    Posted 2 years ago #

    Amazing. Thanks a bunch.

  5. Thursy
    Member
    Posted 1 year ago #

    Thank you, thank you, thank you...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic