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

3
votes
1answer
497 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
573 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
450 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
687 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
908 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
371 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
634 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
406 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
672 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
575 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
276 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
996 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
517 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
621 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
371 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
794 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
727 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
2k 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
4k 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
460 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 ...
3
votes
1answer
1k views

Get the sidebar ID in which the current widget was dropped

How can I find out in which sidebar was a widget dropped? From inside that widget. More precisely from the form() function. Can I automatically remove the widget if it's not added in the appropriate ...
2
votes
1answer
304 views

Count widgets of a certain type

How can I get the number (count) of, let's say, text widgets from a sidebar? for eg. if I drop 4 text widgets in the sidebar, I want to get this number somehow from another widget
2
votes
3answers
8k views

Which tabs widget plugin for wordpress is better? [closed]

I see there are a lot of plugins to create tabbed widget in side-bar: Fun with tabs Post 2 tabs Hybrid Tabs Wordpress Tabs Slides AmR Tab Menu Navigation Tabbed Widgets Which one is the best in ...
1
vote
1answer
2k views

Missing argument 3 for wp_register_sidebar_widget()

I installed the Deprecated Calls plugin and it's telling me to change register_sidebar_widget() and register_widget_control(), essentially add wp_ first. I did but I'm getting Missing argument 3 for ...
0
votes
1answer
216 views

Wordpress Local to Live and The Missing Widgets!

I have just finished my local dev of a wordpress woo theme for a client which has extensive sidebar customization and widgets. Ive done a full mysql export and import via phpmyadmin. However when I ...
0
votes
1answer
201 views

Missing sidebar parameter “fix” - before_content

as you know the sidebar parameters from register_sidebar() that control the widget layout are - before_widget - after_widget - before_title - after_title the problem is that you cannot implement ...
1
vote
1answer
1k views

Post thumbnails in sidebar & footer?

I have a category in my blog called "work", and I will be assigning each post a thumbnail. This category will be excluded from my blog's navigation, but added as a fake page on my page nav bar. ...
5
votes
5answers
7k views

How to Show Different Sidebars on Specific Pages?

I'm making a blog where only on specific pages I want to show different sidebar, I will add some widgets to those sidebar, which I don't want to show in default sidebar. I've found a coding method to ...