Forums Forums Search & Filter Pro Category search

Tagged: 

Viewing 10 posts - 31 through 40 (of 50 total)
  • Trevor
    #134572
    This reply has been marked as private.
    Anonymous
    #134576
    This reply has been marked as private.
    Trevor
    #134585
    This reply has been marked as private.
    Anonymous
    #134615
    This reply has been marked as private.
    Trevor
    #134817
    This reply has been marked as private.
    Anonymous
    #134819
    This reply has been marked as private.
    Trevor
    #134823

    Yay!!

    Got it, and found the code that I think I need, in files called:

    blog-style-x.php

    Where x is a letter from a to g. These files are in the main folder, and some more files in the /library/modules folder called:

    cb-m-x.php

    Where x is a letter from a to e.

    All I have to do is figure which one your example uses!!

    I will get back to you.

    Anonymous
    #134833
    This reply has been marked as private.
    Anonymous
    #136770

    Hi Trevor,
    I wanted to check in how is all coming along.

    Trevor
    #136775

    I have a sample results.php for you, but as I can’t test it, I don’t know if it will work:

    <?php
    
    /* Blog Style A */
    
    if ( $query->have_posts() ) {
    	?>
    	
    	Found <?php echo $query->found_posts; ?> Results<br />
    	Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
    	
    	<?php
    	while ($query->have_posts()) {
    		$query->the_post();
    
            $cb_post_id = $post->ID;
    ?>
            <article id="post-<?php the_ID(); ?>" <?php post_class('cb-blog-style-a cb-module-e cb-separated clearfix'); ?>>
            
                <div class="cb-mask cb-img-fw" <?php cb_img_bg_color( $cb_post_id ); ?>>
                    <?php cb_thumbnail( '260', '170' ); ?>
                    <?php cb_review_ext_box( $cb_post_id ); ?>
                </div>
    
                <div class="cb-meta clearfix">
    
                    <h2 class="cb-post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    
                    <?php cb_byline( $cb_post_id ); ?>
    
                    <div class="cb-excerpt"><?php echo cb_clean_excerpt( 160 ); ?></div>
                    
                    <?php cb_post_meta( $cb_post_id ); ?>
    
                </div>
    
            </article>
    
            <?php
    
        }
        cb_page_navi( $cb_qry );
    }
    
    wp_reset_postdata();
    
    ?>
Viewing 10 posts - 31 through 40 (of 50 total)