if (is_page('links')) { // If you have a page named 'Links', a default listing of your Links will be displayed here. ?> </div> </div> <h3 class="result-text">(<?php _e("Alphabetical Order", "wptouch"); ?> )</h3> <div id="wptouch-links" class="post"> <ul> <?php foreach (get_bookmarks('categorize=0&title_li=0') as $bm) { echo '<li>'; echo '<img src="http://bravenewcode.com/code/favicon.php?site=' . urlencode($bm->link_url) . '&default=' . urlencode(bnc_get_local_icon_url() . '/icon-pool/Default.png') . '" />'; echo '<a href="' . $bm->link_url . '">' . $bm->link_name . '</a>'; echo '</li>'; } ?> </ul> </div> <?php } ?> <!-- end if links page--> <?php wp_link_pages(__('Pages in this article: ', 'wptouch'), '', 'number'); ?>
function bnc_get_favicon_for_site($site) { // Yes we know this goes remote to handle things, but we do this to ensure that it works for everyone. No data is collected, as you'll see if you look at the script. $i = 'http://www.bravenewcode.com/code/favicon.php?site=' . urlencode($site) . '&default=' . urlencode(bnc_get_local_icon_url() . '/icon-pool/default.png'); return $i; }