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

Sidebar Categories change arrow when subcategories are shown on click

I have an arrow on the maincategory if a particular category has subcategory, iam using jquery animation to slideup, slidedown subcategory. i want to remove previous arrow and replace it with ...
3
votes
1answer
207 views

Display comment form of specific page in sidebar

I want to display the comment form of a specific page on a sidebar. It will look like this roughly. I tried modifying from comments.php and putting it on sidebar.php. But nothing shows up. ...
0
votes
2answers
208 views

Dynamic Sidebar Conditional [duplicate]

EDIT Answer was found here: is_active_sidebar() Always Returns False By user: s_ha_dum I'm dynamically creating sidebars and registering them for every top level page: Dynamically Register ...
1
vote
2answers
81 views

Dynamically Register Sidebars For Each Top Level Page

I have a small website that wants a different sidebar for each page containing blocks of text, blocks of images, and blocks of links, etc. What I'm trying to do is register a sidebar for each top ...
0
votes
1answer
147 views

How to List all Sidebars in a Metabox

I'm trying to add a metabox to every page that is a drop down list of all registered sidebars that is then saved in a custom field. I'm using this metabox class I've gotten as far as this: // get ...
0
votes
1answer
235 views

Wordpress: Apply filter/hook to a particular sidebar widgets?

I'm developing a theme that has more than 5 different sidebars and I want to apply a function to a particular one of them for styling purposes. Basically, the function will modify it's params using a ...
0
votes
1answer
536 views

Dynamic sidebar based on category

I am new to wordpress, i have developed a basic theme to make a tutorial web site, for that i need a dynamic sidebar based on category, suppose, i have category A & B, if user is on the A ...
0
votes
2answers
54 views

What method should I use for a sidebar widget that reads latest posts?

At the moment, I'm building a website for a local NGO and I have the following situation: in the sidebar, I should have a widget that displays the title of the latest editorials from the members of ...
0
votes
2answers
478 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
2answers
75 views

Archives and category of authors

Description of the problem: I should make a blog with, let's say 4 authors (may be more). The blog shoud have a page 'blog-page-1' (without sidebar) on which will be the last post of each author and ...
0
votes
0answers
21 views

Template is different with and without comments

My referenced website is at http://angelopardo.com/wakeupbeast and I've built it as a child theme of twentytwelve. Pages and single posts that have comments are displaying correctly, where the ...
0
votes
3answers
89 views

Show a widget as a sidebar fallback

I'm trying to find a way to show a widget only if a given sidebar is empty. I'm using Widget Logic to control some widgets, but I'm having trouble figuring out how to use it in this case. I've tried ...
0
votes
1answer
38 views

show tags on “single”-template sidebar only

If a post has tags, I would like to show only those tags as a list in the sidebar when viewing the single post; how do I do this? I have searched to find a suitable plugin, but didn't find one, as ...
0
votes
1answer
118 views

Simple form to add custom links to menu?

I currently have a menu set up called "sidebar links" with 5 custom URLs. In my widgets section I have a Custom Menu which shows my "sidebar links" menu. This basically gives my sidebar 5 links. ...
0
votes
1answer
2k views

Show Woocommerce minicart widget in checkout page sidebar? And, how to make this update secure by overriding widget?

Before asking question here I want to tell that I have already asked the question in stackoverflow and wordpress forum but have not got any answer. So finally I came here. I have installed the ...
0
votes
1answer
303 views

Why are my widgets not saving when being added to a sidebar?

The following is in my function.php file. I see the sidebar in my Appearance > Widgets page but whenever I drag something on over the sidebar and save it just disappears once I leave the admin ...
-1
votes
1answer
85 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
vote
1answer
190 views

Widgets not activated alert after using get_sidebar()

I stumbled upon avery strange problem while creating a sidebar for my wordpress theme using the get_sidebar() function in header.php. I inserted the following code in function.php: function ...
0
votes
1answer
258 views

get dynamic_sidebar() value in array in wordpress

I have a sidebar. Till now I am calling this as dynamic_sidebar( 'home-left-widget-area' ); and this shows data in <li>. But I need data in <option> . How to store values in array so ...
0
votes
0answers
55 views

How to set _multiwidget option value via custom sidebar widget class?

In this post: How Can A Widget With Only One Instance Be Defined? ... @OneTrickPony says: another way might be to set the _multiwidget option to 0. Like $settings = get_option("widget_text"); ...
0
votes
1answer
208 views

Hook in a sidebar widget and add some markup

I'm looking to hook into a sidebar widget, this one in particular loads the members. All I'm looking to do is add a link into the widget, I managed to get a result but it's not quite right. It ...
0
votes
1answer
100 views

Function to add class to <form> element?

I'm using the Sidebar Login script by Mike Jolley, I would like to add a class of "clearfix" to the element tag. I have been unable to find a solution to this so far. I'd also like to understand any ...
0
votes
1answer
21 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
266 views

Displaying different page links on different pages

I have a wordpress site with 100+ pages. Now suppose 5 pages are related to page 1, and I want to show them in side bar as similar pages/related pages and other group of pages in other menu in ...
0
votes
3answers
176 views

2 wordpress loops showing 1 post from same post type - how to avoid showing the same post?

I got to two loops in my template files. Both querying the same thing essentially. This loop in my header: $testimonial_head = new WP_Query(array( 'posts_per_page' => 1, 'post_type' ...
0
votes
0answers
29 views

Auto-Creation of sidebar area when new taxonomy term is created

I have a few different custom taxonomies and was wandering if it was possible to automatically create a new sidebar widget area whenever a new term within the custom taxonomies gets generated, and ...
0
votes
2answers
68 views

Displaying Post Featured Images on All Pages

First, let me start off by saying I'm very new to WordPress. I've only ever done basic themes before, this is my first big project. I'm working on a design that has two sidebars on every page. Each ...
0
votes
2answers
177 views

how to remove sidebar from particular one page

I am writing this code in page.php for removing the sidebar in one page <?php if (is_page('x')) : ?> <?php else : ?> <?php get_sidebar(); ?> <?php endif; ?> ... where "x" is ...
0
votes
2answers
98 views

Is there a way to allow only certain type of widgets in the sidebars?

For example, I want Sidebar A to display nothing but one text widget and Sidebar B to display anything but text widgets. How can I do that? Thanks.
1
vote
1answer
58 views

Admin option sidebar count

I need to add a count number to a option menu item in the admin sidebar. How is this done? I found a similar post: Modifying admin sidebar contents to show pending posts indicator
0
votes
1answer
32 views

Listing current pages subp page in list items in the sidebar

I'm wanting to list my current page's child pages as list items in the sidebar of my wordpress site. So far I've been referencing the http://codex.wordpress.org/Function_Reference/wp_list_pages I'm ...
0
votes
2answers
96 views

Is `is_sidebar_active()` deprecated, and showing error?

I Googled is_sidebar_active(), used by several WordPress trainer, but I came to the decision, the function's surely deprecated. But unfortunately I found no mention, even no entry in WordPress Codex. ...
0
votes
1answer
67 views

Styling the second sidebar

Ok so i added a second sidebar to my site, only problem is styling the widgets. here is the code i am using in my functions.php file // Widgets plugin: intializes the plugin after the widgets above ...
0
votes
2answers
48 views

Add Stack Exchange Recent Questions to a wordpress sidebar?

So my question is what is the easiest way to go about scraping a Stack Exchange forum "recent questions" and display them in the side bar of a wordpress site?
0
votes
1answer
45 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 ...
1
vote
2answers
73 views

Where do posts get the sidebar from?

I'm trying to add an if statement on the sidebars that are displays in POSTS. I want posts to show a specific sidebar if it's in category x and display a different sidebar if it's not in category x. ...
0
votes
1answer
44 views

Page specific values in widgets

I have a travel guide website which I have created with WordPress which contains destination guides. On the destination guides pages I have a sidebar which displays destination statistics (currency, ...
0
votes
2answers
185 views

Widget to show posts in the sidebar basing on its IDs

I am trying to create a widget that displays posts in the sidebar taking post IDs as input from the user. The result of my code is that the widget displays just the first entered ID and ignores the ...
0
votes
1answer
101 views

Update widget form after drag-and-drop “only specific plugin”

This solution, Update widget form after drag-and-drop, works correctly but I want to adapt this function to affect only a specific plugin and not every plugin. How could I do it?
2
votes
1answer
130 views

register sidebars

i registered my sidebars as follows: $sidebars = array ( 'sidebar-10' => 'Hoof Sidebar', 'sidebar-11' => 'Tuisbladsy area een', 'sidebar-12' ...
0
votes
1answer
102 views

Only display on sidebar if only got value inserted on post

This is the statement of post submit:* <fieldset> <label for=MarketItem_cost><?php echo __('Software Version', 'WpForest'); ?>:</label> <p><input ...
0
votes
2answers
40 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
1answer
62 views

Add a select-option to the default widgets

I would like to add an extra feature to one of the default widgets so that the user can choose from the select-field to either align the widget to the left, center or to the right. How would I be ...
0
votes
1answer
263 views

Override WordPress Widget CSS Classes?

I'm attempting to style lists in the sidebar (you know, <ul><li>) and I'm curious how to also make widgets adopt this class. Each widget seems to have its own class assigned to it by ...
-1
votes
1answer
2k views

Woocommerce Sidebar issue

I've just installed Woocommerce into my website and it's working great apart from one thing... Sidebars! How do I set which Sidebar the Shop page and other WooCommerce pages use? As part of my ...
1
vote
1answer
99 views

How to increase maximum number of sidebars support?

How can i use more than 20 sidebars in wordpress. I'm working on a big information portal, and I need big amaunt of sidebars (about 40, I guess). So I have 20 sidebars now and when I add one more it ...
0
votes
1answer
64 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
0answers
68 views

Group post archive by last two weeks and months

I want to show an archive menu in each page in the following manner: Today Yesterday This week Last week This month Last month Earlier How could I do that?
0
votes
1answer
98 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
2answers
118 views

Add #sidebar-2 to a custom page template

I registered a few custom sidebars, and the corresponding code in my version of TwentyTwelve theme now looks like this: register_sidebar( array( 'name' => __( 'Sidebar #1', 'twentytwelve' ...