Help with code for handling the link display order.
-
I want the links to display in order by ratings. But not sure where or how to make the change. Could someone pleas take a look at this for me?
Thank You:)
<div id="sidebar"> <ul> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?> <li id="archives"> <h2><?php _e('Archives'); ?></h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <?php /* Uncomment for calendar <li id="calendar"> <?php get_calendar(); ?> </li> */ ?> <li id="categories"> <h2><?php _e('Categories'); ?></h2> <ul> <?php wp_list_cats(); ?> </ul> </li> <?php if (function_exists('wp_theme_switcher')) { ?> <li id="themeswitcher"> <h2><?php _e('Themes'); ?></h2> <?php wp_theme_switcher(); ?> </li> <?php } ?> <?php if (is_home()) { ?> <?php get_links_list(); ?> <?php } ?> <li id="meta"> <h2><?php _e('Meta'); ?></h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS 2.0'); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> <li><a href="https://www.remarpro.com" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li> <?php wp_meta(); ?> </ul> </li> <li id="search"> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </li> <?php endif; ?> </ul> </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Help with code for handling the link display order.’ is closed to new replies.