Customizing sidebar widgets…
-
I’m running the latest build of WP and have created my own theme/design.
What I’d like to do is customize how the links/blogroll links appear and also the latest posts. Right now, my comments page is the simple/standard comments page that comes with the WP Classic them:
<!-- start sidebar --> <div id="sidebar-wrapper"> <div id="sidebar"> <div id="sidebar2"> <div id="sidebar3"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <?php wp_list_pages('title_li=' . __('Pages:')); ?> <?php wp_list_bookmarks('title_after=&title_before='); ?> <?php wp_list_categories('title_li=' . __('Categories:')); ?> <li id="search"> <label for="s"><?php _e('Search:'); ?></label> <form id="searchform" method="get" action="<?php bloginfo('home'); ?>"> <div> <input type="text" name="s" id="s" size="15" /><br /> <input type="submit" value="<?php _e('Search'); ?>" /> </div> </form> </li> <?php endif; ?> </div></div></div><!-- #sidebar divs --> </div> <!-- end sidebar -->
Right now, the links are displaying like:
<span class="widget widget_links"><h2>Herd Links</h2> <ul> <li><a href="https://www.site1.com" title="Site1 Title" target="_blank">Site1</a></li> <li><a href="https://www.site2.com" title="Site2 Title" target="_blank">Site2</a></li> </ul> </span>
What I am wanting to do is do it like this:
I’m running the latest build of WP and have created my own theme/design.
What I’d like to do is customize how the links/blogroll links appear and also the latest posts. Right now, my comments page is the simple/standard comments page that comes with the WP Classic them:
<!-- start sidebar --> <div id="sidebar-wrapper"> <div id="sidebar"> <div id="sidebar2"> <div id="sidebar3"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <?php wp_list_pages('title_li=' . __('Pages:')); ?> <?php wp_list_bookmarks('title_after=&title_before='); ?> <?php wp_list_categories('title_li=' . __('Categories:')); ?> <li id="search"> <label for="s"><?php _e('Search:'); ?></label> <form id="searchform" method="get" action="<?php bloginfo('home'); ?>"> <div> <input type="text" name="s" id="s" size="15" /><br /> <input type="submit" value="<?php _e('Search'); ?>" /> </div> </form> </li> <?php endif; ?> </div></div></div><!-- #sidebar divs --> </div> <!-- end sidebar -->
Right now, the links are displaying like:
<span class="widget widget_links"><h2>Herd Links</h2> <ul> <li><a href="https://www.site1.com" title="Site1 Title" target="_blank"><strong>Site1</strong><em>Site 1 Description</em></a></li> <li><a href="https://www.site2.com" title="Site2 Title" target="_blank"><strong>Site2</strong><em>Site 2 Description</em></a></li> </ul> </span>
Where can I edit the code to get it this way?
- The topic ‘Customizing sidebar widgets…’ is closed to new replies.