(The link is a screen capture for you to see the functions.php code spreading into all the admin.)
Getting better:
if ( function_exists( ‘register_nav_menu’ ) ) { register_nav_menu( ‘navigation’, ‘Navigation Menu’ ); }
Warning: Cannot modify header information – headers already sent by (output started at /var/www/clients/client9/web7/web/wp-content/themes/ServiceCulturel/functions.php:3) in /var/www/clients/client9/web7/web/wp-login.php on line 354
Warning: Cannot modify header information – headers already sent by (output started at /var/www/clients/client9/web7/web/wp-content/themes/ServiceCulturel/functions.php:3) in /var/www/clients/client9/web7/web/wp-login.php on line 366
Warning: Cannot modify header information – headers already sent by (output started at /var/www/clients/client9/web7/web/wp-content/themes/ServiceCulturel/functions.php:3) in /var/www/clients/client9/web7/web/wp-includes/pluggable.php on line 693
Warning: Cannot modify header information – headers already sent by (output started at /var/www/clients/client9/web7/web/wp-content/themes/ServiceCulturel/functions.php:3) in /var/www/clients/client9/web7/web/wp-includes/pluggable.php on line 694
Warning: Cannot modify header information – headers already sent by (output started at /var/www/clients/client9/web7/web/wp-content/themes/ServiceCulturel/functions.php:3) in /var/www/clients/client9/web7/web/wp-includes/pluggable.php on line 695
Warning: Cannot modify header information – headers already sent by (output started at /var/www/clients/client9/web7/web/wp-content/themes/ServiceCulturel/functions.php:3) in /var/www/clients/client9/web7/web/wp-includes/pluggable.php on line 897`
You will have replace the functions.php as ones you get parse error nothing will work until you replace theme functions.php
Thank you very much, it’s way better.
But still, there’s something smelling wrong out there… 🙁
http://www.culture.paris-sorbonne.fr/
Looks like the problem lies in your theme.
My header :
[Code moderated as per the Forum Rules. Please use the pastebin]
My functions.php:
[Code moderated as per the Forum Rules. Please use the pastebin]
I followed all tutorials, and still don’t understand why I get this problem.
Looks like you have this code in header.php can you paste the header.php file in http://wordpress.pastebin.com and paste url here.
register_nav_menus(
array(
'header-menu' => __( 'Header Menu' ),
'footer-menu' => __( 'Footer Menu' ),
)
);
function header_fallback() {
echo '<div class="sf-menu-wrapper group"><ul class="sf-menu">';
wp_list_pages('title_li=');
echo '</ul></div>';
}
function footer_fallback() {
echo '<div id="footer-nav-wrapper" class="group"><ul id="footer-nav">';
wp_list_pages('depth=1&title_li=');
echo '</ul></div>';
If this are functions then need to be in functions.php file not header.php