Respuesta a: Eliminar sidebar 2

Inicio Foros WordPress Themes y Diseño Eliminar sidebar 2 Respuesta a: Eliminar sidebar 2

#43810

luchosar
Participante

Caramba..hago lo que dices pero no se donde esta el error:
<?php get_header(); ?>
<div class=»art-contentLayout»>
<?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?><div class=»art-content»>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php
$prev_link = get_previous_post_link(‘« %link’);
$next_link = get_next_post_link(‘%link »’);
?>
<?php if ($prev_link || $next_link): ?>
<div class=»art-Post»>
<div class=»art-content fullancho» ></div >
<div class=»art-Post-body»>
<div class=»art-Post-inner art-article»>
<div class=»art-PostContent»>

<div class=»navigation»>
<div class=»alignleft»><?php echo $prev_link; ?></div>
<div class=»alignright»><?php echo $next_link; ?></div>
</div>
</div>
<div class=»cleared»></div>
</div>
<div class=»cleared»></div>
</div>
</div>
<?php endif; ?>
<div class=»art-Post»>
<div class=»art-Post-body»>
<div class=»art-Post-inner art-article»>
<h2 class=»art-PostHeader»> » rel=»bookmark» title=»<?php printf(__(‘Permanent Link to %s’, ‘kubrick’), the_title_attribute(‘echo=0’)); ?>»>
<?php the_title(); ?>
</h2>
<div class=»art-PostContent»>
<?php if (is_search()) the_excerpt(); else the_content(__(‘Read the rest of this entry »’, ‘kubrick’)); ?>
<?php if (is_page() or is_single()) wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
</div>
<div class=»cleared»></div>
</div>
<div class=»cleared»></div>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
 
<?php else: ?>
<p> </p>
<h2 class=»center»><?php _e(‘Sorry, no posts matched your criteria.’, ‘kubrick’); ?></h2>
<?php endif; ?>

</div>

</div>
<div class=»cleared»></div>

<?php get_footer(); ?>

y coloco la modificacion del css al final

Pin It on Pinterest

Ir al contenido