Forums

Cannot modify header information etc. Problem after add widgets to functions.php (4 posts)

  1. yozz84
    Member
    Posted 1 year ago #

    in my mod of simplicitybright theme i would like to add a widgets

    in FUNCTIONS.php i paste this:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    but sins then i have worrnings while i try to do new posts or sites like this:

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\WebServ\httpd\aktywni\wp-content\themes\simplicitybright\functions.php:1) in C:\Program Files\WebServ\httpd\aktywni\wp-includes\classes.php on line 1601

    i search in codex but i dont know how to fix this...
    could anybody help me with this ?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. yozz84
    Member
    Posted 1 year ago #

    i try to do this (from your link) but nothing helps...

    whether it could be a problem that I put a widget in the header ?

    like this:
    <?php dynamic_sidebar('menu_top'); ?>

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try switching to the Twenty Ten theme.

Topic Closed

This topic has been closed to new replies.

About this Topic