Questions tagged [sidebar]

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 an administrator of the site can customize.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Stop Expansion of Top Level Menu in the WordPress Admin Sidebar

Can anyone tell me how to stop the top level menu items in the WordPress Admin sidebar auto-expanding when that top level item is clicked, or a submenu item chosen from the fly-out menu? For clarity, ...
0
votes
1answer
18 views

How can I have sidebar widgets on Twenty Seventeen theme on all pages?

How can I have sidebar widgets on Twenty Seventeen theme on all pages? Right now it's possible only on Blog page, not on any other page. Thanks for any help, Afan
0
votes
0answers
21 views

single post specific sidebar containing related posts

I need to create related post left sidebar navigation for the post, a different sidebar for a different post… you can visit this URL I want exactly like this: check this link
0
votes
0answers
19 views

How to increase the Wordpress sidebar width?

I currently use the Hestia theme for Wordpress. I searched for the increase of the Sidebar width on Google, but that did not help me at all. Basically I just want to increase the sidebar and decrease ...
1
vote
0answers
21 views

Wordpress CPT save metadata in gutenberg

I'm trying to wrap my head around the new sidebar api vs metabox issue when trying to come up with how to save metadata for a custom post type. I've got a couple websites I'm going to be creating that ...
0
votes
1answer
21 views

The WP home page corrupted after switching to new theme

We are an office in The university business incubator as one company and in site of the university, our parts have had some problem after switching to new theme. one of Employee of this university ...
0
votes
0answers
23 views

Editor Sidebar CheckBox Function

EDIT: I am looking for an example function to put a checkbox in the sidebar of the editor. I prefer to copy/paste without needing to learn Java-Script first. See below for more details. The Problem ...
0
votes
1answer
14 views

Different Sidebar for same Taxonomy

I am using a wordpress site with coupon theme i purchased it from fametheme. They used taxonomy to create store and coupons. In taxonomy (Store, Coupon) there are same sidebar. If i wrote in sidebar ...
0
votes
0answers
21 views

Is there a way to create a sidebar of bullets

On each individual post im trying to create a sidebar for my sources of information. is it possible to have a sidebar labeled sources with bullet points coming from it that im able to put links?
0
votes
1answer
23 views

Remove sidebar on single page using plugin API

I’m building a plugin that requires a full width page for a large table. I want to control the sidebar on that page regardless of the theme being used. How do I either, remove the sidebar ...
0
votes
0answers
25 views

How to create a collapsible side menu using a walker?

I'm using wp_list_pages($args) to create a side navigation. I need to make the menu collapsible on mobile. Using a custom walker, 'walker' => new sidebar_walker(), within the $args and then class ...
0
votes
2answers
34 views

Dynamic sidebar rendered in another place than i would like

I'm trying include dynamic sidebar to Uncode Theme. I created child template, then I created all files and now I have a piece of code who shows content and sidebar area. In functions.php I created ...
0
votes
1answer
108 views

Add class to <ul> on sidebar widget

I have been looking on stack overflow and the web but can't find a simple solution for this. I just want to add a class to the of the widget sidebar generated by Wordpress. This is my register ...
0
votes
0answers
15 views

Get sidebarname in widget on the adminarea side

I'm working on a custom widget. When on the widgets.php page in the admin area (so not the front-end) of the WP site I want to dynamically get the sidebarname of the current sidebar inside my widget. ...
0
votes
2answers
38 views

dynamic_sidebar() stopped working

A custom page template which has been in use for 3 or 4 years which rendered a custom sidebar has suddenly stopped rendering it. I can't for the life work out what the problem is. /* functions.php */ ...
0
votes
1answer
35 views

Adding widget to sidebar which contains current page's submenu

Need to insert the sub menu of the current page into the current page's sidebar. Is this possible? What I'm interested in developing would be a menu that looks like this: menuItem1 => subitem1, ...
0
votes
1answer
39 views

Co-author plus: list of posts by authors in the sidebar

I am using co-author plus. I would like to display all/recent posts by authors of a post in the sidebar. Is there a way of doing that? Plugins like Author Recent Posts do not work with Co-author plus. ...
0
votes
1answer
31 views

Disable Sidebar on certain pages

Good day! How do you disable/remove sidebars in certain pages? Do I need to install a plugin(what plugin)? Or should I do a custom code? Thanks.
0
votes
1answer
23 views

Sidebar pagination posts not shown when sidebar is in single.php

A quick question. So I have created a loop in a new file called sidebar-extra.php which I include via the header.php into my single.php file. Problem: when I go to a post (single.php), I can't see ...
-1
votes
1answer
85 views

How to create a post template with two sidebars

I'm looking for a way to have a post template that has two sidebars, one on the right side, the other on the left side, with always the same content on each one of them. I defined that left sidebar ...
0
votes
0answers
11 views

Custom Sidebar to show in posts based on parent-child category

If you look at the following URL: http://staging.cancerwellness.com/stories/resources/ you will see that I have a custom sidebar. How can I have the sidebar that I created to be shown based on the ...
0
votes
0answers
50 views

Move to top the shop sidebar in the shop page

I've my shop page where as a mobile I see the shop sidebar at the bottom. I would like to display it at the top before the products. I have tried various solutions found on the web but I have not ...
0
votes
1answer
49 views

Display child-page links in sidebar on both Parent Pages AND Child Pages

I am currently developing a WordPress website that has a sidebar on most of the pages, this sidebar is supposed to display a small navigation of any child pages that are under the current parent page ...
0
votes
1answer
174 views

Gutenberg sidebar example does not update meta field in the database

Gutenberg example for creating sidebar https://wordpress.org/gutenberg/handbook/designers-developers/developers/tutorials/plugin-sidebar-0/ does not keep what is entered in the box. After refreshing ...
3
votes
2answers
220 views

Show missing Sidebar from Gutenberg admin area

I hid the custom sidebar from Wordpress example https://wordpress.org/gutenberg/handbook/designers-developers/developers/tutorials/plugin-sidebar-0/ by pressing remove from toolbar star in the panel. ...
0
votes
2answers
116 views

Problem adding sidebar to Underscores theme

I have been struggling with this for hours now, any help appreciated. I am using Underscores theme with one sidebar (sidebar-1, on the left) and Custom Sidebars plugin so that I can have different ...
0
votes
0answers
32 views

Filter for widget media image

There is a filter for "widget_media_image"? I'm trying to add new attributes using preg_replace but i can't find the correct filter for this widget.
0
votes
0answers
34 views

A PAGE IS SHOWING AS A POST

I have an issue with a page in WordPress, its showing as a posts page with the sticky right sidebar, I want to remove the sidebar any help ?
1
vote
2answers
14 views

Same date is repeating on my custom 'Most Recent Posts' on sidebar

If you look at the 'most recent posts' on my sidebar for my posts page, you can see that the 'date' is repeating. The code and page is below. Any help would be appreciated. Thanks! https://...
0
votes
0answers
27 views

Woocommerce widgets don't appear on my custom template

I have created a page in Divi theme, and i displayed the shop grid with a loop. I tryied to add in the sidebar, a widget (Filter by price), but it doesn't appear on my custom page, but in the shop ...
0
votes
0answers
11 views

Cynamic_Sidebar Content Storage

I'm trying to refresh my test environment with current data from my production environment and after copying the wp-content file structure and database, I noticed the sidebars didn't seem to update. ...
0
votes
1answer
30 views

How to add custom php file to right sidebar?

I have created a quick contact form php file where visitor click it slides out a contact form to fill the details ,to add in right sidebar how to add in every pages and post any help how to add in ...
0
votes
0answers
24 views

Creating navigation menu out of page-related parent/child/grandchild relationships

I am trying to create a sidebar navigation menu, that detects what pages are related to the page you are currently viewing, and then outputs the whole hierarchy of this family-tree inside a tiered ...
0
votes
0answers
17 views

Creating dynamic Sidebar

I am newbie here, and I want to ask help regarding my issues. I am trying to create dynamic sidebar that will work same as with this site (http://www.taylor-dejongh.com/about/). there is left and ...
2
votes
1answer
217 views

How to replace WordPress sidebars (widget areas) with Gutenberg

I'm trying to build my first Gutenberg theme, and I want to build a page template with the layout as shown below: Pre-Gutenberg I would have built widget areas into the page template to create the ...
0
votes
2answers
50 views

Sidebar by Category Conditional Statement not functioning

I have two categories for my posts, "event" and "long-term-leasing." I have sidebar-events.php and sidebar-long-term.php. I wrote a conditional statement in single.php, but when I view a post it only ...
0
votes
1answer
19 views

unordered list loop not showing up in sidebar

I have a custom sidebar named "sidebar-events" that should only display posts in the "Events" category. I placed the following code in the sidebar. The header appears, but not the unordered list. In ...
2
votes
1answer
378 views

Show all posts in sidebar in single.php

Wordpress 4.x Why does the loop.php only show the current post in the sidebar when I view a post in single.php? I have: Post One Post Two Post Three If I view "Post One" (single.php), the sidebar ...
0
votes
1answer
234 views

How to display products in sidebar in 2 columns?

I would like to put products view to sidebar on each blog page. However, it prints 3 columns by default which does not really look nice: I tried these approaches: 1) Editing functions.php of my ...
0
votes
1answer
127 views

Cold Fusion to Wordpress

I've been tasked with moving a website from cold fusion to wordpress. In the old site there are several templates that are brought into the site via cfinclude. I've coded most of a custom wordpress ...
0
votes
1answer
53 views

Add a class to a dynamic sidebar's wrapper

I am making a plugin to display featured pages of a site, but it depends on a flex container and i cannot assure that a user's sidebar is going to have a display of flex. However, looking for ...
1
vote
2answers
32 views

Adding sidebar to template creates horizontal gap the size of the side bar

I have been killing myself trying to figure this out on my own. And I for the life of me cannot figure out what is causing my issues. I created a template for the testimonials page and used custom ...
3
votes
1answer
65 views

How to avoid widgets added to sidebar on theme activation?

I am registering 3 sidebars on widgets_init register_sidebar(array( 'name' => esc_html__('Left Sidebar','creatus'), 'id' => 'left', 'before_widget' => '<div ...
0
votes
1answer
32 views

If page or sub page not working as expected

I would like to display a specific dynamic sidebar the the "about" page and its children. From the codex, I have tried the following: <?php // Begin main loop if ( have_posts() ): while ( ...
1
vote
1answer
64 views

Dynamic_sidebar inside wp_nav_menu

I have Menu created by wp_nav_menu. Inside it, I want to set dynamic_sidebar but wp_nav_menu instead of displaying the content, throws 1. Have everyone some tips for display sidebar inside ...
0
votes
1answer
168 views

Custom sidebar for custom post type

Currently I have 2 custom post types -> Events and Food. Whenever I'm posting something I use taxonomies to act like categories for them. The problem I have is: when I'm inside a taxonomy archive it ...
0
votes
2answers
55 views

My theme didn't appear sidebar area

I tried to customize my WordPress theme but it shows this error. Your theme has 2 widget areas, but this particular page doesn’t display them. You can navigate to other pages on your site while ...
-1
votes
1answer
21 views

Can't edit Contact Us form on front page

I can edit everything on the homepage except the Contact Us form. It is not a gravity form listed in our list of forms, and it is not a contact form 7 plug in. It is not a sidebar. I cannot get to it ...
1
vote
1answer
70 views

Sidebar on the wrong side of the page

I'm building a website on WordPress through a child theme based on Dazzling. The website is http://theaerogeek.com/ The problem I'm having is that the sidebar of my website is being shown on the ...
0
votes
1answer
24 views

How do I show breadcrumbs when sidebar is not applied?

Currently using the 'maisha' theme. Created custom page to display breadcrumbs for all pages, however, when a sidebar is not applied or turned 'on' in the widgets section, the breadcrumbs disappear. ...