![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi - based on info in other threads i'm able to remove the video section and spread the Posts section further out across the page. Only now the right side-bar is getting bumped down below the posts section. Below is the code in home.php. I have homepageleft width set to "610" in the styesheet:
<div class="homepageleft"> <div class="posts"> <?php $featured_cat_1 = get_option('metro_featured_cat_1'); $featured_cat_1_num = get_option('metro_featured_cat_1_num'); if(!$featured_cat_1) $featured_cat_1 = 1; //setting a default ?> <h4><?php echo cat_id_to_name($featured_cat_1); ?></h4> <?php $recent = new WP_Query("cat=".$featured_cat_1."&showposts=".$fea tured_cat_1_num); while($recent->have_posts()) : $recent->the_post();?> <?php if( get_post_meta($post->ID, "thumbnail", true) ): ?> <a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>" /></a> <?php else: ?> <?php endif; ?> <h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1> <?php the_content_limit(250, ""); ?><div class="link"><a href="<?php the_permalink() ?>">Read more</a></div> <?php endwhile; ?> </div> </div> |
| Tags |
| video section |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing eNews & Updates Section | ReallyRich.com | General Discussion | 3 | 08-05-2009 09:08 AM |
| Removing section house icons? | Andare | General Discussion | 3 | 08-01-2009 07:16 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us