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

-1
votes
0answers
14 views

Sidebar doesn't appear on front page

When I uploaded my theme to wordpress, it didn't show the sidebar on the front page. It didn't had "get_sidebar" command in index page so I added it under get_header and then my main content bar ...
-3
votes
0answers
24 views

how can i make a wp category sidebar with image with multi background color

I want to make something like this: I install SF Taxonomy Thumbnail plugin in wp and use this code: <?php $taxonomy = 'category'; $args = array('with_thumbnail' => true, // true = retrieve ...
-5
votes
0answers
26 views

How to make my theme responsive

I am trying to make my theme 100% responsive. it has a main content area and a sidebar. but when i try to minimize the browser, the sidebar overlaps the main content area .it looks like this. I am ...
-3
votes
0answers
18 views

Sidebar problem in sydney theme

I am using Sydney theme and right now I just made a website. However the sidebar thing doesn't work properly. I mean when I put 3 widgets in the sidebar then only the 1st widget works and the other ...
-2
votes
0answers
17 views

How do I remove the sidebar from this whole theme?

It's called Shapely and here is it's download site. I would like to remove the sidebars in general. I want to do it the right away instead of "display: none;" it in CSS.
3
votes
2answers
58 views

Best way of making multiple sidebars

I am very well aware of how to make multiple sidebars. But I believe my way is not proper way of adding multiple sidebars. This is how I add multiple sidebars If I simply wants to create a sidebar ...
0
votes
0answers
37 views

Generate sidebars based on input value?

I have an input wich returns the following as an example: sidebar-one:1,sidebar-two:1,sidebar-three:0 1 is for active 0 is for inactive Can someone tell me where am i wrong on this code: function ...
0
votes
0answers
22 views

Moving widgets panel in Customizer one level up

When adding widgets into the sidebars using the Customizer, there is one unnecessary step till you get to panel with the "Add a Widget" button. Three steps: Widgets → Sidebar → panel with ...
0
votes
0answers
21 views

Creating a custom sidebar section - adding widgets causes “Errors”

http://www.new.techmoney360.com/keek-provides-updates-on-peeks-product-launch/ - is an example of the work I'm doing right now. An example of a sidebar area I'm tying to achieve http://www.vice.com/...
0
votes
1answer
38 views

Add Social Media icon widget to customizer

How can I add a Customizer widget to add social media icons with links to their social media profiles? To clear it up, I have created a few images with the inspect element. I want to have a section ...
0
votes
1answer
18 views

Check if sidebar is active on page with id

How can i check if a certain sidebar is active on a certain page from functions.php using page id or some other page meta data?
-2
votes
1answer
29 views

Trying to Add a LEFT Sidebar?

I'm running the base 2016 wordpress theme. I have modified it to allow for a left side sidebar. I am able to see the admin side of the sidebar like so: I have registered the call in the functions....
0
votes
0answers
14 views

how to display a sidebar widget based on a dynamic custom field?

I used to manually assign a sidebar to a post based on a custom field using the following code in the sidebar global $wp_query; $postid = $wp_query->post->ID; $sidebar = get_post_meta($postid, "...
0
votes
1answer
32 views

How to append custom text to the output of 'categories widget'?

How do I customize the "categories widget" to append additional text on the sidebar display? from category 1 category 2 category 3 category 4 to category 1 folder category 2 folder category 3 ...
2
votes
1answer
28 views

How to exclude certain widget from showing up on home/front page? [duplicate]

Without using a plugin, how do I prevent/exclude the sidebar widget "recent posts" from showing up on the home/front page? I do want it to show on the sidebar of rest of other archive/post pages.
0
votes
1answer
38 views

Adding classes to dynamic sidebar

Hey so I am trying to create this conditional that auto creates a grid layout when widgets/sidebars are added and removed. The goal is let the user put in as many widgets as possible without worrying ...
0
votes
1answer
20 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
2answers
47 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
29 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 ...
1
vote
1answer
31 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
1answer
23 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
17 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 ...
0
votes
2answers
21 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) ...
0
votes
1answer
43 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, ...
3
votes
1answer
44 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
29 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 ...
3
votes
1answer
150 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
67 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
23 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 there,...
0
votes
0answers
18 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
522 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 ...
0
votes
1answer
131 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 if(...
0
votes
1answer
194 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
40 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
22 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
16 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
7 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
34 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 ...
3
votes
0answers
144 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
25 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
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
148 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
23 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
38 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
36 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
96 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
21 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
27 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
303 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 "...