Widgetready foot
-
Hello
Can someone tell me how to create a widgetready footer?
-
Here are some guides to adding new widgetized areas to a theme:
http://codex.wordpress.org/Widgetizing_Themes
http://www.dummies.com/how-to/content/add-widget-areas-to-your-wordpress-template-files.html
Normally, to make that sort of modification would require creating a child theme and making modifications to the theme files.
In your case, since Lovebirds is already a child theme of Ever After, that rules out being able to create a child theme.
This means that any edits to your theme files will be overwritten when you update the theme, and you’ll need to redo them, so please be warned. π
If you really need a footer area you may be better off with a theme that already has one, or a theme that’s not already a child theme of another parent.
Just let me know if you have any questions about this.
in functions.php of Lovebirds…. the last part is:
/**
* Deregister footer sidebars
*/function lovebirds_remove_sidebars() {
unregister_sidebar( ‘sidebar-2’ );
unregister_sidebar( ‘sidebar-3’ );
unregister_sidebar( ‘sidebar-4’ );
unregister_sidebar( ‘sidebar-5’ );
}
add_action( ‘widgets_init’, ‘lovebirds_remove_sidebars’, 11 );Doesn’t this mean that footer sidebars are disabled?
i’ve tried to ad a widget in the footer, a couple a days ago but the whole theme crashed so i had to start over….. now i don’t dare to try it again…
Thanks anyway for your respons
That’s a good find! I hadn’t gone as far as looking at the functions file, but you’re absolutely right. π
If you comment out that function like this:
/** * Deregister footer sidebars function lovebirds_remove_sidebars() { unregister_sidebar( 'sidebar-2' ); unregister_sidebar( 'sidebar-3' ); unregister_sidebar( 'sidebar-4' ); unregister_sidebar( 'sidebar-5' ); } add_action( 'widgets_init', 'lovebirds_remove_sidebars', 11 ); */
That’ll reactivate the widgets in your dashboard, but not on the theme’s front end.
For that you have some options.
You can paste the widget part of Forever’s footer.php code into Lovebirds’ footer.php. Or you could remove Lovebirds’ footer.php altogether to let the template from Forever take over.
Big warning: please remember that all these changes you’re making to the theme files will be overwritten and lost if a new version of Lovebirds is released and you update it on your site. Be sure to make a backup if you update so you can redo all the changes in the new files.
I’m sorry…. i am dutch so english is not my native language…
what do you mean by:
If you comment out that function like this:Removed all this code – please use Pastebin for large code blocks: http://pastebin.com/
What do i have to change for it to work?
Sorry I wasn’t clear enough. π
Here’s the original function:
/** * Deregister footer sidebars */ function lovebirds_remove_sidebars() { unregister_sidebar( 'sidebar-2' ); unregister_sidebar( 'sidebar-3' ); unregister_sidebar( 'sidebar-4' ); unregister_sidebar( 'sidebar-5' ); } add_action( 'widgets_init', 'lovebirds_remove_sidebars', 11 );
Here’s the revised function, including the change you need to make:
/** * Deregister footer sidebars function lovebirds_remove_sidebars() { unregister_sidebar( 'sidebar-2' ); unregister_sidebar( 'sidebar-3' ); unregister_sidebar( 'sidebar-4' ); unregister_sidebar( 'sidebar-5' ); } add_action( 'widgets_init', 'lovebirds_remove_sidebars', 11 ); */
What I did was move the closing comment tag – */ and put it after the function, instead of after the comment. What this does is “comment out” the function, which deactivates it.
Hi Kathryn
First of all, i want sincerely to apologize for my very late response.
Due to personal circumstances i totaly forgot this thread.Thank you for your comments and help sofar.
I followed through your advices and all went almost well.After adding widgets to the footer… and adjusting footer.php …
the widgets are not shown with the width of my blog but in full width mode in my resolution (1600×900)Could you please tell me what i need to do more to get the widgets in the right place?
Thank you!!
No worries!
I’m not seeing any widgets in your footer – this is the code that’s being output on this site: http://melodymusic.nl/
Is there another site you’re working on?
<footer id="colophon" role="contentinfo"> <div id="site-info"> <a rel="generator" title="A Semantic Personal Publishing Platform" href="http://wordpress.org/">Proudly powered by WordPress</a> Theme: Forever by <a rel="designer" href="http://theme.wordpress.com/">WordPress.com</a> . </div> </footer>
Hello Kathryn
Thank you!!
That you couldn’t see any widgets in the footer is correct.
There are none at the moment…I placed some widgets in the footer… and they showed up in full width (my resolution beeing 1600 x 900) and not in the width of my blog (1000px) …so i removed them and placed them back into the sidebar until i would know what to do about it.
What to do to make the widgets visible in the footer, besides eachother within the width of my blog… instead of full-width and beneath eachother?
Greetings
Hi Melody, did you manage to figure this out by adding a different width to your footer area? Your footer widgets look good now. π
Hi Kathryn…… sadly enough, no.
yesterday i’ve chosen another theme wich included footerwidgets from itself.
I’ve spent so much time in figuring out how to get it like i want but i didn’t succeed so i gave in.
I’ve used theme Lovebirds multiple times, maybe i turn back to it someday but for now i am satisfied with the theme i use now.
Thank you for your patience and help sofar.
Hey presently my Semprul theme page includes things like no categories,Log in, Entries RSS, Comments RSS, WordPress.org. I want to remove these so that it looks simple i.e. the Home, About etc tabs to appear right below blog title without these things in between.Please help. No one has replied yet. Hence I posted this here.
This thread is about theme Lovebirds
You prefarbly should start a new thread and name your site-url aswel the theme you’re using….
What is your url and wich theme are you using?
yesterday i’ve chosen another theme wich included footerwidgets from itself.
Sounds like a good route, especially since Lovebirds is a child theme.
Thank you for your patience and help sofar.
You’re most welcome! Glad you found a theme that works for your needs.
Thank you Kathryn… have a nice weekend.
- The topic ‘Widgetready foot’ is closed to new replies.