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

Check if has any sidebar active on current page

Is possible to check if has any sidebar active on current page? Like this: @edit This function also return true even if the current page does not have this sidebar active... <?php ...
-1
votes
0answers
10 views

Making the 2nd level page a title of sidebar when have a subpages

So I'm using this plugin for a while: https://wordpress.org/plugins/be-subpages-widget/ But when I have a page that does have subpages, it does not list the subpages of the parent page. I have this ...
0
votes
1answer
28 views

Multiple rows of footer widget areas

I have a function on my functions.php that adds a bootstrap col class to the footer sidebars depending on the number of active sidebars. What I intend to achieve with this is having footer widgets ...
0
votes
0answers
25 views

How to hide default sidebar widgets?

I'd like to hide/not display all default widgets(Search, Recent Posts, Recent Comments, Archive, Categories and Meta) which are inserted into custom sidebar when the theme is installed. (Removing them ...
-2
votes
0answers
17 views

Logging in issues

I have always had an issue that logging in using the sidebar never logs you in, it just refreshes the page, failed login shows errors still. I thought this was an issue with the buddypress login ...
0
votes
1answer
13 views

Need help with theme Business (Modern Themes): sidebar issue

I'm using Business theme from Modern Themes (modernthemes.net/wordpress-themes/business/). I have a "problem" that doesn't seem like a real problem because it is shown in the demo of the theme, so it ...
0
votes
0answers
13 views

Manually Adjust Column Widths to Enable Sidebar?

As I've seen, the problem of having a sidebar pushed to the top or bottom of the page is quite common. I have tried many approaches to fixing this issue, but the only thing that worked for me is to ...
1
vote
0answers
6 views

Choose sidebars column in widgets.php page

I know that sidebars appear on widgets.php page in order that you register the sidebars. So register_sidebar(array( 'name' => __('First', 'mytheme'), .... )); register_sidebar(array( ...
0
votes
0answers
12 views

Issue in adapted Twentyfourteen-child Functions.js (add toggles)

I am trying to add one (and maybe more) toggle buttons and menus on a Twentyfourteen-child theme. As the behaviour of search toggle is defined in twentyfourteen/js/functions.js I copied and adapted ...
2
votes
0answers
46 views

Removing custom widget area WordPress 4.4

I know it is a very simple thing but I just cannot figure it out. I always used to define widget areas and sidebar in source code, however this time I have used the UI option from Appearance > ...
0
votes
0answers
23 views

Registered Sidebar Display Issue

I am new to WordPress so the answer is probably obvious. I have 2 registered sidebars and I'm "get"ing them both in my archive.php but they aren't showing up. Here is the code for just one of them ...
0
votes
0answers
31 views

Related products Woo-commerce

I am developing an custom non Woo Ecommerce site into it .All I require is to move related products information to my side bar. Right now I have random products on my single.php. The sidebar named ...
0
votes
0answers
15 views

Script in sidebar blocks other widget's load

in my Sidebar, before the widget generated from Wordpress, I have this PHP script that fetches the latest threads from my vBulletin 4 Forum: <div class="box newtopics"> ...
0
votes
1answer
66 views

Load different single.php templates according to post layout selection

I have created a way of choosing different layouts for posts(sidebar right, sidebar left, full width). This is done through a meta box that displays radio buttons with an image for each layout type. ...
0
votes
0answers
19 views

Dynamic sidebars

I have functionality in place to create dynamic sidebars. So the user can use default sidebars or create their own sidebars. The code for creating custom sidebars: global $my_theme_option; ...
0
votes
1answer
33 views

Undefined index: custom_sidebars

I am implementing custom sidebars on a theme I am developing. Everything works fine when I add new custom sidebars. However, when if I remove these new added custom sidebars I get the error Undefined ...
0
votes
1answer
29 views

Loop doesn't work

I'm making a box in my sidebar that shows with a loop a list of articles of a single category: <?php // The Query query_posts('cat=31&posts_per_page=5'); // The Loop while ( have_posts() ) : ...
0
votes
1answer
44 views

wp_get_attachment_image() not displaying post images even though wp_get_attachment_url() echo correct urls

I am trying to make a widget which takes post id as input from user and displays images of the specified post in sidebar. wp_get_attachment_url() gets me the url but in the next line ...
0
votes
0answers
19 views

Custom options for WordPress sidebars

I am curious if it is possible to add custom options for each sidebar on the widgets page. Something like this (the part with the "Mobile" option): I'm having trouble finding a hook or action that ...
0
votes
0answers
16 views

custom sidebars don't appear in wp-customizer's widgets section

I'm adding Custom Sidebars as Post Type like here the sidebars appears correctly in Widgets page [.../wp-admin/widgets.php] and widgets appears correctly in their position .. of course i'm using ...
5
votes
2answers
167 views

Having different sidebar content for MANY pages?

I am continuing on from a topic I already posted but with a different angle. Please bare with me as I try to provide as much information as possible. I am looking to add a simple text area called ...
1
vote
0answers
49 views

Disable Sidebar in the Product Page in Storefront Theme

I am using storefront theme, where there is options for the Full Width in the pages but not in the Product Page and Product Category Page in the Store Front Theme As i played with css and i go this ...
0
votes
1answer
40 views

Different “Text Widgets” in Sidebar on Many Different Pages?

Hi there I have a few questions on adding different sidebar texts to sidebars per page. On one part of my site, I have pages dedicated to individual animals. I have figured out how to change the ...
1
vote
0answers
38 views

Can you target a widget_class in a register_sidebar?

Using Bootstrap 3 to create a WordPress theme I am using register_sidebar() for the sidebar: if ( function_exists( 'register_sidebar' ) ) { register_sidebar( array( 'name' => __( ...
0
votes
0answers
13 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
17 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
36 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
0answers
15 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: ...
0
votes
0answers
21 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
62 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
14 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
98 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
29 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
143 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
20 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
45 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
1answer
141 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
86 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
28 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
102 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
48 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
49 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
56 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 ...
0
votes
2answers
93 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
33 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
69 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
126 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
22 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
52 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
126 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() ...