function wptouch_core_header_home() { if (bnc_is_home_enabled()) { echo sprintf(__("%sHome%s", "wptouch"), '<li><a href="' . get_bloginfo('home') . '"><img src="http://tetalab.org/wp-content/wp-content/blogs.dir/1/files/wptouch/custom-icons/tetalab.jpg" alt=""/>', '</a></li>'); } }
function wptouch_core_header_home() { if (bnc_is_home_enabled()) { echo sprintf(__("%sHome%s", "wptouch"), '<li><a href="' . get_bloginfo('home') . '"><img src="' . bnc_get_title_image() . '" alt=""/>', '</a></li>'); } }
<?php header("Content-type:text/html; charset=utf-8"); require_once '../../../../../wp-blog-header.php'; // Back out, because it'll be the same for all installs, and helps with alias/symlinked folders ?> <div id="dropmenu-inner"> <ul> <?php if (bnc_is_home_enabled()) { ?> <li><a href="<?php bloginfo('url'); ?> "><img src="<?php bloginfo('wpurl'); ?> /wp-content/plugins/wptouch/images/icon-pool/Home.png" alt="" />Home</a></li> <?php } ?> <?php $pages = bnc_wp_touch_get_pages(); foreach ($pages as $p) { $image = get_bloginfo('wpurl') . '/wp-content/plugins/wptouch/images/icon-pool/' . $p['icon']; echo '<li><a href="' . get_permalink($p['ID']) . '"><img src="' . $image . '" />' . $p['post_title'] . '</a></li>'; } ?> <?php if (bnc_is_rss_enabled()) { ?>