Sidebar does not work
-
Hi,
i dont know how i can display my sidebar in twenty eleven. Long time ago i disable the sidebar but now i dont know how. I need a sidebar only on my start page. Can somebody help me? I write down the sidebar.php
<?php
/**
* Sidebar containing the main widget area
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/$options = twentyeleven_get_theme_options();
$current_layout = $options[‘theme_layout’];if ( ‘content’ != $current_layout ) :
?><!– #secondary .widget-area –>
<?php endif; ?>The blog I need help with is: (visible only to logged in users)
-
The sidebar option in Twenty Eleven is at WP Admin > Appearance > Theme Options.
Or you can add this to your URL:
/wp-admin/themes.php?page=theme_optionsIs your site hosted here on WordPress.com? These forums are for sites hosted on WordPress.com, so if you’re running the WordPress software on your own hosting and need further help with the self-hosted version of Twenty Eleven, feel free to post in its forum at WordPress.org:
https://wordpress.org/support/theme/twentyeleven
You’ll need a free WordPress.org account to post – if you don’t already have one, you can register here:
https://wordpress.org/support/register.php
Be sure to provide a link to your site when you post so people can help you more easily.
- The topic ‘Sidebar does not work’ is closed to new replies.