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
3answers
334 views

Showing sidebar-2 on custom template page

Environment: WP 3.5, Twenty Twelve child theme. I created a custom template. Now, I'd like to display the built-in sidebar-2 in this custom template page (instead of the default sidebar-1). sidebar-2 ...
1
vote
1answer
865 views

Load posts into sidebar and paginate via ajax?

Is it possible to paginate, or load the next / previous posts in the sidebar without messing with the entire page pagination? Such as AJAX? Right now I'm querying custom post type posts to load the ...
6
votes
7answers
2k views

Individual Widgets per Page

In my (page-only, no posts) Wordpress site I have a number of static blobs in need to put in a sidebar. We could call/tream thoses 'blobs' as widgets. At least they'll have a fixed html content, like ...
0
votes
1answer
1k views

bloginfo('stylesheet_directory') vs. get_stylesheet_directory_uri() and include('file.php') vs. get_template_part()

In my custom theme I'm using <img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.jpg"/> to load my custom logo. I'm using a custom sidebar for front-page.php and that's why I ...
0
votes
1answer
249 views

Dynamic Sidebars & Echo

I can sucesfully get my dynamic sidebar to work like so: <div class="sidebar sidebar-first"> <ul class="widget-area first"> <?php dynamic_sidebar( 'pop-photos-sidebar' ); ...
0
votes
1answer
166 views

Wordpress Queries Not Working?

//Display All Reviews function display_all_reviews( $query ) { if ( $query->is_home() && $query->is_main_query() ) { $query->set( 'tag', 'reviews' ); } } add_action( ...
0
votes
1answer
63 views

how to list subpages in sidebar without widget

I am trying to create a list of subpages of a parent page, which will appear in the sidebar of my wordpress site. This sidebar will appear on every page. So for example, I have a page with an ID of ...
1
vote
1answer
94 views

Generate sidebar depending on height of post

I'm building a site which features sidebars next to each post/article displaying random thumbnails linking to other posts. Each sidebar should never be longer/bigger than the post it's sitting next ...
0
votes
1answer
91 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" ...
1
vote
2answers
148 views

Displaying Archives List

I'm displaying list or archives using <?php get_archives('monthly', '', 'html', '', '', FALSE); ?> and my list displays December 2012 November 2012 etc However I would like to format ...
1
vote
1answer
105 views

Custom page sidebar using Template dropdown box

i am wondering how i go about making a Template for some of my pages to use a different sidebar? I have created the widget like this: register_sidebar(array( 'id' => 'ourPat-sidebar', ...
2
votes
1answer
86 views

duplicate sidebar

I have a problem with a sidebar. I have 4 sidebars: "Essential", "Essential+", "Premier" and "Premier+". register_sidebar( array( 'name' => __('Essential Plan'), ...
0
votes
3answers
418 views

Sidebar limiting to 10 posts?

I have the following code inside my single.php page: UPDATED CODE <?php if (have_posts()) : the_post(); $post_id = get_the_ID(); if ( is_single() ) { $cats = get_the_category(); ...
1
vote
2answers
60 views

Sidebar links for different pages

Hey all i am wondering what i need to add in order to have a different sidebar for a set page? I created a category for the page (called PatientEdu): And made sure the page was linked to the ...
0
votes
2answers
864 views

Sidebar on Single Product Page WP e-commerce on the wrong spot

I cannot get the sidebar on my WP site (twenty-eleven theme) working properly in my wp e-commerce shop. On the products page the sidebar is on the right side of the page, as it should be. On a ...
0
votes
2answers
54 views

finding sidebar content in wordpress

Hey all i have been trying to find the content that loads up for a page for a few days now and can not seem to find where its located. This is the WP code that seems to populate the content: if ( ...
0
votes
3answers
428 views

How to display different widgets on specific pages, hide from other pages

I want to display a dynamic sidebar on all pages, and a different sidebar on the homepage. There are also particular pages where I don't want to display either of them. This code is not hiding the ...
-1
votes
4answers
5k views

Incorrect sidebar showing on WooCommerce Store page

I am developing a refresh of my site on a new VPS plan and on of the main changes is switching from the dreaded wp e-commerce to WooCommerce. The URL to the WooCommerce store page is ...
1
vote
2answers
131 views

How to check if searchform.php is being included as widget?

I'd like to put something like this in searchform.php: <?php if($widget){ ?> //load serach form for sidebar... <?php }else{ ?> //load different search form for page content (404 ...
0
votes
1answer
55 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
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
66 views

Posts in sidebar only by admin

I want to show in latest posts widget only posts by admin (now its showing latests posts by all suers). How I can do it ? via wp query ? Thanks :) <?php // setup the query ...
1
vote
1answer
329 views

Get Order of Meta Box in a Page/Post

I'm using the Posts 2 Posts plugin specifically, but I think this applies to any meta box. I have three Posts 2 Posts metaboxes on the side: "Related Case Studies", "Related White Papers" and ...
0
votes
1answer
80 views

Add individual <hx> tag to widget title in sidebar

In my sidebar every widget title is enclosed in <h2> tags. I use 4 widgets in my sidebar and I'd like to have the first 2 widget titles as <h2> and the other 2 as <h4>. I changed ...
1
vote
2answers
35 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 ...
1
vote
3answers
503 views

Wordpress widget/sidebar dividers?

I have a widget sidebar, but I'd like dividers between them. I can achieve this in CSS using boring borders, but I have a png image I'd rather use instead. Is there a way to insert a divider after ...
5
votes
1answer
7k views

Translate widget titles using qTranslate plugin

I'm actually using the qTranslate plugin to translate my website. It works really well with everything except one thing. the titles of my sidebar widgets. Actually, to translate some words we need to ...
0
votes
2answers
339 views

Recent Comments from Specific Category Widget

I've been trying to create a sidebar widget to display recent comments from specific category. I'm having difficulties in determining how Wordpress knows from which categories the comments are. I ...
1
vote
1answer
161 views

Output dynamic_sidebar into PHP

I know wp_title("",false) Outputs a title for a page into HTML. How do I do the same for the dynamic_sidebar(); ?
3
votes
2answers
567 views

How To Determine If A Filter Is Called In A Sidebar/Widget Context?

So I have a plugin that appends or prepends an enhanced author biography to the content of a page/post/custom post type. It does this by hooking to either the_content or the_excerpt and ...
1
vote
0answers
39 views

Get sidebars depending on page

Is there a way to get only the sidebars used on a particular page? Using: global $wp_registered_sidebars; $widget_map = wp_get_sidebars_widgets(); Can get me all of the sidebars, but I'm ...
1
vote
1answer
407 views

Different side menu on each page

Does anyone have a solution how to have different side menus on different pages? Do I need to create template for every page? I've registered many nav_menus in functions.php and than used pages ID as ...
-1
votes
1answer
159 views

How to change font in title of sidebar widget [closed]

I'm not sure if this question belongs in the CSS forum or the WordPress forum... At this link to my wordpress site: http://richardclunan.com/ in the sidebar, there's a title for a widget "GET FREE ...
1
vote
1answer
465 views

Register/Get sidebar?

I can't quite seem to figure out how it works. By default i have a sidebar in sidebar.php that i load using get_sidebar();. That works great (no need to register it), but i have a custom page ...
1
vote
4answers
3k views

Change which sidebar get_sidebar() gets from functions.php

I have this code in a template file, which loads sidebar-sidebar_a.php: get_sidebar('sidebar_a'); I would like to add a function to sidebar.php which has the effect of changing that to this if some ...
0
votes
3answers
201 views

Dynamic Sidebars based on page name

I would like to do a dynamic sidebar for my WordPress site, so it would pull in the correct Sidebar template based on the page title of the page. So if I had 10 sidebars all named like this: Sidebar ...
0
votes
1answer
343 views

Adding link to dashboard sidebar, nested under custom post type

I hope there is an easy answer for this, as it doesn't seem like it should be difficult and could make my backend much easier for other's to use. I'm trying to add links to custom post types - that ...
-1
votes
1answer
188 views

Widget content turns up before title

I've recently been trying to create a 'Popular Products' widget for for WP e-Commerce. Since there isn't built-in functionality, I referred to Dave Mackintosh's post here and gave it a shot. Still no ...
0
votes
1answer
3k views

Submenu in sidebar custom page template

i would like to show the submenu of my page in a custom page template on the left side in a Sidebar-area. Does any know the code for showing the submenu. Wordpress 3.4.1 Thanks a lot!!!
-1
votes
1answer
177 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 ...
0
votes
1answer
2k views

register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead

I turned on my Debugger and got this error... Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in ...
1
vote
2answers
99 views

How do you Permanently Delete Sidebars

I'm developing a custom theme and I added some widgetized sidebars like so: register_sidebars(2, array('name'=>'Foobar %d')); I then recreated them so that I could give them semantic names. Like ...
-2
votes
3answers
58 views

Is it possible to control content on different pages by checkboxing wich content is shown where on a wordpress theme page?

i have created a sidebar in my wordpress site. i want this sidebar to be displayed on each of my pages and subpages in their respective admin editors. i want the sidebar to contain a list of ...
0
votes
1answer
879 views

List child terms and posts in the current term

With this code parent term page lists all the child terms and the child term page lists all of the posts in current term, and the single page lists a big flat list of terms(hierarchical). Now, The ...
-1
votes
1answer
77 views

Persistent sidebar.php [closed]

This sidebar does not let itself be aligned either on the left or on the right, so that the content below (the posts) can be placed next to it. Sidebard on one side, posts on the other. This is the ...
0
votes
1answer
119 views

Single Widget Multi Sidebar

I wrote a widget that has multiple output format based on type dropdown list. I intend to use this widget on both left and right sidebars. The problem however is it only shows up on one sidebar either ...
0
votes
1answer
561 views

Use ajax request to load sidebar

For a project, i've to improve SEO perf and one of this optimization is to load the sidebar with an ajax request. I've looking for this solution through the documentation, source code, plugins ...
0
votes
2answers
225 views

archive page sidebar not working

i created a taxonomy page from archive.php , working based on thematic frame work. i tried a lot to make the sidebar working but it show nothing and even using firebug its not exist ! <?php /** * ...
2
votes
4answers
2k views

How can I show the Jetpack Subscriptions form in a page?

In the Jetpack plugin, the subscriptions module can be included in your blog by following these instructions: To use the Subscriptions widget, go to Appearance → Widgets. Drag the widget labeled ...
0
votes
1answer
448 views

Add a specific css to a widget

I have a theme with a sidebar and 3 widgets. I want to change the color of one of those widgets. The problem is that all the widgets have the same code: <div class="box_outer"> <div ...