This will help you create footer widgets for Twentytwelve
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.
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
and tried to correct line 204, but it was good. please, do you know what should i do. thanks
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:
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.
i tried to make it, but i have made a mistake somewhere
As mentioned here:
Go to here:
and download this Twenty Twelve Child Theme:
Login to your webhost via SFTP, or FTP, or cPanel.
Navigate to this folder
Look for this file inside that folder
Replace that file with this file
Or go to this page
and dl the whole theme, unzipped it, get that
functions.phpand upload to replace that one in the server.
When you got your site back, now make changes only to child theme.
- The topic ‘widget’ is closed to new replies.