A Sidebar is a theme feature introduced with Version 2.2. It's basicly a vertical column provided by a theme for displaying information other than the main content of the web page. Themes usually provide at least one sidebar at the left or right of the content. Sidebars usually contain widgets that ...

learn more… | top users | synonyms

0
votes
2answers
49 views

Shortcut to widget/sidebar editing on the admin menu?

We have a sidebar consisting of some text. The client/owner will want to change the sidebar text occasionally. Out of the box he'll have to do this by navigating: -> Admin menu -> Appearance -> ...
0
votes
1answer
41 views

Should I create multiple sidebars, or use or one dynamic sidebar with logic to determine it's abilities?

I am wondering what the standard procedure for Sidebars in WordPress. My theme needs to have 3 different types of sidebars, to be used on three different pages. I am wondering if I should create a ...
0
votes
1answer
29 views

register_sidebar 'after_widget' on custom-built widgets not implementing, caused nested widgets

In registering my sidebar I want each widget wrapped in <aside>. This works fine when using the inbuilt widgets like Calendar or search, however, when I add widgets I have created myself, the ...
0
votes
0answers
443 views

Load more posts (Ajax) in tabbed sidebar on single.php

I'm trying to use this approach http://wordpress.stackexchange.com/a/56349/18144 to create a 'load more' button in the sidebar on single.php. I would like to able to load more posts in a sidebar tab ...
0
votes
1answer
113 views

Twenty Thirteen get_sidebar Question

I've been looking at Twenty Thirteen's code structure and thought I could learn a thing or two about theme development. There's something that I haven't found an answer to: Twenty Thirteen's widget ...
0
votes
0answers
37 views

How can I get the sidebar id on the current page?

How can I get the sidebar id on the current page? The question is simple. I have looked at is_active_sidebar(), is_dynamic_sidebar() but they don't provide the info that I need.
0
votes
1answer
138 views

“Theme without sidebar.php is deprecated”

I'm building a custom wordpress theme. When I turn on debug, I get this message: Notice: Theme without sidebar.php is deprecated since version 3.0 with no alternative available. Please include a ...
0
votes
1answer
30 views

How to use full length of the upper part of the content and below of it is a content with a sidebar?

Can anyone help me with my problem although its simple but I'm just newbie in wordpress? Right now I'm using the default template of the theme with sidebar. So what I want to happen is above the ...
0
votes
2answers
43 views

Adding Sidebars in WordPress Theme

Can anyone help me on how to add two sidebars on the main page of my WordPress site. I need one on the left and the right. I'm new to WordPress and don't know much about the code, even when I tried ...
1
vote
1answer
196 views

How to hide a widget area on a specific page

I'm trying to remove a widget area called 'Primary' from a certain page on a site. This is the function where I manage the sidebars: //ADD CATEGORIES IN SIDEBAR OF SINGLE POST TYPE add_action( ...
0
votes
0answers
49 views

How to Remove Sidebar when get_sidebar() is not get called in page?

I see in my WordPress theme, there is no call of get_sidebar() in single.php etc. but sidebar comes. Here it is telling about customizing based on get_sidebar(). I want to use get_sidebar() to ...
0
votes
1answer
28 views

Common side bar for multiple websites

I have 5 WordPress sites and each site should have the same sidebar content. It is dynamically posted from userend and it should be common to all my WordPress sites. Without using iframe, how can I ...
0
votes
1answer
83 views

display most popular tags in two columns

I have a section in my sidebar where I'd like to display my most popular tags in two columns. I found this post from WPSnipp that details how to narrow your list down to only the most popular, however ...
2
votes
2answers
47 views

Advice: Template structure - php blocks in sidebar or someting else?

I'm trying to create certain modulair blocks which I can add to multiple pages in Wordpress. But I use sidebar-[name].php files for this, what is the best practice for this? Should you add them to a ...
0
votes
2answers
58 views

get value from post to sidebar

I have the following div in my post, <div class="my_calss" id="my_id"> my content </div> Here, my_id is different for each post. I need to display my_id in sidebar into php code. ...
1
vote
2answers
54 views

Post-ID in url differs from $post->ID

I've got a page with a blogroll in the left column and a sidbar in the right one. When I try to retrieve the page-id inside of the sidebar like: echo $post->ID; echo get_the_ID(); The result is ...
0
votes
2answers
98 views

How to add banners in sidebar of my theme [duplicate]

I am new to word press. I need to add 2 banners in my right side bar. Could you help me?? How can I do it?? What is the code which I have to insert in a text widget? I am using zeesynergie theme. ...
0
votes
1answer
14 views

Variable not working in sidebar loop

I have variable working in the loop of my homepage, but when I try to use that line $variable = $post->post_title; $variable = str_replace( ' - ', '<br />' ,$variable); echo $variable; in ...
0
votes
1answer
288 views

is_active_sidebar() Always Returns False

I've never gotten is_active_sidebar() to work, no matter if there's widgets in the sidebar or not I always get false returned. Currently I'm creating a sidebar for each top level page: ...
0
votes
1answer
74 views

register_sidebar_widget is deprecated since version 2.8

I have an elderly WordPress theme that I am trying to bring back up to date. I am stuck on the following snippet... if ( function_exists('register_sidebar_widget') ) ...
0
votes
3answers
57 views

How to exclude a widget from showing up on a page?

I have a widget that appears on my sidebar throughout my website. I have a page where I don't want this widget to show. How would I go about doing this without installing a plugin and instead doing ...
0
votes
2answers
132 views

2 dynamic sidebars registered, not showing up

My intention is to have a left and right sidebar on each page. I've registered both of them, implemented my desired widgets, and yet something isn't quite right. The left sidebar (sidebar(1)) loads ...
0
votes
1answer
125 views

Woocommerce product info in a sidebar?

I'm having a terrible time trying to figure this out. On the single product page in woocommerce, I need to add a sidebar and move the product "summary entry-summary" into that sidebar. Leaving just ...
0
votes
1answer
66 views

Sidebar does not display on blog page, but fine with static pages

Please help as I am loosing my mind with this issue. I built my first really simple wordpress theme. http://www.designstest.co.uk/ For NEWS (blog) page I created a new template page-blog.php (based ...
-1
votes
1answer
68 views

Mystique theme: widgets on sidebar falling under the page content

I'm using the default two columns layout of the Mystique theme. If I insert widgets into the main sidebar from the dashboard, instead of being showed aside in the page, they fall under the post (even ...
1
vote
1answer
71 views

How are Dynamic Sidebar Widgets rendered

I have been reading through the Wordpress Source, trying to get a better understanding of how dynamic sidebars are rendered. However, I am hitting a sticking point... 894 | do_action( ...
1
vote
2answers
914 views

HowTo: Add Class to Sidebar Widget List-Items

The newest version of Bootstrap (v3.0) adds a new List Group component which has the following structure: <ul class="list-group"> <li class="list-group-item">Cras justo odio</li> ...
0
votes
1answer
125 views

My custom widget won't stay in the widget area after I refresh the widget page

As the title says, i've been developing a simple image rollover widget, now that I'm almost done, the widget won't stay in the sidebar areas after I drag and drop it in and refersh the page, any idea ...
1
vote
2answers
44 views

How can I inject html after the [x]th widget inside a Sidebar? [duplicate]

I can't provide you with any code since I not really know where to start. I like to add some programmatically created widgets (or just html) after the 1st Widget inside my sidebar. Right now I have ...
0
votes
1answer
256 views

How to “pair” two widgets side by side in one sidebar

Currently I use the Pinboard theme with 2 sidebars. In each sidebar I place one kind of widget several times. The point is that 2 widgets of a row (1 of each sidebar) belong together regarding the ...
0
votes
2answers
712 views

Custom Sidebar only on single post

I am developing a child theme for the new twenty thirteen theme and I am trying to add a sidebar (widget area) next to my content. I only want it to display in single posts. What I did: edit ...
0
votes
2answers
48 views

Change a sidebar name?

I'm using a child theme created from a twenty-twelve theme, the theme packs a number of sidebars one which is called "Main Sidebar". Is it possible to change it's name to something else?
0
votes
1answer
163 views

Wordpress category specific months list in sidebar.php

What have made me pulling my hair apart for while, how to output category specific month list. 've been searching for the same problem and solution cannot find any lucky so far... Anyway, I have two ...
-1
votes
1answer
152 views

Subpages menu on sidebar plus widgets

I'm a newbie, using WP 3.6. On a custom theme I've put a subpages menu on a sidebar using "wp_list_pages". On the same sidebar under the subpages menu I'm trying to add some WP built-in widgets ...
0
votes
0answers
229 views

is_home() and is_front_page() not working in sidebar

I'm trying to display a custom widget in the sidebar of my homepage (which is a static front page defined in Settings > Reading). Here is the relevant part of my sidebar.php: if ( is_front_page() ...
0
votes
1answer
432 views

WordPress two sidebar layout or theme

I am new in WordPress. I was working with Drupal for some days, before. Now, I am interested on WordPress. So, I am trying to learn it. My problem is, in WordPress I did not find any two sidebar ...
1
vote
1answer
100 views

How do you List all Sidebars in a Metabox

I know this question has been answered many times before, including here where i came from so it'll probably be real simple. I've registered my sidebars as normal function wmw_sidebars() { // ...
1
vote
1answer
92 views

How to show a dynamic_sidebar if main content content's height is > a set amount?

I'm looking to add a second dynamic_sidebar to a theme's sidebar.php that will only be displayed if the height of my main content area is greater than a certain amount. If I had some magic hybrid of ...
1
vote
1answer
208 views

How to make this menu drop down or like accordion

I am using sitesmile auction theme. Here is my working site. In home page there is a sidebar saying "Browse by Categories". I want to make this menu as drop down or like accordion. Whenever the user ...
0
votes
0answers
48 views

Show Sidebar to the Left of Archive / Category Template

I have followed this thread: Show Secondary Sidebar on Category pages (archive) to create a secondary sidebar on the category pages. Rest of the blog posts/pages do not have secondary sidebar. ...
0
votes
0answers
39 views

Automatically hide Widgets that would lengthen page

Something I've been dreaming about ever since I started using CMS's for making websites. I've settled on WP now, so hence I'm asking here. I conditionally hide widgets on certain pages that are very ...
0
votes
0answers
84 views

How to manage a 200 sidebars website? widgets.php page is way too slow!

I'm using a plugin called "Simple Page Sidebars" (http://wordpress.org/extend/plugins/simple-page-sidebars/) to manage the sidebar of pages. The problem is that now, I have more than 200 sidebars in ...
0
votes
1answer
149 views

Decrease white space between sidebar widget title and graphic

I am new to all of this, so sorry if this has been discussed. I am looking for a way to decrease the white space between my sidebar widgets, especially between the titles and then the pic. ie. "my ...
0
votes
0answers
25 views

My side bar is missing from new pages.

Really not sure what is going on here. First tried creating a new page with "Default Template" - Header and Footer look good, but no sidebar. I then decided to create a custom page template: ...
0
votes
1answer
49 views

Additional Sidebar

Hi I wanted to create extra sidebar in my theme and I am not sure if what I did is correct. In my theme functions.php I found this function: function blankslate_widgets_init() { ...
0
votes
1answer
159 views

Show Secondary Sidebar on Category pages (archive)

My site has the following structure where one column is for the main content (articles) and the other one, on the right, is for the sidebar (primary sidebar). The theme allows me to change the layout ...
0
votes
1answer
91 views

how to exclude posts on current page from recent posts sidebar widget

I am using Wordpress 3.6. I would like to exclude posts on any given current page from appearing in the recent posts sidebar widget. I haven't been able to find a custom widget that has that option. I ...
0
votes
1answer
39 views

Change /add items in menu on the inner sidebar

I have a home sidebar menu of items and I need to add an item (post) so it displays. There is no add button availalble. How do you add another post so it shows on the home inner sidebar menu list
2
votes
2answers
178 views

Add class to before_widget for all widgets with a dropdown and a counter

Some predefined widgets offer the option to use a select element (dropdown) and/or a counter after each entry. How can I add the CSS classes widget-with-dropdown or widget-with-counters to these ...
0
votes
0answers
45 views

sidebar - widgets versus code - options

I decided to use Widgets in my sidebar on the advice of another designer who thought the site would take too long to load if I used the images I'm using for titles and branding. I'm dissatisfied with ...