首先:歡迎大家訪問我的博客網站:
網絡賺錢博客
在這個網頁 http://codex.wordpress.org/Template_Tags/wp_list_bookmarks 上,看到了這個方法:
就是我所用的。其實我不太明白意思,反正能用就可以了。沒有細看
*****************************************************************
兄弟們啊,給俺點下博客上面的阿里媽媽廣告吧,俺昨天一分錢收入也沒有!
-----------------------------想賺錢的來看看 ^_^-------------------------------------
在這個位置分享一下 探討程序|員賺錢方法
-----------------------------想賺錢的來看看 ^_^-------------------------------------
*****************************************************************
然后把這個方法,結果 主題邊欄的代碼,加上了這些內容
因為主題的邊欄不顯示連接,我就自己加上了,呵呵。
下面是我所用的主題的信息
Poetry 1.9 作者為 cuikai
This theme was base on iNove,and designed by cuikai. 2 columns treats the theme poetically. Tested in Firefox, IE6, IE7 and IE8. Compatible up to Wordpress 2.8,and SEO friendly.
在這個網頁 http://codex.wordpress.org/Template_Tags/wp_list_bookmarks 上,看到了這個方法:
<?php wp_list_bookmarks('title_li=&categorize=0'); ?>
就是我所用的。其實我不太明白意思,反正能用就可以了。沒有細看


兄弟們啊,給俺點下博客上面的阿里媽媽廣告吧,俺昨天一分錢收入也沒有!
-----------------------------想賺錢的來看看 ^_^-------------------------------------
在這個位置分享一下 探討程序|員賺錢方法
-----------------------------想賺錢的來看看 ^_^-------------------------------------


然后把這個方法,結果 主題邊欄的代碼,加上了這些內容
//下面是我加的 <!--my adding link list begin --> <div class="widget"> <h3>link list</h3> <ul> <?php wp_list_bookmarks('title_li=&categorize=0'); ?> </ul> </div> <!--my adding link list end --> //上面是我加的
因為主題的邊欄不顯示連接,我就自己加上了,呵呵。
<?php $options = get_option('inove_options'); if($options['feed'] && $options['feed_url']) { if (substr(strtoupper($options['feed_url']), 0, 7) == 'HTTP://') { $feed = $options['feed_url']; } else { $feed = 'http://' . $options['feed_url']; } } else { $feed = get_bloginfo('rss2_url'); } ?> <!-- sidebar START --> <div id="sidebar"> <!-- feeds --> <div class="widget"> <h3>Entries Feed</h3> <div class="content widget_feeds"> <div id="subscribe"> <a id="feedrss" title="<?php _e('Subscribe to this blog...', 'inove'); ?>" href="<?php echo $feed; ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed', 'inove'); ?></a> <ul id="feed_readers"> <li id="google_reader"><a class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Google', 'inove'); ?>" href="http://fusion.google.com/add?feedurl=<?php echo $feed; ?>"><span><?php _e('Google', 'inove'); ?></span></a></li> <li id="youdao_reader"><a class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Youdao', 'inove'); ?>" href="http://reader.youdao.com/#url=<?php echo $feed; ?>"><span><?php _e('Youdao', 'inove'); ?></span></a></li> <li id="xianguo_reader"><a class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Xian Guo', 'inove'); ?>" href="http://www.xianguo.com/subscribe.php?url=<?php echo $feed; ?>"><span><?php _e('Xian Guo', 'inove'); ?></span></a></li> <li id="zhuaxia_reader"><a class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Zhua Xia', 'inove'); ?>" href="http://www.zhuaxia.com/add_channel.php?url=<?php echo $feed; ?>"><span><?php _e('Zhua Xia', 'inove'); ?></span></a></li> <li id="yahoo_reader"><a class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('My Yahoo!', 'inove'); ?>" href="http://add.my.yahoo.com/rss?url=<?php echo $feed; ?>"><span><?php _e('My Yahoo!', 'inove'); ?></span></a></li> <li id="newsgator_reader"><a class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('newsgator', 'inove'); ?>" href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=<?php echo $feed; ?>"><span><?php _e('newsgator', 'inove'); ?></span></a></li> <li id="bloglines_reader"><a class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Bloglines', 'inove'); ?>" href="http://www.bloglines.com/sub/<?php echo $feed; ?>"><span><?php _e('Bloglines', 'inove'); ?></span></a></li> <li id="inezha_reader"><a class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('iNezha', 'inove'); ?>" href="http://inezha.com/add?url=<?php echo $feed; ?>"><span><?php _e('iNezha', 'inove'); ?></span></a></li> </ul> </div> <?php if($options['feed_email'] && $options['feed_url_email']) : ?> <a id="feedemail" title="<?php _e('Subscribe to this blog via email...', 'inove'); ?>" href="<?php echo $options['feed_url_email']; ?>"><?php _e('Email feed', 'inove'); ?></a> <?php endif; ?> <div class="fixed"></div> </div> </div> <!-- showcase --> <?php if( $options['showcase_content'] && ( ($options['showcase_registered'] && $user_ID) || ($options['showcase_commentator'] && !$user_ID && isset($_COOKIE['comment_author_'.COOKIEHASH])) || ($options['showcase_visitor'] && !$user_ID && !isset($_COOKIE['comment_author_'.COOKIEHASH])) ) ) : ?> <div class="widget"> <?php if($options['showcase_caption']) : ?> <h3><?php if($options['showcase_title']){echo($options['showcase_title']);}else{_e('Showcase', 'inove');} ?></h3> <?php endif; ?> <div class="content"> <?php echo($options['showcase_content']); ?> </div> </div> <?php endif; ?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar') ) : ?> <!-- posts --> <?php if (is_single()) { $posts_widget_title = 'Recent Posts'; } else { $posts_widget_title = 'Random Posts'; } ?> <div class="widget"> <h3><?php echo $posts_widget_title; ?></h3> <ul> <?php if (is_single()) { $posts = get_posts('numberposts=10&orderby=post_date'); } else { $posts = get_posts('numberposts=5&orderby=rand'); } foreach($posts as $post) { setup_postdata($post); echo '<li><a href="' . get_permalink() . '">' . get_the_title() . '</a></li>'; } $post = $posts[0]; ?> </ul> </div> <!-- recent comments --> <?php if( function_exists('wp_recentcomments') ) : ?> <div class="widget"> <h3>Recent Comments</h3> <ul> <?php wp_recentcomments('limit=5&length=16&post=false&smilies=true'); ?> </ul> </div> <?php endif; ?> <!-- tag cloud --> <?php if (!is_single()) : ?> <div id="tag_cloud" class="widget"> <h3>Tag Cloud</h3> <p><?php wp_tag_cloud('smallest=8&largest=16'); ?></p> </div> <?php endif; ?> <?php endif; ?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('south_sidebar') ) : ?> <!-- meta --> <div class="widget"> <h3>Meta</h3> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> </ul> </div> <?php endif; ?> //下面是我加的 <!--my adding link list begin --> <div class="widget"> <h3>link list</h3> <ul> <?php wp_list_bookmarks('title_li=&categorize=0'); ?> </ul> </div> <!--my adding link list end --> //上面是我加的 </div> <!-- sidebar END -->
下面是我所用的主題的信息
Poetry 1.9 作者為 cuikai
This theme was base on iNove,and designed by cuikai. 2 columns treats the theme poetically. Tested in Firefox, IE6, IE7 and IE8. Compatible up to Wordpress 2.8,and SEO friendly.
更多文章、技術交流、商務合作、聯系博主
微信掃碼或搜索:z360901061

微信掃一掃加我為好友
QQ號聯系: 360901061
您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對您有幫助就好】元
