Salve, sto usando il tema manisfesto su
ultimatemuscle.altervista.org/blog/
Nella homepage i widget vanno bene, però su un'articolo i widget vanno sotto l'articolo!
Come mai?
Questo è il codice della sidebar.php
Codice PHP:
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
global $showsocial;
?>
<?php if ($showsocial == 'Yes') { ?>
<div class="widget">
<div class="title">
<h3><?php _e('Share this article', 'wpzoom');?></h3>
</div><!-- end .title -->
<div class="box">
<ul class="wpzoomSocial">
<li><a href="http://twitter.com/share?url=<?php echo urlencode(the_permalink()); ?>&text=<?php echo urlencode(the_title()); ?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/ic_twitter.png" alt="Tweet This!" /> <?php _e('Tweet this!', 'wpzoom');?></a></li>
<li><a href="http://digg.com/submit?phase=2&url=<?php the_permalink();?>&title=<?php the_title_attribute();?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/ic_digg.png" alt="Digg it!" /> <?php _e('Digg it!', 'wpzoom');?></a></li>
<li><a href="http://del.icio.us/post?v=4&noui&jump=close&url=<?php the_permalink();?>&title=<?php the_title_attribute();?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/ic_delicious.png" alt="Add to Delicious!" /> <?php _e('Add to Delicious!', 'wpzoom');?></a></li>
<li><a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/ic_facebook.png" alt="Share on Facebook!" /> <?php _e('Share on Facebook!', 'wpzoom');?></a></li>
<li><a href="http://reddit.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title_attribute();?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/ic_reddit.png" alt="Share on Reddit!" /> <?php _e('Share on Reddit!', 'wpzoom');?></a></li>
<li><a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/ic_stumbleupon.png" alt="Stumble it" /> <?php _e('Stumble it', 'wpzoom');?></a></li>
<li><a href="http://www.technorati.com/faves?add=<?php the_permalink(); ?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/ic_technorati.png" alt="Add to Technorati Favorites" /> <?php _e('Add to Technorati', 'wpzoom');?></a></li>
<li class="last"><a href="<?php if (strlen($wpzoom_misc_feedburner) < 10) { bloginfo('rss2_url');} else {echo"$wpzoom_misc_feedburner";} ?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/ic_rss.png" alt="Subscribe by RSS" /> <?php _e('Subscribe by RSS', 'wpzoom');?></a></li>
</ul>
<div class="cleaner"> </div>
</div>
</div>
<?php } // if social icons should be shown ?>
<?php if (strlen($wpzoom_ad_side_imgpath) > 1 && $wpzoom_ad_side_select == 'Yes' && $wpzoom_ad_side_pos == 'Before') { echo '<div class="banner">'.stripslashes($wpzoom_ad_side_imgpath)."</div>"; }?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?> <?php endif; ?>
<?php if (strlen($wpzoom_ad_side_imgpath) > 1 && $wpzoom_ad_side_select == 'Yes' && $wpzoom_ad_side_pos == 'After') { echo '<div class="banner">'.stripslashes($wpzoom_ad_side_imgpath)."</div>"; }?>
<div class="cleaner"> </div>
edit:
Lo stesso accade nelle categorie