Hello everyone, Have you noticed that wp 3.0 themes are not compatible with wordpress 2.9(even the new 3.0 default theme got this issue), i recive this error: Fatal error: Call to undefined function register_nav_menus() PHP: What do you suggest? Thank you
open header.php and replace <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> Code (markup): with <?php wp_page_menu( ); ?> Code (markup):
They would be compatible if their authors checked for new functions before using them. It's pretty basic, all you need to do is this: if ( function_exists( 'register_nav_menus' ) ) { register_nav_menus(...); } Code (markup):