no sidebars, no widgets!
-
In my theme I can’t see the sidebars, I tried to add sidebars . They are not appearing though, not the sidebars. Maybe there is a string to hide them, but I do not know how to deactivate it.
I tried to create a a multi-column, widgitized footer for the theme. Everything is fine apart from the fact that I cannot align or move them as I want. I tried to act on style.css in thousands of way: any idea?
This is in my functions.php:
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebars(1,array(‘name’ => ‘Ajax Login Popup’,’before_widget’ => ”,’after_widget’ => ”,’before_title’ => ‘<h2>’,’after_title’ => ‘</h2>’));
register_sidebars(1,array(‘name’ => ‘Ajax Signup Popup’,’before_widget’ => ”,’after_widget’ => ”,’before_title’ => ‘<h2>’,’after_title’ => ‘</h2>’));
register_sidebars(1,array(‘name’ => ‘Ajax Search Popup’,’before_widget’ => ”,’after_widget’ => ”,’before_title’ => ‘<h2>’,’after_title’ => ‘</h2>’));
register_sidebars(1,array(‘name’ => ‘Blog – Categories Widget’,’before_widget’ => ”,’after_widget’ => ”,’before_title’ => ‘<h1>’,’after_title’ => ‘</h1>’));
register_sidebars(1,array(‘name’ => ‘Blog – Archives Widget’,’before_widget’ => ”,’after_widget’ => ”,’before_title’ => ‘<h1>’,’after_title’ => ‘</h1>’));
register_sidebars(1,array(‘name’ => ‘Sidebar – Right’,’before_widget’ => ”,’after_widget’ => ”,’before_title’ => ‘<h1>’,’after_title’ => ‘</h1>’));
register_sidebars(1,array(‘name’ => ‘Sidebar – Left’,’before_widget’ => ”,’after_widget’ => ”,’before_title’ => ‘<h1>’,’after_title’ => ‘</h1>’));
if ( function_exists(‘register_sidebar’) ){
register_sidebar(array(
‘name’ => ‘my_mega_menu’,
‘before_widget’ => ‘<div id=”my-mega-menu-widget”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ”,
‘after_title’ => ”,
));
}
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’,
));
?> -
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘no sidebars, no widgets!’ is closed to new replies.