hola.. la solucion seria super simple... ahora tengo un problema... ponga donde ponga el codigo me tira un error...
la categoria esta bine. es la 1.. siempre es la uno la general...
el error que me tira es el siguiente
Parse error: syntax error, unexpected $end in /home/desdeaca/public_html/wp-content/themes/lightword/index.php on line 49
y el codigo del index del theme es el siguiente..
Código php:
Ver original<?php get_header(); ?>
<div id="content-body">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><a title="<?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="comm_date"><span class="data"><span class="j"><?php the_time('j'); ?></span><br/><span class="my"><?php the_time('M/y'); ?></span></span><span class="nr_comm"><?php if($dsq_version){ echo '<a class="nr_comm_spot" href="'; echo the_permalink(); echo '">N/A</a>'; }else{ ?><a class="nr_comm_spot" href="<?php the_permalink(); ?>#respond"><?php echo comments_number('0', '1', '%' ); ?></a><?php } ?></span></div>
<?php edit_post_link(__('Edit this post','lightword'), '', ''); ?>
<?php the_content(''); ?>
<?php if ( is_single() ) : ?>
<?php if ($lw_enjoy_post == "true" && is_attachment() != TRUE) : ?>
<div class="promote">
<h3><?php _e('Enjoy this article?','lightword'); ?></h3>
<p><a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Consider subscribing to our rss feed!','lightword'); ?></a></p>
</div>
<?php endif; endif; ?>
<div class="cat_tags">
<div class="category"><?php $tag = get_the_tags(); if (!$tag) { ?><?php _e('Clasificado en:','lightword'); ?> <?php the_category(', '); }else the_tags(__('Tagged as: ','lightword'),', '); ?></div>
<div class="continue">
<?php $pos=strpos($post->post_content, '<!--more-->'); if(is_single
() || $pos==''){ ?><a class="nr_comm_spot" href="
<?php the_permalink
(); ?>#respond">
<?php comments_number
(__
('Sin Comentarios','lightword'), __
('1 Comentario','lightword'), __
('% Comentarios','lightword')); ?></a>
<?php }else{ ?><a title="
<?php _e
('Seguir leyendo sobre ','lightword'); ?> <?php the_title
(); ?>" href="
<?php the_permalink
() ?>#more-
<?php echo $id; ?>">
<?php _e
('Seguir leyendo','lightword'); ?></a>
<?php } ?></div>
<div class="clear"></div></div><div class="cat_tags_close"></div>
<?php wp_link_pages('before=<div class="nav_link">&after=</div>&next_or_number=number&pagelink=<span class="page_number">%</span>'); ?>
</div>
<?php if ( is_attachment() != TRUE ) : comments_template(); endif; ?>
<?php endwhile; else: ?>
<h2><?php _e('No encontrado','lightword'); ?></h2>
<p><?php _e("Lo sentimos, no encontramos lo que buscas","lightword"); ?></p>
<?php endif; ?>
<div class="newer_older">
<span class="newer"><?php previous_posts_link(__('« Anteriores','lightword')) ?></span>
<span class="older"><?php next_posts_link(__('Siguientes »','lightword')) ?></span>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
si me pueden ayudar les agradeceria.. saludos
Leo