lo que pasa esque instale un tema pero bienen los post en el home en 2 columnas
lo unico que pido es que me puedan ayudar a que los post solo quedaran en 1 columna alo largo y ancho. el codigo de home.php es
Código PHP:
<?php get_header(); ?>
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
?>
<div id="container">
<div id="left-div">
<div id="left-inside">
<!--Begin Feaured Article-->
<?php $my_query = new WP_Query("category_name=Featured Articles&showposts=$artsee_homepage_featured;");
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID; ?>
<div id="featured">
<div class="thumbnail-div-featured"><a href="<?php the_permalink() ?>">
<img style="border: none;" alt="featured article" src="<?php bloginfo('stylesheet_directory'); ?>/phpThumb/phpThumb.php?src=<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>&h=160&w=580&zc=1" /></a>
</div>
<div class="post-info">Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>
<span class="titles-featured"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span>
<?php the_content_limit(500, ""); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>
<div style="clear: both;"></div>
</div>
<?php endwhile; ?>
<!--End Feaured Article-->
<!--Begind recent post (single)-->
<?php if (have_posts()) : while (have_posts()) : the_post();
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
<?php static $ctr = 0;
if ($ctr == "$artsee_homepage_posts;") { break; }
else { ?>
<!--The Following code checks for yout thumbnail image-->
<?php
// check for thumbnail
$thumb = get_post_meta($post->ID, 'Thumbnail', $single = true);
// check for thumbnail class
$thumb_class = get_post_meta($post->ID, 'Thumbnail Class', $single = true);
// check for thumbnail alt text
$thumb_alt = get_post_meta($post->ID, 'Thumbnail Alt', $single = true);
?>
<div class="home-post-wrap">
<span class="post-info">Posted by <?php the_author() ?> on <?php the_time('m jS, Y') ?></span>
<span class="titles"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '26') ?></a></span>
<div style="clear: both;"></div>
<!--Display thumbnail if found-->
<div class="thumbnail-div">
<?php // if there's a thumbnail
if($thumb !== '') { ?>
<a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/phpThumb/phpThumb.php?src=<?php echo $thumb; ?>&h=90&w=90&zc=1" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" style="border: none;" /></a>
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
<!--End display thumbnail if found-->
</div>
<?php the_content_limit(400, ""); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>
</div>
<?php $ctr++; } ?>
<?php endwhile; ?>
<!--end recent post (single)-->
<!--Begin Popular Articles-->
<div class="home-post-wrap2">
<div style="float: left; width: 50%;">
<span class="toptitle">Popular Articles</span>
<ul class="list1">
<?php mdv_most_commented(); ?>
</ul>
</div>
<div style="float: left; width: 50%;">
<span class="toptitle">Random Articles</span>
<ul>
<?php $my_query = new WP_Query('orderby=rand&showposts=6');
while ($my_query->have_posts()) : $my_query->the_post();
?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '', true, '400') ?></a></li>
<?php endwhile; ?>
</ul>
</div>
</div>
<!--End Popular Articles-->
<?php else : ?>
<!--If no results are found-->
<div class="home-post-wrap2">
<h2 >No Results Found</h2>
<p>Sorry, your search returned zero results. </p>
</div>
<!--End if no results are found-->
<?php endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
</body>
</html>