Thinking Web Publishing? Think YouNeedItAll.com!

Translate Web Page

Google-Translate-Chinese (Simplified) BETA Google-Translate-English to French Google-Translate-English to German Google-Translate-English to Italian Google-Translate-English to Japanese BETA Google-Translate-English to Korean BETA Google-Translate-English to Russian BETA Google-Translate-English to Spanish

Social Media Networking

Geo Twitter Map
See who Twits in your area

Site Statistics

Content View Hits : 598245

Da Vinci Art Gallery

LEONARDO DA VINCI's Art Gallery, Live, Paintings, Inventions, Secrets and History of Renaissance
how to upgrade wordpress
Content Management System Overview
Written by Nikolay Gul   

How to optimize WP 2.1 for WP 2.0.x

How to upgrade WordPress?


get_links_list() function has been changed to wp_list_bookmarks()

wp_list_bookmarks() is used for the links output from the bookmarks menu ( displays bookmarks found in the Bookmarks Management screen) and it’s not supported by the previous WP versions. Currently this function works only with Netscape and Mozilla but WP developers promise to make it cross-platform in the very near future.

If you want to convert the 2.1 version to the 2.0.x, you need to follow the instructions below:

1. If you’re not planning to use widgets in this theme you should:

 1.1 open sidebar.php file in your folder with the theme

      a) change the  wp_list_bookmarks() for the get_links_list();

      b) replace <?php wp_list_categories('show_count=1&title_li=0'); ?> with <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>

  1.2 open header.php in your folder with the theme and delete <?php language_attributes(); ?>

  1.3 open searchform.php in your folder with the theme and delete <?php the_search_query(); ?>


2. If you’re planning to use widgets in your theme you should:

  2.1 open header.php in your folder with the theme and delete <?php language_attributes(); ?>

  2.2 open searchform.php in your folder with the theme and delete <?php the_search_query(); ?>

  2.3 open functions.php file and change the wp_list_bookmarks() for get_links_list();

 
Web Templates Sale, Full site templates Sale, flash templates sale


Email or Call:(315) 378-9729 and Search for www.YouNeedItAll.com @ Nikolay Gul 2009 © All rights reserved