
juanmanuel
1
Pi
Social Media
Verificación en dos pasos activada
Verificado por Whatsapp
¡Excelente comerciante!
Suscripción a IA
Hola qe tal foro ! Tengo un problema en mi blog: Enlace eliminado ... y es que no me sale el sidebar derecho en el index .. (a pesar de que si sale en los post individuales )
Queria preguntarles cual puede ser el motivo y como se podria llegar a solucionar ?
saludos, dejo aqui los codigos de mi index y sidebar
Index
Sidebar
Queria preguntarles cual puede ser el motivo y como se podria llegar a solucionar ?
saludos, dejo aqui los codigos de mi index y sidebar
Index
Insertar CODE, HTML o PHP:
<?php get_header(); ?>
<center><h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Video: %s', 'minimalism'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time(__('F jS, Y', 'minimalism')) ?> by <?php the_author() ?></small>
<div class="entry">
<?php the_content(__('Ver articulo completo »', 'minimalism')); ?>
</div>
<p class="postmetadata"><?php the_tags(__('Tags:', 'minimalism') . ' ', ', ', '<br />'); ?> <?php printf(__('Categoria %s', 'minimalism'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Editar', 'minimalism'), '', ' | '); ?> <?php comments_popup_link(__('Sin comentarios »', 'minimalism'), __('1 Comentario »', 'minimalism'), __('% Comentarios »', 'minimalism'), '', __('Comentarios cerrados', 'minimalism') ); ?></p>
</div>
<?php endwhile; ?>
<center><br />
<?php wp_pagenavi(); ?></center>
<?php else : ?>
<h2 class="center"><?php _e('Not Found', 'minimalism'); ?></h2>
<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'minimalism'); ?></p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Sidebar
Insertar CODE, HTML o PHP:
<div id="sidebar">
<ul>
<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<li>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</li>
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
<li><h2><?php _e('Author', 'minimalism'); ?></h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
</li>
-->
<?php if ( is_404() || is_category() || is_day() || is_month() ||
is_year() || is_search() || is_paged() || is_home() ) {
?> <li>
<?php /* If this is a 404 page */ if (is_404()) { ?>
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
<p><?php printf(__('You are currently browsing the archives for the %s category.', 'minimalism'), single_cat_title('', false)); ?></p>
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the day %3$s.', 'minimalism'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('l, F jS, Y', 'minimalism'))); ?></p>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for %3$s.', 'minimalism'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('F, Y', 'minimalism'))); ?></p>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the year %3$s.', 'minimalism'), get_bloginfo('url'), get_bloginfo('name'), get_the_time('Y')); ?></p>
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>‘%3$s’</strong>. If you are unable to find anything in these search results, you can try one of these links.', 'minimalism'), get_bloginfo('url'), get_bloginfo('name'), get_search_query()); ?></p>
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives.', 'minimalism'), get_bloginfo('url'), get_bloginfo('name')); ?></p>
<?php } ?>
</li> <?php }?>
<?php wp_list_pages('title_li=<h2>' . __('Pages', 'minimalism') . '</h2>' ); ?>
<li><h2><?php _e('Archives', 'minimalism'); ?></h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
<?php wp_list_categories('show_count=1&title_li=<h2>' . __('Categories', 'minimalism') . '</h2>'); ?>
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php wp_list_bookmarks(); ?>
<li><h2><?php _e('Meta', 'minimalism'); ?></h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional', 'minimalism'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>', 'minimalism'); ?></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="<?php _e('XHTML Friends Network', 'minimalism'); ?>"><?php _e('XFN', 'minimalism'); ?></abbr></a></li>
<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'minimalism'); ?>">WordPress</a></li>
<?php wp_meta(); ?>
</ul>
</li>
<?php } ?>
<?php endif; ?>
</ul>
</div>