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
0answers
17 views

Order of sidebars in Appearance > Widgets

How do you change the order that the sidebars appear in the Appearance > Widgets page? I have code like: register_sidebar(array( 'name' => 'Home 1', ... register_sidebar(array( 'name' ...
0
votes
1answer
26 views

Does current page contain widget or sidebar

Is there a way to detect whether a specific page contains a widget or sidebar. I am aware of is_active_sidebar() & is_active_widget() which return true or sidebar containing the widget, but this ...
0
votes
0answers
67 views

How can I change sidebar position via URL parameter?

I have live Customizer on my theme and there is an option to set the sidebar position to align left or right. How can I change the sidebar position via URL parameter? For example, if my sidebar ...
0
votes
1answer
59 views

A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom

Everything was working well, but somebody wrote a post with the following inside: <iframe blablabla (a video) </iframe> <div style="clear: both; height: 3px; width: 592px;"></div>...
0
votes
0answers
27 views

Menus Removed from Custom Widget Area

I’m hoping someone out there can help me out with this issue I’ve been scratching my head about for some time now. At my place of employment we have a WordPress site on our intranet, running a child ...
0
votes
1answer
165 views

Add the title of a widget as an ID - for anchor links

I'm currently building a WordPress theme where my page consists of widgets. One widget is a part of the page. I'd like to be able to use anchor links with them, and to do this, I would like to output ...
0
votes
0answers
22 views

Wordpress custom widget into sidebar not showing

I'm trying to add my custom fb_widget to the sidebar. The default widgets can be added. Below is the code for the widget: /** * Adds FB_Widget widget. */ class FB_Widget extends WP_Widget { /**...
0
votes
0answers
199 views

How to display most popular posts from certain category in sidebar?

Assume I have a menu based on categories (jazz, rock, classic). I would like to display most popular posts (in sidebar widget) depending on which page I am (on jazz page I would like to have most ...
0
votes
1answer
34 views

Custom page template to sidebar/widget

I have a custom page template and I want it to display as a sidebar. How to do this? I google it but I did not find any articles/topics about this. Or how can I create a shortcode for this custom ...
0
votes
2answers
291 views

How to add new sidebar widget area to child theme?

I want to create a new sidebar widget area in the header of my child theme. What would be the best way to do this? Here is the code for one of the sidebars in the parent theme: <?php add_action( '...
0
votes
1answer
21 views

Sidebar at bottom however I have completely replaced theme folder back to original code

Wordpress sidebar stuck at bottom despite replacing the entire theme file(works with other themes), Help please I have been over the web and most people do not have the problem I have it seems. I ...
0
votes
1answer
52 views

How to add sidebar to Isola theme? [closed]

I am using Automattic's own Isola theme on my blog. It's a single column theme and it has a sidebar which pops up from the left if clicked on show more kind of button on the left side of site title. ...
0
votes
2answers
397 views

widgets_init actions not fired from functions.php's child theme

I need to add new sidebars for using them accordingly on different pages throughout my shop. I use Woocommerce and my own Storefront child theme. This is a snippet of what is in functions.php file ...
0
votes
0answers
127 views

Add HTML wrapper around widget content

I'm using genesis as my framework but i need help to to add some html markup on my register widget. I know by default its add html mark up but I want to add more inside of it how would I do that? //...
0
votes
0answers
35 views

Display the id list of active widgets of same sidebar?

The condition is i have to check the id of active widgets of one sidebar and hide some widgets based on id of the listed widgets.Any ideas ...
1
vote
0answers
103 views

Admin sidebar element buggy on hover with Google Chrome 45 [duplicate]

I'm using OSX 10.10 Google Chrome Version 45.0.2454.85 (64-bit) And When I go through the sidebar elements on my Wordpress site it looks like this: Is this a known bug?. On Firefox and Safari ...
1
vote
1answer
54 views

Corrupt WordPress Design/Appearance [duplicate]

Has anyone ever experienced the following in terms of sidebar design corruption. This has only recently started happening, using the vanilla WordPress package from the site. I've tried multiple ...
1
vote
1answer
79 views

Get custom side bar on custom post archive page

I have a custom post type called “bibliographies” and the corresponding archive-bibliographies.php file to show a list of posts. On this page I want to add a side bar that is unique to this page, so I ...
2
votes
3answers
72 views

Load same sidebar multiple times

I came across a very different scenario where I had to use get_sidebar('recommendations') multiple times on one page. But it works only one time. It works multiple times only when I use include('...
0
votes
2answers
138 views

Adding an extra sidebar to your theme

I want an extra sidebar added to this wordpress theme of mine. I want it right under my left sidebar and not next to it as it is currently showing: www.giftforgag.com. I have tried many things but ...
0
votes
1answer
38 views

Sidebar only shows up on blog page

I am currently working on a theme that uses a Page Sidebar for the Contact, About, Portfolio and Home pages, and a Blog Sidebar for the Blog page. For some reason, the Page Sidebar is not showing up ...
0
votes
0answers
85 views

How to add custom sidebar on each single page?

I'm creating a book review site. I wanted the site with two columns (65% 35% respectively). On the left side as usual review of the books and other stuff should go, so no worries with that part. On ...
-1
votes
1answer
186 views

How to completely remove the sidebar? [closed]

I am custermising adamos theme with the WordPress web tool. I went to Appearance ==> Widgets, and removed everything in Primary Sidebar. But I still see ARCHIVES and META at the position of right ...
2
votes
1answer
31 views

Registering multiple sidebars with data from an array

I am attempting to dynamically register sidebars for certain pages. The pages must meet the following criteria: be published be a page (not a post) use the template 'template-generic-sidebar' In ...
0
votes
1answer
64 views

how to run a php code in widget?

I have a code to get all taxonomies and terms for a single post: $object_terms = wp_get_object_terms($post->ID, 'staff', array('fields' => 'all')); if ($object_terms) { echo '<p>' . ''...
0
votes
1answer
306 views

Change directory where get_header(), get_footer() and get_sidebar() look for templates

I'm creating my own theme framework, and I want to organize my code, separating the partials files from the pages. But I want to do that and still use the native functions get_header(), get_footer() ...
0
votes
0answers
55 views

Get the sidebar title outside widget

I want to find a way to get the sidebar title outside of the widget area. My actual functions file: if ( function_exists('register_sidebar') ) register_sidebar(array( 'name' => __( '...
0
votes
0answers
36 views

Make Twitter feed widget show on side panel, which does not exist yet in the template

I was asked to do a slight revamp of the web page Motorcycle forum, notably, to move twitter feed to sidebar, which, however, does not show. The website, although simplistic, looks quite mature, so ...
0
votes
0answers
64 views

Sidebar completely disappeared

I made a theme with working sidebars on both the right hand side of the content and in the page footer. The right-hand-side sidebar is called in index.php like this: <?php get_sidebar(); ?> ...
0
votes
0answers
111 views

Adding placeholders to the sidebar-login widget plugin

It is my understanding that you may use the filters to code the placeholders to the plugin 'sidebar-login widget'. The programmer Mike pointed me to the code location where it should go: $...
0
votes
1answer
53 views

Create an array of “read next” posts using a dynamic offset

Writing my first theme from scratch here. I'm attempting to create a "read next" sidebar that will show the next 30 posts in a list on my sidebar in my single.php file. I know how to grab all of the ...
0
votes
1answer
170 views

Can't replace the default sidebar with a custom sidebar on Custom Post Type in Genesis

I have an archive template ("archive-reviews.php") for a Custom Post Type I have created. I'd like to replace the default archive sidebar with a different one that I have created using the Genesis ...
0
votes
0answers
22 views

Backend Sidebar Add Another Post Menu

Once logged into WordPress, looking at the sidebar menu. How can I make another Post Page Menu with a different name? Then make my own posts under that new Post page. If Pages are pages, and Menus ...
-1
votes
1answer
21 views

How do I insert a photo at the top of the sidebar?

http://www.beautybykatlin.com/ Hello, How do I add an image at the top of the sidebar? I had one there but I deleted it and I don't know how to get it back. Please help!!! Thank you!
0
votes
1answer
62 views

I'm hit with: undefined constant register_sidebar. Once in debug mode? [closed]

I'm attempting to test my theme and I switched my config to debug true and I'm now hit with "Notice: Use of undefined constant register_sidebar - assumed 'register_sidebar'" I'm struggling to fix and ...
0
votes
2answers
40 views

Output column number according to active sidebars

$sidebars = array( is_active_sidebar( 'footer-4' ), is_active_sidebar( 'footer-3' ), is_active_sidebar( 'footer-2' ), is_active_sidebar( 'footer-1' ), ...
1
vote
1answer
86 views

Remove All Widgets from Sidebar

Does someone know a solution for this? I want to remove (not unregister) all widgets from a sidebar with a function.
0
votes
1answer
105 views

Do not show one specific widget on one specific page

Using a child theme of genesis and am unsure of how to remove a contact us widget in sidebar from the contact us page. Is there an easy way to do so? It's part of the theme which has it on the side ...
1
vote
3answers
96 views

How the WordPress sidebar works

Ok, the title is surely not good to explain my very basic question, but here it is: I just started creating a wordpress theme and the index.php has two columns: 1.) The main content and 2.) A ...
0
votes
0answers
262 views

Show sidebar only if widget has content

I'm using the Scaffolding theme and the Advanced Sidebar Menu plugin. The plugin works correctly but the theme always shows an empty sidebar because the widget is active. I believe the code that does ...
-3
votes
1answer
337 views

Woo commerce Single Product Sidebar [closed]

Im trying to move the product summary from a single product, into the woo commerce sidebar? Does anyone know how to go about this? Would be forever grateful!
1
vote
1answer
48 views

How can you add a link to a sidebar description?

How can I add a link to a sidebar description? $sidebar_description = sprintf(__( 'Sidebar for the <a href="%s">%s</a> post', 'themetext' ), get_permalink($post->ID), $post->...
0
votes
1answer
16 views

three sidebars showing without call

code from template where i call header sidebar <div class="wrapper"> <?php get_sidebar("header"); ?> <div id="switcher"> widgets.php has following coding... <?php if (...
0
votes
1answer
104 views

Active Sidebar Conditional Question?

I have the following code that works but doesn't look good: <?php $col = 'one'; if( is_active_sidebar('footer') && is_active_sidebar('footer-2') && is_active_sidebar('...
0
votes
3answers
283 views

Add sidebars to navigation menu?

Is it possible to add a sidebar to navigation menu? I'd like to be able to add sidebars in Appearance > Menus, like I add pages. I have a way of creating extra sidebars, so that's not an issue (I ...
0
votes
1answer
49 views

Best strategy for providing theme options using customizer

I am making a free distributable theme and I wish I could provide theme options in the best possible way. I have doubts (mostly about widgets) and sidebars. Here we go: Is it a good idea letting the ...
0
votes
2answers
43 views

How do I add a class to all sidebars to let a Google Custom Search Engine know not to index the content?

I've replaced the WP search on my site with a Google CSE. Google has a nice feature that lets you specify that certain areas of the page should not be indexable, by adding a "nocontent" class to those ...
-1
votes
1answer
284 views

Images in Woocommerce Product Sidebar [closed]

there is an easy way to assign your custom image size to the mini-cart.php that is responsible for the cart widget. The code is on line 32: $thumbnail = apply_filters( '...
0
votes
0answers
104 views

Add a sidebar for menu item?

I want to modify the WordPress navigation menu. I have added a custom checkbox in the menu items custommenu. If that is enabled, then I want to remove the submenu items for that item and include a ...
0
votes
0answers
103 views

Twenty Fourteen modify left sidebar on home page only

I'm using a twenty fourteen child theme and want the left sidebar to be different on the home page. I'm trying to modify it without changing any files so I made a new sidebar called sidebar-front and ...