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.
779
questions
0
votes
1
answer
35
views
How do you add a filter to wp-block-page-list?
I have read that the old pages widget allowed you to use a filter to include or exclude specific pages, but I can't figure out how to do this with the new block page-list widget.
I'm doing this on the ...
0
votes
0
answers
16
views
Hide Dashboard and Profile from non admin in sidebar
I want the Dashboard and Profile tabs to be hidden from users who are not administrators in Wordpress. Specifically, I created a user group order_manager and I want it to have access to orders only, I ...
0
votes
0
answers
21
views
Making theme translation available crashes sidebar
I have added this snipped to enable possibility to translate a website:
function florial_setup()
{
/*
* Make theme available for translation.
* Translations can be filed in the ...
0
votes
0
answers
121
views
Custom Block: Adding "Post Type" dropdown to Sidebar Settings
I'm pretty new to React, so I'm trying to find the simplest and most PHP-based way to achieve my goal.
What I've accomplished so far
Created custom blocks using the @wordpress/create-block package.
...
0
votes
0
answers
16
views
Trying to Make a Sidebar/Tab on Specific Posts
I have searched and contacted some plugin providers but couldn't find what I am looking for. In summary, I am trying to make a Sidebar that details the hotel and course info next to a post. Something ...
0
votes
1
answer
53
views
Side bar only if it's not a single post or a specific page
I'm trying to make my sidebar appear only if it's 'not a post' or if it's 'not a specific page'.
This is what I've tried.
<?php if (!is_single() || !is_page('about') ) { get_sidebar() } ;?>
<...
0
votes
1
answer
62
views
how can i modify the default wordpress sidebar
I need to hide the Uncategorized category from the default sidebar.
I edited the file wp-includes/widgets/class-wp-widget-categories.php, but I did not see any changes. Here is an image of my sidebar, ...
0
votes
2
answers
77
views
adding a (left or right) sidebar with underscores
I recently installed underscores but all the content supposed to be in the right sidebar (set with a widget) is under the main content: [https://test.sacconicase.com/case-vacanza/italia/toscana/marina-...
1
vote
1
answer
25
views
Add custom settings to widget areas
I'd like to add settings to sidebars defined in my custom theme - sometimes, for example, I'd like to be able to set a widget area to not display. Is this possible, I can't find any references for it?
0
votes
1
answer
52
views
Display different sidebar based on search results from one category
I have a website with a plant index page. It has a custom sidebar using A-Z Listings and a search form that only returns results from the 'plantindex' category.
When using the sidebar search form, say ...
0
votes
0
answers
48
views
Can't edit the widgets sidebar or footer
Why can't I edit my widgets sidebar ?
website can be found here.
0
votes
1
answer
445
views
Need Help With Making Full-Width Template for Blog Posts (common methods aren't working)
I've been researching this one for a while and can't seem to find the solution. But, I'd like to have a selectable template that I can use for certain blog posts to make them full-width by not ...
0
votes
1
answer
24
views
Sidebars panel in customizer
I write a template and I want to create a panel like widgets panel for footer. I register some sidebar which represent the columns of the footer and I want to create a panel which contains section for ...
0
votes
1
answer
208
views
How to tell if a dynamic sidebar is being displayed on page?
I'm trying to conditionally add a class of has-sidebar to a wrapper div, and I'm struggling to find a conditional statement to see if the sidebar is active on the current page.
For example:
<!-- ...
0
votes
1
answer
43
views
How can I show second most recent post in sidebar, if most recent post is open in the browser?
I am working on an online magazine in WordPress PHP. I created a custom post type (article) with 4 available custom categories. In the sidebar I want to show the most recent post of all the 4 ...