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
325 views

Display smilies in Sidebar, too?

I want the smilies to be generated in my sidebar (where it shows the recent posts, comments etc.) and not being displayed as text only. I've been searching through the Wordpress Codex, Google and ...
1
vote
2answers
868 views

Why does the TwentyTen Theme sidebar <ul> have a class called 'xoxo'?

Why is the CSS class called 'xoxo'? What does it mean?
1
vote
3answers
1k views

change sidebar or just widgets for 2 specific post type single posts

I would like to show a different sidebar for 2 specific posts(same custom post type). I understand how to do this using separate templates for different pages, but I want to have it all happen in the ...
0
votes
1answer
426 views

activate custom sidebar widgets

Hey guys I'm trying to activate a sidebar for wp widgets. So my HTML looks like this: <aside id="leftSidebar"> <section> <h3></h3> <div ...
0
votes
1answer
266 views

Disappearing Widget Text area

I recently encountered a strange thing for the first time with Wordpress...all of my text boxes in every widget sidebar disappeared! Other widgets are still there. Has this happened to anyone else? I ...
0
votes
2answers
79 views

Sidebar not displaying on custom-page.php

Ok, I registered a new sidebar and have added some functionality to my theme so you can choose which sidebar to display from the back-end (using meta fields). It's working on all pages, except on a ...
1
vote
2answers
18k views

Display a specific dynamic sidebar widgets on a specific page

I have had a wordpress site handed off to me halfway through completion. It's been at least a year since I last used wordpress and there are a lot of things I'm finding different. The way I am used to ...
0
votes
1answer
327 views

Select a Sidebar from Page Creation

I'm building a WP site that needs to have the ability for unique widgets on a per-section basis. I've built out the page structure of the site, then built the sidebar structure of the site. It goes ...
7
votes
2answers
7k views

Give Editor Access To Sidebar

I want to give the Editor Role access to editing the sidebar and it's contents. I have a text widget in there and in order to edit this text widget the user needs to be an admin - this sucks. How do I ...
1
vote
3answers
1k views

if statement in sidebar.php checking page id or template or title

I have the following code in my sidebar.php file: <ul class="list-posts"> <?php $lastposts = get_posts('numberposts=5&orderby=date&cat=-52'); foreach($lastposts ...
2
votes
1answer
740 views

Duplicate and alter sidebar for Twenty Eleven

I'm trying to create own template including submenu instead of the regular sidebar in Twenty Eleven. Although I manage to create and select my new template the page ends up with bad CSS. Here is ...
0
votes
1answer
539 views

how to add the same Widget twice to a sidebar?

I have a sidebar and would like to fill it like this: [Text] [Some other Widget] [Text] but I can add the Text widget only once to the Sidebar. What can I do to be able to add it more than once?
38
votes
4answers
13k views

Programmatically add widgets to sidebars

I would like to programmatically add widgets to my two sidebars that I've got. I couldn't find any official way of doing it? I started looking in the database. I've found that it's the ...
1
vote
2answers
5k views

Get custom field values into the sidebar/widget?

I haven't seen this done, but I want to return the custom field values outside of the loop in the sidebar.
0
votes
1answer
57 views

Is it possible to display my theme sidebar in wordpress admin?

I'm trying to create sidebar in my wordpress admin. This is because I'm trying to make my wordpress admin look like my front end. My front end theme has sidebar in the right side. So i would like to ...
0
votes
4answers
1k views

Display Custom Taxonomy in Sidebar in Two Columns

I have a custom post type (photos) with a custom taxonomy (categories) and I'd like to display the taxonomy list in my sidebar in two columns. I have a modified snippet that I found elsewhere to do ...
0
votes
1answer
1k views

Display X images from a gallery in the sidebar

I've been hunting around for a day for this answer and thought I should turn to StackExchange in the hopes someone has an aswer. My goal is to display X images (for example, 4) in the sidebar of this ...
0
votes
1answer
426 views

How to attach sidebar to shortcode's output?

I have one shortcode that should be always next to the sidebar: // [shortcode] otuput | default sidebar My theme allows me to set different sidebars for each page. So I have sidebars on a few ...
0
votes
2answers
53 views

custom filed from post in the side bar

I have a custom field in my post called fb_name. I need to be able to get that field name outside of the loop in my sidebar. How can I accomplish this?
0
votes
1answer
237 views

Sidebar missing from Homepage

The home page displays the sidebar below the rest of all the latest posts, leaving a vacant sidebar area for the majority of the (long) page. The sidebar displays fine on any single post. My ...
1
vote
3answers
1k views

How to show my sidebar in specific page only?

I would like to show a plugin in a specific page's sidebar only. For Example: I have the pages like .. home about us sub page 1 sub page 2 sub page 3 sub page 4 UPdate: i want to show, ...
2
votes
1answer
1k views

How to show post(excerpt) from specific category on wp page?

I need this on 3 pages, all 3 from different categories, and then to show several post excerpts from all 3 categories in sidebar of home page.
0
votes
1answer
739 views

Show 10 latest posts only from users with contributors role

How to achive this in sidebar.List of 10 latest permalinks(post titles) from contributors ?
2
votes
2answers
251 views

Worpress twenty eleven sidebar on Pages

I am using 2011 theme, any how I managed to get sidebar on single.php pages by installing child theme, But now I want sidebar on pages, How do I get it?
2
votes
2answers
4k views

how do I get_sidebar into a varaible?

I want to get a sidebar and save it in a Variable, This is impossible with the get_sidebar function since it simply prints out the sidebar, is there another function that I can use?
0
votes
3answers
125 views

Remove Sidebars from page

If I wanted to remove 1 or more sidebars when a certain page is called what is the best way to go about doing that?
3
votes
1answer
2k views

dynamic_sidebar not rendering sidebar

I have the following code // in functions.php register_sidebar(array( 'before_widget' => '<section>', 'after_widget' => '</section>', 'before_title' => '<h3>', ...
0
votes
1answer
519 views

Latest 5 post excerpts from 5 different authors in Sidebar

I'm attempting to display the latest 5 post excerpts from 5 different authors in my blog sidebar. Below is the code I'm using which I tweaked from this thread: Find most recent authors So far, I've ...
1
vote
2answers
184 views

sidebar isn't showing, what's wrong w/ this code?

Here's what I have in my sidebar.php: <aside id="sidebar"> <?php if ( is_user_logged_in() ) { echo '<a href="/community"><img id="visit-the-forums" src="'. ...
0
votes
1answer
144 views

How to send data to sidebar?

I have a sql database of historical events, I would like it to post data into the sidebar area of a wordpress site. As I am very new to it I do not have any idea how to proceed. I would be thankful if ...
2
votes
3answers
494 views

wordpress widget textbox in the sidebar

I have a normal textbox widget that I am using in certain sidebars. The text widget generates a div within a ul. Is there anyway to make the widget generate another ul li instead? ...
2
votes
1answer
996 views

WordPress Widget multiple use

I created this widget using a simple example on WordPress Codex: <?php function widget_container_latest_posts() { global $wpdb; global $post; ...
1
vote
2answers
477 views

adding multiple sidebars on pages

I am using twentyten theme and I want there to be two sidebars on my page - one on the left and the second on the right. Can any one tell me how to do that?
0
votes
1answer
106 views

changing the style of sidebar

I am just a newbie in wordpress.I want the colour of the sidebar widget will be different in different pages. As the id and class are both same in every pages don't know how to change that.Is there ...
0
votes
2answers
297 views

How can I detemine the parameters needed by the_widget()?

I'm working with an old (now unmaintained) widget, which only allows one instance. Since I want to have a different sidebar on the homepage and I want this widget on both sidebars, I figure I need to ...
3
votes
1answer
1k views

Getting an ordered list of tags - via wp_tag_cloud or not?

I'm trying to output an ordered list of the top five tags for my site into the sidebar. At the moment, I'm using wp_tag_cloud like this to get it to output a nice <ul>: ...
0
votes
1answer
583 views

List all sidebars in metabox

I'm trying to add a metabox to select a sidebar per page. In order to create the metaboxes I use this class The construction is fairly easy: $meta_boxes[] = array( 'id' => 'sidebars_side', ...
14
votes
4answers
4k views

Limit number of Widgets in Sidebars

If I use a custom widgetized area (for example footer) where there is only a limited number of spots for widgets (by design), can I limit the number of widgets the user may include in that specific ...
0
votes
1answer
658 views

Widget's container?

I have some custom-made widgets: echo $before_widget; if ( $title ) echo $before_title . $title . $after_title; echo $output; echo $after_widget; Let's assume the $title is "Widget's ...
0
votes
4answers
6k views

How to translate month names in “Archives”

How can I modify month names in "Archives" in my blog? I would like to translate english month names into my mother tongue. I'm using the english version of wordpress 3.1.3
0
votes
1answer
177 views

Filter Text from sidebar widget?

Hey guys, I'm using a calendar plugin that provides a sidebar widget to show current calendar dates. However this widget always shows N/A if I don't set a category for a specific event. Any idea how ...
0
votes
1answer
119 views

sidebar troubles, taxonomy trouble

can you help me with two things : i have different movies, to classify into different "genre", should i use "taxonomies" or the already built in "category"? is taxonomy more appropriate in this ...
2
votes
3answers
4k views

How to exclude parent category but show child categories?

I figured out how to exclude the current post from displaying in my single-post view sidebar, but now I want to exclude parent categories and display only children. Any ideas how to do this? Much ...
1
vote
1answer
239 views

Custom random quote widget breaks when used in multiple sidebars

I've created a custom widget and placed it in functions.php. You can see the widget here: http://pastebin.com/3uWpeaFx (I've also created a similar widget that grabs a random image; it's included ...
1
vote
1answer
86 views

WP for main site and two blogs - implementation

I'm working on an open-source software project and hoping to move and combine some disparate sites that it's on. Currently there is a main info/code site. Then there are two blogs for implementations ...
3
votes
2answers
2k views

Override dynamic_sidebar() in plugin?

I'm writing a custom plugin that allows a particular page to have it's own sidebar with widgets. It works great so far, but what I'd like to do is generalize it more and allow the plugin to ...
0
votes
2answers
666 views

Display most recent posts in category with Twenty Ten theme widget

I am fairly new to WordPress, and I would like to have a list of the most recent posts in a certain category appear in a right-hand panel (I can do this with all posts, but not specific categories) I ...
0
votes
1answer
155 views

Why is my custom sidebar always open on the widgets screen in Admin?

I've created a custom sidebar with this code in my theme's functions.php: register_sidebar(array( 'name' => __('Article - Below Content'), 'id' => 'zg-article-footer', ...
4
votes
1answer
557 views

Video Embed in Sidebar Widget with Links to Others in Category

I am trying to re-create the sidebar widget found here: http://www.clinicalforensicpsychology.org/ The links below the shown video are linked to the post category "videos". I have tried most every ...
0
votes
2answers
698 views

Best practice for including plugin output in a template without using shortcode?

I need your recommendation for the best practice here: A custom post type I have created needs a list of attachments at the end of the post content. I have created a series of functions that handle ...