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
1answer
42 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
46 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 ...
2
votes
2answers
479 views

Full width layout for custom post type pages

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
65 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
150 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
50 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
65 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
58 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
241 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
23 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
629 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
90 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
60 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
206 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
195 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
89 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
88 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
97 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
2k 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
172 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
54 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 ...
1
vote
1answer
451 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
1k 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
100 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
210 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
158 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
327 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
668 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
130 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
108 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
236 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
46 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
98 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
272 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
26 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
53 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
214 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
103 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
51 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
229 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
49 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 ...
0
votes
1answer
129 views

Sidebar Categories change arrow when subcategories are shown on click

I have an arrow on the maincategory if a particular category has subcategory, iam using jquery animation to slideup, slidedown subcategory. i want to remove previous arrow and replace it with ...
3
votes
1answer
361 views

Display comment form of specific page in sidebar

I want to display the comment form of a specific page on a sidebar. It will look like this roughly. I tried modifying from comments.php and putting it on sidebar.php. But nothing shows up. ...
0
votes
2answers
295 views

Dynamic Sidebar Conditional [duplicate]

EDIT Answer was found here: is_active_sidebar() Always Returns False By user: s_ha_dum I'm dynamically creating sidebars and registering them for every top level page: Dynamically Register ...
1
vote
2answers
88 views

Dynamically Register Sidebars For Each Top Level Page

I have a small website that wants a different sidebar for each page containing blocks of text, blocks of images, and blocks of links, etc. What I'm trying to do is register a sidebar for each top ...
0
votes
1answer
184 views

How to List all Sidebars in a Metabox

I'm trying to add a metabox to every page that is a drop down list of all registered sidebars that is then saved in a custom field. I'm using this metabox class I've gotten as far as this: // get ...
0
votes
1answer
611 views

Wordpress: Apply filter/hook to a particular sidebar widgets?

I'm developing a theme that has more than 5 different sidebars and I want to apply a function to a particular one of them for styling purposes. Basically, the function will modify it's params using a ...
0
votes
1answer
1k views

Dynamic sidebar based on category

I am new to wordpress, i have developed a basic theme to make a tutorial web site, for that i need a dynamic sidebar based on category, suppose, i have category A & B, if user is on the A ...
0
votes
2answers
56 views

What method should I use for a sidebar widget that reads latest posts?

At the moment, I'm building a website for a local NGO and I have the following situation: in the sidebar, I should have a widget that displays the title of the latest editorials from the members of ...