• Hello,

    I have “widgetized” the sidebar of my theme (Neo-Sapien v06 0.6) and now can see the list of widgets when I click on the link “Widgets” under “Design”. There are not errors on my web page.

    I’ve added a couple of widgets, but they are not showing up at all on my pages. What have I done wrong?

    My blog’s address is https://www.tp79reunion09.com

    Following is my sidebar code….

    <div id="obar">
    	<div class="sub-obar">
    <ul>
    <?php if (!function_exists('dynamic_sidebar') && !dynamic_sidebar()): else: ?>
    	<li><h2>Categories</h2>
    	<ul>
    		<?php wp_list_cats('sort_column=ID&optioncount=0&children=0'); ?>
    	</ul>
    	</li>
    	<li><h2><?php _e('Archives'); ?></h2>
    	<ul>
    		<?php wp_get_archives('type=monthly'); ?>
    	</ul>
    	</li>
    
    	<?php get_links_list(); ?>
    <?php endif; ?>
    
    </ul>
    	</div>
    
    	<div class="sub-obar">
    <ul>
    
    	<li><h2><?php _e('Posts by Date'); ?></h2>
    	<ul>
    		<li><?php get_calendar(); ?></li>
    	</ul>
    	</li>
    	<li><h2><?php _e('Search'); ?></h2>
    	<ul>
    		<li><?php include(TEMPLATEPATH . '/searchform.php'); ?></li>
    	</ul>
    	</li>
    
    </ul>
    	</div>
    
    		</div>
Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you want the widgets to replace your current sidebar or be added to the top/bottom of your side bar?

    Thread Starter rafael00

    (@rafael00)

    Hi esmi,

    I would like the widgets to replace the current sidebar.

    Thanks in advance for any advice you can provide.

    Rafael

    Try this:

    <div id="obar">
    <div class="sub-obar">
    <ul>
    
    <?php if (!function_exists('dynamic_sidebar') && !dynamic_sidebar()): ?>
    
    <li><h2>Categories</h2><ul>
    <?php wp_list_cats('sort_column=ID&optioncount=0&children=0'); ?>
    </ul></li>
    
    <li><h2><?php _e('Archives'); ?></h2><ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul></li>
    
    <?php get_links_list(); ?>
    
    </ul>
    </div>
    
    <div class="sub-obar">
    <ul>
    
    <li><h2><?php _e('Posts by Date'); ?></h2>
    <ul>
    <li><?php get_calendar(); ?></li>
    </ul></li>
    
    <li><h2><?php _e('Search'); ?></h2>
    <ul>
    <li><?php include(TEMPLATEPATH . '/searchform.php'); ?></li>
    </ul></li>
    
    <?php endif; ?>
    </ul>
    </div>
    
    </div>
    Thread Starter rafael00

    (@rafael00)

    Hi esmi,

    Thank you for your suggested code…I tried it but it left me with a completely blank sidebar. It just didn’t see any of the widgets that I had added through the administration panel.

    Perhaps there’s something I’ve not yet done that I should to make the sidebar widgets visible?

    I created the functions.php file which contains the following:

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar();
    ?>

    And you know what your code looks like.

    I added 4 widgets: a shopping cart, a subscribe2 widget, statpress topposts, and a tag cloud.

    What could be missing?

    Rafael

    Hello,
    I edited the Neo php files for you:
    https://sitesires.com/wp-content/courtney/NEO.rar
    just add the files to the neo-sapien folder, overwrite and you should be good to go. I added sidebars to left/right/right right

    Be sure to add widgets to all 3 sidebars or there will be nothing in them as I took out all the default widgets.

    Hope this helps.

    Courtney Bostdorff

    I am having same problem – I want to replace what’s in the neo sapian side bars with different widgets. Courtney, are the edits to neo php files still available from you…or anyone else?
    Thx!
    dwoglom
    https://www.fgila.info

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sidebar widgets are not visible’ is closed to new replies.