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
148 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
551 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
598 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 ...
2
votes
1answer
559 views

More flexible sidebar and widget management

I’d like to have a plugin for a flexible sidebar/widget management. In fact, I want to give a user the possibility to choose which sidebar should be displayed per page/post. I know there are many ...
1
vote
3answers
1k views

Best approach for loading a sidebar Only if the screen max-width is >900px?

I have been playing around with media queries quite a bit lately and I love the concept. It is so easy to display images or change div floats depending upon what the users screen max-width is. I'm ...
0
votes
1answer
149 views

Minimum Widget Width for Plugin Development

I was considering a plugin that inserts itself as a widget in one's sidebar. Trouble is, I don't know what to expect for the minimum width in one's sidebar. Is there a standard?
1
vote
2answers
2k views

Adding 'current_post_item' class to current post in the loop

I'm using a loop in the sidebar of my site to show all the posts that are in that category. Now I'd like to include a 'current_post' class to the current post that is being displayed to style that ...
1
vote
1answer
127 views

Show widget differently depending on if it's in the sidebar or footer

I've made a custom widget which shows thumbs of my latest videos. These thumbs are set to be 300px wide, which is the same width of my sidebar. My problem is that i also want to be able to use it in ...
3
votes
1answer
499 views

Problems with the sidebar args and wp_list_bookmarks

I have run into an issue trying to use the sidebar args (before_widget,after widget,after_widget,before_widget) as theme style friendly parameters for the function wp_list_bookmarks, that is that the ...
-1
votes
1answer
3k views

Archive Widget - Show selected Category Post title. Sorted by Year

I need to add a widget to the sidebar that shows post titles sorted by year ie: 2011 POST TITLE 1 POST TITLE 2 POST TITLE 3 2010 POST TITLE 1 POST TITLE 2 POST TITLE 3 I was thinking of using the ...
0
votes
1answer
587 views

Custom sidebars - get_sidebar() problems

I want to have different sidebars on different pages. So firstly I registered a few basic sidebars in functions.php. So they will be always there no matter where I move my theme. Let's name them ...
1
vote
5answers
2k views

Display post shortcode content in the sidebar?

I need to display images and other content in the sidebar depending on a page. Pages are added dynamically and information that need to appear in the sidebar is different for each page. So I can't ...
0
votes
1answer
459 views

Hide/disable sidebar using shortcode?

The question is pretty simple, but it's complex in fact. I have implemented custom sidebars for each post/page function in my blog. It looks like: <div id="<?php echo ...
1
vote
1answer
707 views

Toggle Sidebar Display

I'm developing a WordPress theme that allows users to toggle the visibility of the sidebars using Javascript in the same way that wikis allow users to show or hide a table of contents. When a user ...
8
votes
2answers
6k views

List all sidebar names?

I'm listing all sidebars like that: global $wp_registered_sidebars; echo '<pre>'; print_r($wp_registered_sidebars); echo '</pre>' So I'm getting something like: Array ( ...
1
vote
1answer
1k views

How to have dynamic sidebar content per post

I am setting up a site for a client and have included a dynamic sidebar in the template for certain types of posts. I would like the client to be able to add a text widget to that sidebar for a post ...
3
votes
3answers
4k views

Hooking a function onto the sidebar?

I'm looking for a way to add some content to the top of the sidebar when it get's loaded. I've tried hooking onto the get_sidebar action as referenced here, but it seems to override the sidebar call ...
0
votes
1answer
921 views

Sidebar Generator? :)

I'm tired of editing functions.php every time I want to add/remove a sidebar. I know there is Sidebar Generator plugin, but I wanted to develop something on my own that will work out of the box ...
0
votes
1answer
109 views

Listing all sidebars

How to list all existing sidebars? I want to show them all in the drop down list (so each item should have also the right value).
0
votes
1answer
379 views

Correct way to add a block element to sidebar layout

First time experimenting with wordpress and looking for advice on the correct way to add a block of html to a sidebar. This doesn't seem like a custom widget to me as there is no functionality ...
1
vote
2answers
638 views

Twenty Ten child theme has post on an inner page. Cant get that page to use my desired template

I have a child theme based on Twenty Ten. I have split out the sidebar and secondary side bar so they can be used on different pages. sidebar.php file: <div id="primary" class="widget-area" ...
0
votes
2answers
408 views

Including post data in a sidebar occurring outside of and before the Loop

I'm having problems setting up a single WordPress template page to display post data outside of the Loop. The page has a left sidebar in which I want to display post meta data, tags and navigation ...
0
votes
3answers
282 views

Sidebar Stuck To First Post, Not Top Of Page

I am having an odd issue where my sidebar is stuck aligned with the first post on my page chronologically instead of appearing at the top of my page ie. I have two posts and the second post(being the ...
2
votes
2answers
3k views

$post>ID displays wrong post ID

I've asked a question about listing all sub-pages before: Listing all sub-pages? But all the questions were wrong. Anyways, I have now simpler question. global $post; echo $post>ID Works ...
0
votes
1answer
146 views

Is there a way to display content from a post meta box in the sidebar?

I'd like to display content from a custom meta box that appears for a particular custom post type in the sidebar, when a single post of that type is being displayed. I know how to normally display ...
0
votes
1answer
676 views

How put links in wordpress dynamic sidebar?

i would like put link after each widget in dynamic sidebar. I thinks is possible if i use static sidebar, but i don't found any tutorial for this. Thanks you
1
vote
2answers
3k views

the_widget() and widget's ID

Let's assume I have a widget that displays only its name: <p> <?php echo $args['widget_id'] ?> </p> So when I drag & drop my widget to any sidebar it shows: ...
0
votes
2answers
995 views

How to show multiple instances of the WP125 Widget?

I have multiple sidebars, based on different pages. How can I get the WP125 widget to show on all of them?? Once I add it to one sidebar, it is unavailable to put on others (like many other widgets by ...
0
votes
1answer
205 views

How to setup sidebar modules to use jQuery Accordian

To use jQuery UI accordion, I need markup like <h3>Module 1</h3> <div> <!-- module content here --> </div> <h3>Module 2</h3> <div> <!-- ...
0
votes
1answer
579 views

Header image is overlapping sidebar?

I just changed my header from a background to an image, as that seemed to be the easiest way to link the entire header to my main page (after a whole lot of trial and error with other methods). The ...
-2
votes
1answer
107 views

Replacing static code in a template file with a sidebar and widgets?

I am new to WordPress and need help. I am currently working on the site http://ecentriconline.com/surferbeachfront. On this page, I want to display the left hand side as a widget. Right now, the left ...
-4
votes
4answers
3k views

how do I change the side bar content?

As of now, my side bar is pretty standard: How can I change it so that it shows tags, recent posts, etc...
1
vote
1answer
1k views

How to list custom post types in a secondary sidebar?

I have a custom post type called "Static Content." I would like to list those posts in the following secondary sidebar: sidebar-secondary: <div class="block-3 border-top"> <?php ...
0
votes
1answer
1k views

How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?

I own a network of 100+ Wordpress based websites. All website are separate installations of Wordpress and are on different servers. I would like to create one contact form have it shown in the ...
1
vote
2answers
277 views

Can WordPress Read Its Own RSS Feed?

I am using a static front page for my blog to which I have added a widgetized sidebar area to hold an RSS feed widget. I want to show summaries of the latest two or three blog posts on the front page, ...
1
vote
2answers
1k views

From what hook on is it possible to conditionally add actions?

I tried to have a siderbar registered at the "init" hook based on a variable from the theme options array indicating whether the sidebar should be used in the design. Now it appears that that the ...
0
votes
1answer
519 views

is_user_logged_in function in a sidebar not working

I'm trying to get my sidebar to change when a user is logged in and i'm using the is_user_logged_in function. Here is the code - <!-- BEGIN sidebar --> <?php /** * The Sidebar containing ...
0
votes
2answers
313 views

Different widgets in sidebar on sub-children pages?

I'm working on project, where I have different widgets on pages and also different order. Example - on About page I may have chat widget, then e-mail sign-up widget, then testimonials widget. On other ...
0
votes
1answer
2k views

Content not showing up when using custom template + sidebar

I am working on a user dashboard for my site using wp user front end and Mingle. I decided the best way to integrate this is by creating a custom sidebar and using that in a new template, which I did. ...
1
vote
3answers
99 views

Styling images coming from another blog

I had asked a question earlier, on getting post-thumbnails from another WP-site. There, the awesome Mike coded a SQL query whose results are then passes on to a PHP array. The piece of code from that ...
0
votes
2answers
2k views

widgets in footer?

Can i use dynamic_sidebar('first-footer-widget-area'); directly in footer.php?Any change to made in functions.php page? I am using twenty ten theme.
0
votes
1answer
625 views

Display posts from category in post content?

I am developing a website using WordPress. As I don't want the sidebar, I removed 'get_sidebar()' from my page. But I need to place a category in the content part (like a category for latest news) - ...
1
vote
3answers
372 views

How can I assign widgets from WP to appear in bbpress?

The usual set-up: www.domain.com - wordpress installation with sidebars and widgets; www.domain.com/forum - bbpress. BBpress is integrated via bbpress-integration plugin. The question is - how can I ...
1
vote
3answers
816 views

Specific and Different Ads for each Post?

I am working with a magazine client who sells adversiting offline in their magazine and now has a WordPress online magazine. Each of their stories is broken into different posts, and they are using ...
0
votes
1answer
729 views

Custom Post Type Query for Sidebar Doesn't Work on Front Page

Interesting issue here. I have this: $args=array( 'meta_key'=>'_simple_fields_fieldGroupID_1_fieldID_8_numInSet_0', 'post_type' => 'stores', 'post_status' => 'publish', ...
3
votes
2answers
3k views

Getting post-thumbnails from another WP site

I have two WordPress installations, one at http://inversekarma.in and the other at http://inversekarma.in/photos. The latter is a photoblog, and its theme uses the standard WP post thumbnails (EDIT: ...
8
votes
1answer
5k views

Get list of all registered sidebars

I am registering sidebars automatically for each category (a separate widget space per category). The technique I'm using is here. In the admin side I have an options page where I need to display a ...
1
vote
2answers
2k views

different class (css) for sidebar widgets

I want to add different class (css) in widgets in site sidebar . For example: First widget in Sidebar -> class=sidebar-top1 Second widget in Sidebar -> class=sidebar-top2 third widget in Sidebar ...
1
vote
2answers
472 views

Dividing widgets in sidebar?

I'm having a custom sidebar called Footer. I'm displaying this sidebar using this code: <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer') ) : ?> (maybe I should ...
2
votes
1answer
1k views

show posts names and links in the sidebar list as categories child

i'm using this plugin to show an exapandable/collapsible widget-menu in my sidebar. http://wordpress.org/extend/plugins/folding-category-widget it works very well! the question, not directly ...