Viewing 4 replies - 1 through 4 (of 4 total)
  • do you dare to post the name of the new theme?

    to start with, try looking into the code of the old theme to see how the grid was done there…

    Thread Starter Doug Hanna

    (@douglhanna)

    Yeah, the new theme is “Circles.”

    It’s all done in code on the index.php on the old website.

    <div class="bloghead"><h2 class="homeblog">Latest Content</h2></div>
    
    <?php $count = 0; ?>
    
    <?php
    
         $hcount = get_option('role_hcount');
    
         $new_query = new WP_Query( 'posts_per_page='.$hcount.'' );
    
         while ( $new_query->have_posts() ) : $new_query->the_post();
    
    ?>
    
    <div class="box <?php if (++$count % 4 == 0) { echo "lastbox"; } ?>" id="post-<?php the_ID(); ?>">
    
         <div class="boxim">
    
              <a href="<?php the_permalink() ?>"><img id="boximg" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php get_image_url(); ?>&h=95&w=210&zc=1" alt=""/></a>
    
         </div>
    
         <div class="btitle">
    
              <h2 class="hometitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
         </div>
    
         <div class="excerpt">
    
              <?php wpe_excerpt('wpe_excerptlength_index', ''); ?>
    
              <div class="clear"></div>
    
         </div>
    
         <a class="bmore" href="<?php the_permalink() ?>">Read More</a>
    
    </div>
    
    <?php if(++$counter % 4 == 0) : ?>
    
    <div class="clear"></div>

    unfortunately, this forum does not support commercial themes;
    https://codex.www.ads-software.com/Forum_Welcome#Commercial_Products

    please contact the theme’s developer for support.

    Thread Starter Doug Hanna

    (@douglhanna)

    Sorry alchymyth!

    I was asking on the forum because I was searching for a plugin, not support for this theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show Recent Posts In A Grid’ is closed to new replies.