WordPress.org

Ready to get started?Download WordPress

Forums

Blogohblog Big News Theme - More News Box blank (2 posts)

  1. nnyorker
    Member
    Posted 2 years ago #

    Just purchased this theme from BlogohBlog.com
    This theme is missing some code in More News Box in column 3.
    If you look at the demo - http://bignews.blogohblog.net/ you see the categories.

    If you look at my url: http://questcny.com/ 'More News' box in 3rd column is empty.

    When I look in wp editor I see the following files:
    col1-box1.php
    col1-box2.php
    col1.php
    col2-box1.php
    col2-box2.php
    col2-box3.php
    col2.php
    col3-box1.php
    col3-box2.php
    col3.php

    I think the theme is missing 'col3-box3.php' but I'm not a coder, so
    I'm hoping someone can help me out. Not having luck with the contact email via the site.
    Thank you for any assistance you can provide.

  2. nnyorker
    Member
    Posted 2 years ago #

    Also - in the file 'col3.php' - I see the following code:
    (Again, I'm not a coder, so not sure what is missing)

    <h2>More News</h2>

    <?php
    $cats = explode("
    ",wp_list_categories('title_li=&echo=0&depth=1&style=none'));
    $cat_n = count($cats) - 1;
    for ($i=0;$i<$cat_n;$i++):
    if ($i<$cat_n/2) {
    if ( isset( $cat_left )) {
    $cat_left = $cat_left.'

  3. '.$cats[$i].'
  4. ';
    }
    } elseif ($i>=$cat_n/2) {
    if ( isset( $cat_right )) {
    $cat_right = $cat_right.'
  5. '.$cats[$i].'
  6. ';
    }
    }
    endfor;
    ?>
    <ul class="left">
    <?php if ( isset( $cat_left )) { echo $cat_left; }?>

    <ul class="right">
    <?php if ( isset( $cat_right )) { echo $cat_right; }?>

    <div class="clear"></div>
    </div><!--box-->

    </div><!--col3 -->

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags