Hola amigo este es el sidebar.php
¿Que tengo que cambiar?
Código PHP:
Ver original<div id="sidebar">
<?php if (get_option('flex_sidebar_visibility') == "no") { ?>
<?php if (get_option('flex_adsense_loc2') == "yes" && !get_option('flex_adsense_loc2banner')) { ?>
<div style="display:block; text-align:center; margin:10px 0 15px 0; text-align:center;">
<?php
$adsize = get_option('flex_adsense_loc2size');
$adtype = get_option('flex_adsense_loc2type');
$adchannel = get_option('flex_adsense_loc2channel');
include('adsense.php'); ?>
</div>
<?php } else if (get_option('flex_adsense_loc2') == "yes" && get_option('flex_adsense_loc2banner')) { ?>
<div style="display:block; text-align:center; margin:10px 0 15px 0; text-align:center;">
<?php echo stripslashes(get_option
('flex_adsense_loc2banner')); ?> </div>
<?php } ?>
<?php } else { ?>
<div id="sidebar-top">
<?php if (get_option('flex_adsense_loc2') == "yes" && !get_option('flex_adsense_loc2banner')) { ?>
<div style="display:block; text-align:center; margin:10px 0 15px 0; text-align:center;">
<?php
$adsize = get_option('flex_adsense_loc2size');
$adtype = get_option('flex_adsense_loc2type');
$adchannel = get_option('flex_adsense_loc2channel');
include('adsense.php'); ?>
</div>
<?php } else if (get_option('flex_adsense_loc2') == "yes" && get_option('flex_adsense_loc2banner')) { ?>
<div style="display:block; text-align:center; margin:10px 0 15px 0; text-align:center;">
<?php echo stripslashes(get_option
('flex_adsense_loc2banner')); ?> </div>
<?php } ?>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar
('Sidebar_top') ) : else : ?> <div class="toptitle">
<h5 style="border:1px solid #<?php echo get_option('flex_sidebar_boxborder'); ?>;"><?php echo get_option('flex_sidebar_toptitle'); ?></h5>
</div>
<div class="sidebar-top-box">
<p>
<?php echo stripslashes(get_option
('flex_sidebar_boxtext')); ?></p>
<div style="clear:both;"></div>
</div>
<div class="toptitle">
<h5 style="border:1px solid #<?php echo get_option('flex_sidebar_boxborder'); ?>;">Recent Posts</h5>
</div>
<ul class="widget">
<?php wp_get_archives('type=postbypost&limit=7'); ?>
</ul>
<div class="toptitle">
<h5 style="border:1px solid #<?php echo get_option('flex_sidebar_boxborder'); ?>;">Recent Comments</h5>
</div>
<?php include (TEMPLATEPATH . '/simple_recent_comments.php'); ?>
<?php src_simple_recent_comments(); ?>
<?php endif; ?>
</div>
<div style="clear:both;"></div>
<?php } ?>
<?php if (get_option('flex_lsidebar_show') == "yes" || !get_option('flex_lsidebar_show')) { ?>
<div id="sidebar-left">
<?php if (get_option('flex_adsense_loc3') == "yes" && !get_option('flex_adsense_loc3banner')) { ?>
<div style="display:block; text-align:center; margin:15px 0 15px 0; text-align:center;">
<?php
$adsize = get_option('flex_adsense_loc3size');
$adtype = get_option('flex_adsense_loc3type');
$adchannel = get_option('flex_adsense_loc3channel');
include('adsense.php'); ?>
</div>
<?php } else if (get_option('flex_adsense_loc3') == "yes" && get_option('flex_adsense_loc3banner')) { ?>
<div style="display:block; text-align:center; margin:15px 0 15px 0; text-align:center;">
<?php echo stripslashes(get_option
('flex_adsense_loc3banner')); ?> </div>
<?php } ?>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar
('Sidebar_left') ) : else : ?> <h5>Categories</h5>
<ul>
<?php wp_list_categories('title_li=&orderby=name'); ?>
</ul>
<?php endif; ?>
<br/>
</div>
<?php } ?>
<?php if (get_option('flex_rsidebar_show') == "yes" || !get_option('flex_rsidebar_show')) { ?>
<div id="sidebar-right">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar
('Sidebar_right') ) : else : ?>
<h5>Archives</h5>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<?php endif; ?>
</div>
<?php } ?>
</div>