Hi guys, I needed some help. My Blogroll category's blog link are lost and I don't know why. Anyone here can help? ? My site is www.scienceofgettingprosperous.com. Thanks guys.
Is either you don't have blog roll link insert or you have delete the blogroll php code in your template
goto presentation->themes editor and select sidebar in the rightside list of pages in your theme Do [ctrl F] and search for Blogroll ...look at the code below it...does it says anywhere "get_links" or "wp_get_links" if not it's missing some code...if it's there you have no links in your database
Hi guys, I added links, and the code is correct, by still no blogroll in my blog. Can anyone check out my script? This is the sidebar script. <style type="text/css"> <!-- .style5 {color: #000000} .style6 { font-size: 9px; font-style: italic; color: #000000; } .style7 { font-size: 12px; font-weight: bold; } .style8 {font-size: 12} #column2 strong { font-size: 14px; text-decoration: blink; font-family: Arial, Helvetica, sans-serif; } .style11 { font-size: 14px; font-weight: bold; } .style12 {font-size: 13px} .style14 { color: #000000; font-size: 12px; font-weight: bold; } --> </style> <div id="back"> <?php if (isset($_SERVER["HTTP_REFERER"])) { ?> <span>« <a href="<?php echo $_SERVER['HTTP_REFERER'];?>" title="go back">go back</a></span> <?php } ?> <a href="#documentContent" title="up to the page content">up to content</a> »</div> </div> </div> <div id="column2"> <p> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Left Sidebar') ) : else : ?> <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <ul><li class="listHeader"><h2><?php _e('Author'); ?></h2></li> <li><p>A little something about you, the author. Nothing lengthy, just an overview.</p></li> </ul> --> </p> <ul> <li class="listHeader"></li><table width="170" border="0"> <tr> <td width="164" bgcolor="#FF6600"><div align="center" class="style11">Highly Recommended</div></td> </tr> <tr> <td></td> </tr> <tr> <td><span class="style8"><a href="http://www.1shoppingcart.com/app/?af=586612"><img src="http://www.scienceofgettingprosperous.com/wp-content/themes/OptiMIND_LOA_004/images/accelerator.jpg" width="170" height="195" border="0" /></a></a></span></td> </tr> <tr> <td bgcolor="#FF6600"><div align="center" class="style12"> <p><strong>Introductory Price </strong></p> <p><strong>For Limited Time Only! </strong></p> </div></td> </tr> <tr> <td> </td> </tr> </table> <li class="listHeader"><h2><?php _e('Calendar'); ?></h2></li> <li class="calendar"><?php get_newcalendar() ?></li> </ul> <?php if (function_exists('wp_theme_switcher')) { ?> <ul><li class="listHeader"><h2><?php _e('Themes'); ?></h2> <?php wp_theme_switcher('dropdown'); ?> </li></ul> <?php } ?> <ul><li class="listHeader"><h2><?php _e('Archives'); ?></h2></li> <?php wp_get_archives('type=monthly'); ?> </ul> <ul><li class="listHeader"><h2><?php _e('Categories'); ?></h2></li> <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> </ul> <ul><li class="listHeader"><a href="http://www.1shoppingcart.com/app/?af=586612"><img src="http://www.scienceofgettingprosperous.com/wp-content/themes/OptiMIND_LOA_004/images/banner2.gif" width="160" height="510" border="0" /></a> </ul> <?php endif; ?> <ul> <li class="listHeader"><h2 align="center"><font style="color:#000000;font-size:16px;">Subscribe</font></h2></li> <li><div align="center"><p><a href="http://feeds.feedburner.com/Scienceofgettingprosperous" rel="alternate" type="application/rss+xml"><img src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/Scienceofgettingprosperous" rel="alternate" type="application/rss+xml">Subscribe in a reader</a></p></li> <li><div align="center"><p><a href="http://add.my.yahoo.com/rss?url=http://feeds.feedburner.com/Scienceofgettingprosperous" title="ScienceOfGettingProsperous"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif" alt="" style="border:0"/></a></p> <li><div align="center"><p><a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http://feeds.feedburner.com/Scienceofgettingprosperous" title="ScienceOfGettingProsperous"><img src="http://www.newsgator.com/images/ngsub1.gif" alt="Subscribe in NewsGator Online" style="border:0"/></a></p> <li><div align="center"><p><a href="http://my.feedlounge.com/external/subscribe?url=http://feeds.feedburner.com/Scienceofgettingprosperous"><img src="http://static.feedlounge.com/buttons/subscribe_0.gif" alt="Subscribe in FeedLounge" title="Subscribe in FeedLounge" border="0" /></a></p> <li><div align="center"><p><a href="http://www.netvibes.com/subscribe.php?url=http://feeds.feedburner.com/Scienceofgettingprosperous"><img src="http://www.netvibes.com/img/add2netvibes.gif" width="91" height="17" alt="Add to netvibes" style="border:0" /></a></p> <li><div align="center"><p><a href="http://www.bitty.com/manual/?contenttype=rssfeed&contentvalue=http://feeds.feedburner.com/Scienceofgettingprosperous" target="_blank"><img src="http://www.bitty.com/img/bittychicklet_91x17.gif" style="border:0" alt=""/></a></p> <li><div align="center"><a href="http://feeds.my.aol.com/?url=scienceofgettingprosperous.com/feed"><img src="http://o.aolcdn.com/myfeeds/vis/myaol_cta1.gif" alt="Add to My AOL" border="0"/></a> <li><div align="center"><a href="http://www.bloglines.com/sub/http://scienceofgettingprosperous.com/feed"> <img src="http://static.bloglines.com/images/sub_modern11.gif" border="0" alt="Subscribe with Bloglines" /> </a> <li><div align="center"><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1024644&loc=en_US">Subscribe To Us</a> </ul> <ul> <li class="listHeader"><h2 align="center"><font style="color:#000000;font-size:16px;">My Community</font></h2></li> <li><div align="center"> <a href="http://www.socialize-it.com/index.php?url=<$BlogItemPermalinkURL$>&tag=<$BlogItemTitle$>">Automatic Social Bookmarking<img src="http://www.socialize-it.com/socializeit.png" alt="socialize it"></a> <li><div align="center"><a href="http://www.weblogalot.com/"><img src="http://www.weblogalot.com/pic/buttons/weblogalot-80x15-1.gif" alt="weblogalot irectory of Weblog Community"width="80" height="15" border="0"></a></li> <li><div align="center"><a href="http://www.blogcatalog.com/directory" title="Business Blogs - Blog Catalog Blog Directory"><img src="http://www.blogcatalog.com/images/buttons/blogcatalog3.gif" alt="Business Blogs - Blog Catalog Blog Directory" style="border: 0;" /></a> <li><div align="center"><a href="http://www.blogrankings.com"><img src="http://www.blogrankings.com/images/blog4.jpg" width="80" height="15" border="0"></a> <li><div align="center"><a href="http://dir.blogflux.com/"><img src="http://dir.blogflux.com/images/80x15.gif" alt="Blog Flux Directory" border="0"></a> <li><div align="center"><A HREF="http://www.bloghop.com" TARGET="_blank"><IMG NoTemplate='true' SRC="http://www.bloghop.com/img/button/bloghop_fun_button1.gif" WIDTH="88" HEIGHT="33" BORDER="0"></A> <li><div align="center"><a href="http://www.blogarama.com/"><img src="http://www.blogarama.com/images/button.gif" border="0" alt="Blogarama - The Blog Directory"></a> <li><div align="center"><a href="http://blogz.sarthak.net"><img src="http://www.sarthak.net/blogz/images/ani-button1.gif" border="0" alt="Blogz"></a> <li><a href="http://www.blogdirs.com">Blog Directory</a> <li><div align="center"><a href="http://blogbuddy.sourceforge.net/"> <li><div align="center"><a href="http://www.globeofblogs.com/"><img src="goblink.gif" border=0></a> <li><a href="http://feedshark.brainbliss.com" title="track">Feed Shark</a> <li><div align="center"><a href="http://pingoat.com"><img alt="pingoat_9.gif" border="0" src="http://out.pingoat.com/pix/pingoat_9.gif"></a> <li><div align="center"><a href="http://www.blogsrater.com/"><img src="http://www.blogsrater.com/blogs_rater.gif" alt="blog rating and reviews"></a> </ul> </div> <div id="column3"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Right Sidebar') ) : else : ?> <ul class="icons"><li class="listHeader"><div align="center"><h2><?php _e('Claim Your FREE REPORT Exclusive Interview With Bob Proctor'); ?></h2></ul></li> <ul> <li> <div align="center"> <a href="http://www.scienceofgettingprosperous.com/freereport" target="_blank"><div align="center"><img src="http://www.7wealthseekers.com/wp-content/themes/OptiMIND_LOA_004/images/report-1.jpg" width="124" height="157" /></a> </div> </li> </ul> <?php if (is_single()) { ?> <ul class="icons"><li class="listHeader"><h2><?php _e('Spread the Word'); ?></h2></li> <li><a class="s_delicious" href="http://del.icio.us/post?title=<?php the_title(); ?>&url=<?php echo get_permalink() ?>" title="Submit <?php the_title(); ?> to del.icio.us" rel="nofollow">delicious</a></li> <li><a class="s_digg" href="http://digg.com/submit?phase=2&title=<?php the_title(); ?>&url=<?php echo get_permalink() ?>" title="Submit <?php the_title(); ?> to digg" rel="nofollow">digg</a></li> <li><a class="s_technorati" href="http://www.technorati.com/faves?add=<?php echo get_permalink() ?>" title="Submit <?php the_title(); ?> to technorati" rel="nofollow">technorati</a></li> <li><a class="s_reddit" href="http://reddit.com/submit?title=<?php the_title(); ?>&url=<?php echo get_permalink() ?>" title="Submit <?php the_title(); ?> to reddit" rel="nofollow">reddit</a></li> <li><a class="s_magnolia" href="http://ma.gnolia.com/beta/bookmarklet/add?title=<?php the_title(); ?>&description=<?php the_title(); ?>&url=<?php echo get_permalink() ?>" title="Submit <?php the_title(); ?> to magnolia" rel="nofollow">magnolia</a></li> <li><a class="s_stumbleupon" href="http://www.stumbleupon.com/submit?title=<?php the_title(); ?>&url=<?php echo get_permalink() ?>" title="Submit <?php the_title(); ?> to stumbleupon" rel="nofollow">stumbleupon</a></li> <li><a class="s_yahoo" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?title=<?php the_title(); ?>&popup=true&u=<?php echo get_permalink() ?>" title="Submit <?php the_title(); ?> to yahoo bookmarks" rel="nofollow">yahoo</a></li> <li><a class="s_google" href="http://www.google.com/bookmarks/mark?op=add&title=<?php the_title(); ?>&bkmk=<?php echo get_permalink() ?>" title="Submit <?php the_title(); ?> to google bookmarks" rel="nofollow">google</a></li> </ul> <?php } ?> <ul><li class="listHeader"><h2><?php _e('Latest Posts'); ?></h2></li> <?php wp_get_archives('type=postbypost&limit=10'); ?> </ul> <ul><li class="listHeader"><h2><?php _e('Blogroll'); ?></h2></li> <?php wp_get_linksbyname('Blogroll', 'before=<li>&after=</li>&orderby=name&show_description=0&show_updated=1') ?> </ul> <ul><li class="listHeader"><h2><?php _e('Meta'); ?></h2></li> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://validator.w3.org/check/referer" title="Hopefully this page validates as XHTML 1.0 Strict">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li> <li><a href="http://jigsaw.w3.org/css-validator/check/referer" title="Valid CSS">Valid CSS</a></li> <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> <?php wp_meta(); ?> </ul> <ul class="icons"><li class="listHeader"><h2><?php _e('Free Report'); ?></h2></li> <li><a href="<?php bloginfo('rss2_url'); ?>" title="Posts RSS feed" class="iconrss">rss posts</a></li> <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="Posts RSS feed" class="iconrss">rss comments</a></li> </ul> <?php endif; ?> <script type="text/javascript" src="http://pub.mybloglog.com/comm2.php?mblID=2007061707034372&c_width=152&c_sn_opt=y&c_rows=6&c_img_size=f&c_heading_text=Recent+Readers&c_color_heading_bg=FF6600&c_color_heading=ffffff&c_color_link_bg=FFFFFF&c_color_link=000000&c_color_bottom_bg=FF6600"></script> <script type="text/javascript" src="http://www.blogcatalog.com/w/recent.php?id=4287919&width=138&rows=5&bgcolor=FFFFFF&bcolor=FF6600&lcolor=000000&hcolor=FFFFFF&htext=Recent%20Viewers&name=0&img=l"></script> </div> </div> </div>
HI, Just a small question...did you use the sidebar widget? In other words did you went to the presentation -> sidebar widgets and added things there by drag and drop?
I checked it, I did not add the sidebar widget. WOnder what happen. I just go off suddenly, anyone can help?
If you look at the part that makes the links <ul> <li class="listHeader"><h2><?php _e('Blogroll'); ?></h2></li> <?php wp_get_linksbyname('Blogroll', 'before=<li>&after=</li>&orderby=name&show_description=0&show_updated=1') ?> </ul> Code (markup): It uses a function called wp_get_linksbyname This function is not longer used and you will need to replace it with the followin <ul> <?php get_links('-1', '<li>', '</li>', '', FALSE, 'name', FALSE, FALSE, -1, FALSE, TRUE); ?> </ul> Code (markup):