i have one row with 4 columns and in each column have a box. i simply need another string of rows right above that one row...so basically 2 rows. the script is in the php file. can someone help me out real quick? quick job, quick pay. drew
here's the script.... <?php /* ------------------------------------------------------------------------------------------------------------ Template Name: Portfolio ------------------------------------------------------------------------------------------------------------ */ ?> <?php get_header(); ?> <?php $l = _sg('Layout')->getLayout(); $class = array( 'portfolio_2' => 'col1-2', 'portfolio_3' => 'col1-3', 'portfolio_4' => 'col1-4', ); $imgsize = array( 'portfolio_2' => 'sg_portfolio2', 'portfolio_3' => 'sg_portfolio3', 'portfolio_4' => 'sg_portfolio4', ); $prc = _sg('Portfolio')->getRequiredCategories(); $args = array( 'post_type' => 'portfolio', 'posts_per_page' => -1, ); if (!empty($prc)) $args['post__in'] = get_objects_in_term($prc, 'portfolio_category'); query_posts($args); ?> <?php if (have_posts()) { ?> <div id="portfolio-outer" class="bottom-15"> <ul id="portfolio" class="inner-960 clearfix"> <?php while (have_posts()) : the_post(); ?> <?php $img = get_the_post_thumbnail(null, $imgsize[$l], array('alt' => get_the_title())); $img_e = (empty($img)) ? FALSE : TRUE; ?> <li class="<?php echo $class[$l];?>" data-type="<?php sg_the_portfolio_category(get_the_ID()); ?>" data-id="<?php the_ID(); ?>"> <div class="project"> <?php if ($img_e) { ?> <div class="proj-img"><a href="<?php echo wp_get_attachment_url(get_post_thumbnail_id()); ?>" class="prettyPhoto zoom" title=""></a><a href="<?php the_permalink(); ?>"></a><?php echo $img; ?></div> <?php } ?> <div class="proj-info"> <h4><a href="<?php the_permalink(); ?>"><?php echo sg_text_trim(get_the_title(), 30); ?></a></h4> <p><?php echo sg_text_trim(get_the_excerpt(), 60); ?></p> </div> </div> </li> <?php endwhile; ?> </ul> </div> <?php } else { echo sg_message(__('Portfolio is empty', SG_TDN)); } ?> <?php get_footer(); ?> ..... here's the page http://blueboxfoam.com/?page_id=37 ...i need another row of applications with those boxes...so 8 blue boxes and 2 rows.