Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jaudain

    (@jaudain)

    Is it possible to customize it to make it look the way ive mocked it up in the theme?

    Thread Starter jaudain

    (@jaudain)

    Nice one, its seems breaking out of it after the loop did the trick, thanks a bunch!

    Thread Starter jaudain

    (@jaudain)

    Oh my, thanks dude, you were right, many thanks, any questions I have next time, ill be sure to have a live version to prevent any hassle.

    Thanks again!

    Thread Starter jaudain

    (@jaudain)

    Alright my bad, here you go, and im on windows but im coding in dreamweaver.

    Ok here is the code right from DW, http://pastebin.com/q7HdB3mc

    Here’s the code from view source in chrome, http://pastebin.com/Kqz20Vgf

    Thread Starter jaudain

    (@jaudain)

    Im using PHP, Im currently working offline on my local wordpress setup via xxamp, I can link in the code if that’s any use?

    There’s quite alot of code.

    <div class="featurescontainer"><!-- Features Container -->
    <div id="leftfeature">
    <div class="featlefttop">
    <?php if ( in_category('designs') ) { ?>
               <div class="post-cat-five">
     <?php } else { ?>
               <div class="post">
     <?php } ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
    </div>
    <div class="featleftmain">
    <div class="featimageleft">
    <?php
    // The Query
    $the_query = new WP_Query( 'cat=5' );
    
    // The Loop
    while ( $the_query->have_posts() ) : $the_query->the_post();
    	if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
    		the_post_thumbnail();
    	}
    endwhile;
    
    // Reset Post Data
    wp_reset_postdata(); ?>
    </div>
    </div>
    </div>
    <div id="midfeature">
    <div class="featmidttop">
    <?php if ( in_category('recent') ) { ?>
               <div class="post-cat-three">
     <?php } else { ?>
               <div class="post">
     <?php } ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
    </div>
    <div class="featmidmain">
    <div class="featimagemid">
    
    <?php
    // The Query
    $the_query = new WP_Query( 'cat=1' );
    
    // The Loop
    while ( $the_query->have_posts() ) : $the_query->the_post();
    	if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
    		the_post_thumbnail();
    	}
    endwhile;
    
    // Reset Post Data
    wp_reset_postdata(); ?>
    </div>
    </div>
    </div>
    <div id="rightfeature">
    <div class="featrighttop">
    <?php if ( in_category('websites') ) { ?>
               <div class="post-cat-three">
     <?php } else { ?>
               <div class="post">
     <?php } ?>
    </div>
    <div class="featrightmain">
    <div class="featimageright">
    
    <?php
    // The Query
    $the_query = new WP_Query( 'cat=4' );
    
    // The Loop
    while ( $the_query->have_posts() ) : $the_query->the_post();
    	if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
    		the_post_thumbnail();
    	}
    endwhile;
    
    // Reset Post Data
    wp_reset_postdata(); ?>
    </div>
    </div>
    </div>
    </div><!-- Features Container END -->
    Thread Starter jaudain

    (@jaudain)

    Thanks for the response, I tried that however they still appear to be below each other.

    If this is any help basically, The #leftfeature is the left box which contains three divs.

    .featlefttop(contains a title php code)
    .featleftmain(cotnains the div below and)
    .featimageleft(contains a featured image from a category php code)

    Thread Starter jaudain

    (@jaudain)

    My apologies, ill do that.

Viewing 7 replies - 1 through 7 (of 7 total)