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

How to escape from container after the sidebar [on hold]

I am working on wordpress with theme, after I have added sidebar the posts stays in their container and after the sidebar ends it continiues to stay there. How do y escape from container after the ...
0
votes
1answer
667 views

Display category-specific comments in sidebar

I'm trying to display comments in the sidebar from only the current category. So far I've got this: <?php // Posts per page setting $ppp = 8; //get_option('posts_per_page'); // either use ...
0
votes
0answers
19 views

dynamic sidebar showing '1'(text)

i have tried everywhere for it like, my all project files, in WordPress widget(backend), function.php and all is there any way to remove this '1'(text) sorry for poor English FRONT END BACKEND
2
votes
1answer
532 views

Category specific months list in sidebar.php

What have made me pulling my hair apart for while, how to output category specific month list. I've been searching for the same problem and solution cannot find any lucky so far... Anyway, I have two ...
0
votes
1answer
7 views

How to filter Sidebar Content

I want to filter sidebar content generated from dynamic_sidebar() and only return the last 2 calendar years of archives (not last 24 months). Is it possible to do this sort of filtering and how?
0
votes
1answer
48 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
2answers
30 views

How to add Sidebar and Full width option in post editor

If a user is editing a page, they have the option to choose any page template for that page through the edit screen. Wordpress does not have that option for posts. I installed the Sparkling theme and ...
0
votes
0answers
18 views

How to List subcategories of a single category alphabetically

Imagine there is a category called Info ( id = 40 ) that has many subcategories . Now I want to show the ones that start with " A " and " D " somewhere else . Is there a way to kind of get ...
0
votes
2answers
2k views

Conditional tags issue for multiple is_page() conditions in sidebar.php

I've been pulling my hair out today trying to get this right. Basically I have a sidebar, which makes requests to individual files (such as sidebar-home.php, sidebar-residential.php) and different ...
1
vote
1answer
29 views

How to delete wordpress menu

I'm designing my product pages, but at every page at the bottom, I find this: Does anyone know how to delete this?
0
votes
2answers
279 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 ...
1
vote
5answers
3k views

Widgets not displaying in theme customizer

I am developing a new theme and I am using several sidebars in this theme. All works fine, but the widgets are not showing up in the theme customizer section. All widgets are working fine under ...
0
votes
2answers
974 views

Change HTML structure for custom menu in sidebar

I've been digging for documentation on how to change HTML output for the "Custom menu" which you place in optional widget. So its clear what I meen I have attached an image of the widget block here: ...
0
votes
1answer
39 views

Wordpress Bootstrap Grid

What's the best way to create a grid layout using bootstrap, or see link below http://v4-alpha.getbootstrap.com/examples/carousel/ displaying three different headings, should i use wp-query or, ...
6
votes
3answers
4k views

Add the sidebar/widget editor to the post edit screen?

There are (among others) two common ways of customizing the sidebar on an individual post: Create a new sidebar for the post, using code or plugins like Custom sidebars, WP Custom Sidebar, Per Page ...
0
votes
2answers
4k 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
1answer
21 views

A way to have some per sidebars settings integrated with the native sidebar/widgets UX?

Lets make it simple, lets say I want to have a per sidebar setting that will control if the sidebar has a white or gray background. Obviously I can add some CSS to do that, but I want to let the user ...
0
votes
0answers
15 views

Handling dozens of sidebars

We have the job to realize a page with custom sidebars. Sidebars can be created on the fly on post an page edit screens, to add a custom sidebar on each page. The client wants to use this to add ...
3
votes
2answers
781 views

Full width layout for custom post type pages

I'm trying to remove a widget area called 'Primary' from a certain page on a site. This is the function where I manage the sidebars: //ADD CATEGORIES IN SIDEBAR OF SINGLE POST TYPE add_action( ...
0
votes
2answers
19 views

Use customizer or sidebar for header settings?

I'm converting html into Wordpress theme. In the header I have a tel number and a button. Both are links, but styled differently. Do you think it would be better to make them a sidebar (widget area) ...
3
votes
1answer
37 views

Ban certain widgets from certain sidebars

I have several sidebars in the theme I'm developing. Some of them are designed to hold only a few widget types. So I'm trying to figure out how to keep other widgets out without using a plugin. After ...
0
votes
1answer
18 views

Is there a way to use get_sidebar() when no widgets are activated?

WP version 4.4.2, I have a customized sidebar.php and no widgets activated, which automatically prohibits get_sidebar() function to load contents of sidebar.php. Is there a way to forcefully load ...
1
vote
2answers
15k 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 ...
3
votes
1answer
102 views

Display all posts with same title

I'm trying to display in a sidebar php widget, all posts with same post_title in a specific category. I find this code on internet but don't how to use it Thanks for your help. function ...
0
votes
0answers
23 views

Choose custom sidebars in post edit

Is there a way to have a dropdown of all available sidebars show within the post menu? Something kind of like this - Custom Sidebar only on single post - but being able to pick and choose which ...
0
votes
1answer
60 views

Add featured image to sidebar [closed]

I'm working on a custom theme someone else built, and I'm trying to add a featured image to the blog page sidebar, above the widgets. I have already added a featured image to the page sidebar using ...
-2
votes
1answer
21 views

Keeping shortcode-generated widget and theme element in one line [closed]

I set up a playground site PlaygroundSite and I am trying to put Polylang language changer widget in the same line as linked-in icon. Because ascent theme does not contain a widget/sidebar area ...
0
votes
0answers
16 views

Check over a small apply button widget I have made for WP Job Manager

I have made a small widget that displays the apply button in the page sidebar. I am still quite new to WordPress widget development and am wondering if somebody would be kind enough to have a look ...
1
vote
1answer
175 views

Widgets not working in Customizr but working in Appearance

I'm having some trouble with my widgets. I've registered widget areas correctly; as the widgets are showing up in the "Appearance" menu. However widgets aren't showing up in the Customizr section of ...
1
vote
1answer
163 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 ...
1
vote
3answers
10k views

(WooCommerce) Remove Sidebar only on Single-Product page

I'm creating a theme and don't want to display the sidebar on single-product's page. Following the recommendations of WooCommerce, I made a copy of "templates" folder (under woocommerce plugin) and ...
0
votes
1answer
72 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 ...
0
votes
1answer
83 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
37 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 ...
0
votes
1answer
34 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
20 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
15 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 ...
5
votes
2answers
7k views

Give Editor Access To Sidebar

I want to give the Editor Role access to editing the sidebar and it's contents. I have a text widget in there and in order to edit this text widget the user needs to be an admin - this sucks. How do I ...
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( ...
3
votes
3answers
4k views

HowTo: Add Class to Sidebar Widget List-Items

The newest version of Bootstrap (v3.0) adds a new List Group component which has the following structure: <ul class="list-group"> <li class="list-group-item">Cras justo odio</li> ...
0
votes
0answers
25 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
106 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 > ...
5
votes
2answers
220 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 ...
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 ...
1
vote
1answer
417 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
0answers
49 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
19 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
117 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
21 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
32 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() ) : ...