WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] widget (8 posts)

  1. morene
    Member
    Posted 1 year ago #

    hi, i have been using theme twenty twelve and i want to have main sidebar and First Front Page Widget Area + second Front Page Widget Area on every page of my website. could somebody help me how should i do it? thanks a lot. monika

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    This will help you create footer widgets for Twentytwelve
    http://wordpress.org/support/topic/theme-twenty-twelve-footer-widgets

    It doesn't do what you asked for, it creates new set of widget area inside the footer.

    I suppose doing this is better than enabling those 2 front footer widgets that come with the theme's front page template, because creating new is better than overriding CSS that already set specifically for front page.

  3. morene
    Member
    Posted 1 year ago #

    hi, thanks. i tried to make it, but i have made a mistake somewhere because now when i want to open my side a canĀ“t. i get message: Parse error: syntax error, unexpected '<' in /data/web/virtuals/37152/virtual/www/wp-content/themes/twentytwelve/functions.php on line 204
    please do you know, how can i fix it? i found this side

    https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentytwelve/functions.php

    and tried to correct line 204, but it was good. please, do you know what should i do. thanks

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Download a new copy of twentytwelve and replace the functions.php file with a new copy - via FTP or other file manager your host uses.

    You should NEVER be modifying default theme files - but rather using a Child Theme instead - see:

    http://codex.wordpress.org/Child_Themes

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    A bit of clarification - download the new copy of the theme to your local computer - and then you'll upload the new functions file using FTP or other file manager.

  6. leejosepho
    Member
    Posted 1 year ago #

  7. paulwpxp
    Font hero
    Posted 1 year ago #

    Login to your webhost via SFTP, or FTP, or cPanel.

    Navigate to this folder

    wp-content/themes/twentytwelve/

    Look for this file inside that folder

    functions.php

    Replace that file with this file
    http://themes.svn.wordpress.org/twentytwelve/1.1.1/functions.php

    Or go to this page
    http://wordpress.org/extend/themes/twentytwelve

    and dl the whole theme, unzipped it, get that functions.php and upload to replace that one in the server.

    When you got your site back, now make changes only to child theme.

  8. morene
    Member
    Posted 1 year ago #

    thanks a lot to everybody for yours help. Now everything works fine

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic