StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-12-2010, 08:28 AM
cbowcutt cbowcutt is offline
Registered User
Pro Plus Member
 
Join Date: Dec 2009
Posts: 21
Default Removing Video Section - Almost There!

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 11:44 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.