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
4answers
2k views

How to create another sidebar to be shown on another page?

I've created my wordpress theme from the default Twenty Eleven theme, and I want to show a different sidebar on a few pages. I found this tutorial but it really doesn't answer my question. So, I ...
1
vote
3answers
1k views

Show featured image in sidebar

I'm adding a widget on my sidebar but the Featured Image isn't shown. this is the code of my side bar: <?php /** * The Sidebar containing the main widget areas. * * @package PowerMag * @since ...
0
votes
3answers
84 views

Changing sidebar.php and footer.php depending on URL

I posed a similar question a few days back, but perhaps I put the question a bit incorrectly. I would like my footer.php and sidebar.php to change depending on the URL. If URL contains /ru then show ...
3
votes
2answers
583 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( ...
3
votes
2answers
412 views

Sidebar Generator issue

I hope this doesn't come across as very dumb (to some extend it is, however), but I am having a hard time dealing with the Sidebar Generator. In the description it is stated that "Now supports themes ...
1
vote
2answers
65 views

Unregistering a Sidebar in Child Theme

I'm working with a handy responsive theme framework (Reverie) and I'm developing my own theme the right way using a Child theme. The Parent theme calls a sidebar called with an ID of 'Footer' and ...
1
vote
2answers
36 views

author list not linking to correct page

I have an odd problem with the author list. I am using the below code in my sidebar to pull in the gravatar and link to author's profile. However, the links it's actually generating are wrong. It just ...
0
votes
2answers
54 views

How to determine if the sidebar is empty? Or not active?

I used is_sidebar_active('NameOfSidebar'), but it seems not working. It returns false all the time. I wanna have a condition that goes like this if('sidebar is not active'){ //must not display the ...
0
votes
2answers
282 views

Change HTML structure for custom menu in sidebar

I've been digging for documentation on how to change HTML output for the "Custom menu" which you place in optional widget. So its clear what I meen I have attached an image of the widget block here: ...
0
votes
2answers
99 views

How to use get_sidebar in plugin folder?

I've created the plugin that adds custom post type and custom taxonomis for this post type. Templates for the post type and the taxonomies are located in plugin folder. Now I need to add sidebar for ...
0
votes
2answers
114 views

creating single page with 2 columns while theme is 3 column

I am using Diapason theme , which gives me an option for both 2 column or 3 columns...My requirement is 1:- all pages except home page (static) should have 3 columns 2:- Home Page should have two ...
0
votes
2answers
92 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
2answers
70 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. ...
0
votes
2answers
42 views

user definable sidebar per page

I'm searching for a solution where the user can define some sidebar widgets for himself (only text and images). The user should have the possibility to choose a different sidebar for a different page. ...
0
votes
2answers
2k views

How to edit contents of dynamic_sidebar()?

I know PHP well but I'm new to Wordpress. I got an incomplete Wordpress website. It has a static home page with an Aweber newsletter form. I tried digging into installed theme and in home.php I came ...
0
votes
2answers
3k views

How do I make the sidebar bigger in twenty twelve?

I am new to WP with little knowledge of code. I am using Twenty Twelve and have managed to create a child theme (minus the header image for some reason). One of my widgets does not fit into the ...
0
votes
2answers
2k views

Conditional tags issue for multiple is_page() conditions in sidebar.php

I've been pulling my hair out today trying to get this right. Basically I have a sidebar, which makes requests to individual files (such as sidebar-home.php, sidebar-residential.php) and different ...
0
votes
2answers
299 views

Conditionally exclude post from specific category on home page sidebar?

I want to exclude posts from one category. These posts should not show in the sidebar on the homepage only when I explicitly don't want that particular posts to show. In all other cases these posts ...
0
votes
1answer
25 views

Display post format post in the sidebar

I am trying to pull posts with the post-format of "quote" on my sidebar. I'm getting the code to spit out the else statement but that's about it so far. I am working in the roots theme if that helps ...
0
votes
1answer
22 views

Include inside sidebar

Is it possible to include a file inside or inbetween items in a sidebar? Here are the two functions being called: <?php get_sidebar(); ?> <?php get_template_part('testimonial-box'); ?> ...
0
votes
1answer
44 views

Calling dynamic_sidebar in plugin gives error

I am trying to call dynamic_sidebar from a plugin page. Whenever I do so, it returns a white page! Any idea why? What I am trying to do is to save the total sidebar output in a transient. I can get ...
0
votes
1answer
61 views

Adding Multiple Images to Sidebar Through Dashboard

I have a sidebar with 3 images hardcoded. I'd like to make it so you can change these through the WordPress dashboard. What's the easiest way to accomplish this? Using a plugin, custom post type? ...
0
votes
1answer
51 views

Same sidebar in all posts as in the category

I've made an option of creating unlimited sidebars, then there is an option to select any desired sidebar from a select element, which is a custom meta field, in each category edit page. So far so ...
0
votes
1answer
95 views

New checkbox in custom widget isn't saving data

I'm trying to develop my own widget. Mostly cause I want to understand Wordpress functionality (yes I'm completely new. First ever try to extend wordpress) I want to add a function to display post ...
0
votes
1answer
37 views

Creating a Playlist of Widgets

I'm trying to create a specialized theme that would enable users to show a playlist of widgets in their sidebar. By playlist, I mean that each widget in the sidebar would follow a specific schedule. ...
0
votes
1answer
81 views

How to display only some widgets of a sidebar?

I would like to break up a sidebar over three containers. Each container should hold up to three widgets of the sidebar. Therefore, I need to find the HTML for only the widgets 0 to 2, 3 to 5 and 6 to ...
0
votes
1answer
26 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
239 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
103 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 ...
0
votes
1answer
251 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 ...
0
votes
1answer
56 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
111 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
71 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
0
votes
1answer
22 views

Placing video content into a sidebar

I'm trying to figure out how to place video from a post (category video) into a sidebar. I can get other content content images and text to show, I'm guessing it has something to do with post format? ...
0
votes
1answer
66 views

Default widgets assignment - isn't working

The question is regarding, calling the default widgets into the sidebar[s]: So, despite the solution given in THIS THREAD, I tried a different way - Ian Stewart's borrowed solution given HERE. It's ...
0
votes
1answer
80 views

How to display a sidebar only for blog?

I have 2 sidebars(primary and secondary). I want the secondary sidebar to display only on the blog page and primary sidebar to display everywhere else except for the blog page. What have I tried: In ...
0
votes
1answer
169 views

Sidebar not showing up on homepage

I am using the Nameless Child Theme for Wordpress. My sidebar is showing up on all other pages except for the home (blog posts) page which is the most important page for it to show up on. My site is ...
0
votes
1answer
154 views

Custom sidebar not showing in the dashboard

I am trying to create a new sidebar. For that I have used the following code: In functions.php if ( function_exists('register_sidebar') ) register_sidebar(); if ( function_exists ...
0
votes
1answer
190 views

Show or hide custom menu widget in side bar conditionally

I have been trying and searching to accomplish this. I have the "custom menu" widgets "Members Area", "Admin Area" in side bar, assigned menus to them. Fine, they display. I want to show "Admin Area" ...
0
votes
1answer
98 views

How do I display the next 3 posts in the sidebar?

I'm building a simple "company news/press release" site. We'd like to display the latest five post excerpts on the home page with the next three post titles (six through eight) and a single "Archives" ...
0
votes
1answer
65 views

Sidebar not visible after changing to new domain

I made a change of my existing domain to new domain. I took the backup of the database from old site and imported it into new database Used the search and replace widget to replace the old url with ...
0
votes
1answer
439 views

Display category-specific comments in sidebar

I'm trying to display comments in the sidebar from only the current category. So far I've got this: <?php // Posts per page setting $ppp = 8; //get_option('posts_per_page'); // either use ...
-1
votes
1answer
119 views

Add a twitter feed to my Wordpress website

My website is WilsonsTransportation. On the left hand side of my site we have "testimonials" scrolling down. I've located the coding for that in my custom theme under page-home.php. I was hoping to ...
-1
votes
1answer
213 views

ReadWriteWeb-like sidebar scrolling

Does a Wordpress plugin exist that allows one to have a sidebar that scrolls unevenly with the main content section for posts / pages that are longer than the length of the sidebar? I saw this on ...