WordPress.org

Support

Support » Themes and Templates » [Resolved] Sidebar code

[Resolved] Sidebar code

  • Hi there, I’m trying to edit the sidebar that comes with the Sandbox theme. Right now I’d really like to get rid of the bullet points.

    Here’s what I have right now:

    <div id="primary" class="sidebar">
    
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : // begin primary sidebar widgets ?>
    
    				<h3><?php _e( 'Pages', 'sandbox' ) ?></h3>
    
    <?php wp_list_pages('title_li=&sort_column=menu_order' ) ?>
    
    			        <h3><?php _e( 'Categories', 'sandbox' ) ?></h3>
    
    <?php wp_list_categories('title_li=&show_count=0&hierarchical=1') ?> 
    
    				<h3><?php _e( 'Archives', 'sandbox' ) ?></h3>
    
    <?php wp_get_archives('type=monthly') ?>
    
    <?php endif; // end primary sidebar widgets  ?>
    
    	</div><!-- #primary .sidebar -->
    
    	<div id="secondary" class="sidebar">
    
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : // begin secondary sidebar widgets ?>
    
    				<h3><label for="s"><?php _e( 'Search', 'sandbox' ) ?></label></h3>
    				<form id="searchform" class="blog-search" method="get" action="<?php bloginfo('home') ?>">
    					<div>
    						<input id="s" name="s" type="text" class="text" value="<?php the_search_query() ?>" size="10" tabindex="1" />
    						<input type="submit" class="button" value="<?php _e( 'Find', 'sandbox' ) ?>" tabindex="2" />
    					</div>
    				</form>
    
    <?php wp_list_bookmarks('title_before=<h3>&title_after=</h3>&show_images=1') ?>
    
    				<h3><?php _e( 'RSS Feeds', 'sandbox' ) ?></h3>
    
    					<a href="<?php bloginfo('rss2_url') ?>" title="<?php printf( __( '%s latest posts', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" rel="alternate" type="application/rss+xml"><?php _e( 'All posts', 'sandbox' ) ?></a>
    					<a href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" rel="alternate" type="application/rss+xml"><?php _e( 'All comments', 'sandbox' ) ?></a>
    
    				<h3><?php _e( 'Meta', 'sandbox' ) ?></h3>
    
    					<?php wp_register() ?>
    					<?php wp_loginout() ?>
    					<?php wp_meta() ?>
    
    <?php endif; // end secondary sidebar widgets  ?>
    
    	</div><!-- #secondary .sidebar -->

    I thought I’d gotten rid of every “ul” and “li” tag and that needed to go, but here’s the result:

    http://onethousandseas.org/testpage

    So yeah, as I intended some of them don’t have bullet points, namely the headings, and some of them do. What can I do to get rid of them?

    Thanks.

Viewing 1 replies (of 1 total)
  • Never mind, I figured out what I did wrong, the bullets were only appearing by the other files that hadn’t been edited yet, namely links.php etc. in this case.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Sidebar code’ is closed to new replies.
Skip to toolbar