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
vote
1answer
32 views

Insert Widget option into mark-up with register_sidebar

I have added a custom field to my all widgets in my theme, called "custom-title". I have managed to save the field into the database for each widget, like so: s:12:"custom-title";s:17:"HELLO TEST ...
1
vote
1answer
519 views

How to “pair” two widgets side by side in one sidebar

Currently I use the Pinboard theme with 2 sidebars. In each sidebar I place one kind of widget several times. The point is that 2 widgets of a row (1 of each sidebar) belong together regarding the ...
1
vote
1answer
142 views

How do you List all Sidebars in a Metabox

I know this question has been answered many times before, including here where i came from so it'll probably be real simple. I've registered my sidebars as normal function wmw_sidebars() { // ...
1
vote
1answer
308 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 ...
1
vote
1answer
67 views

Admin option sidebar count

I need to add a count number to a option menu item in the admin sidebar. How is this done? I found a similar post: Modifying admin sidebar contents to show pending posts indicator
1
vote
1answer
102 views

Generate sidebar depending on height of post

I'm building a site which features sidebars next to each post/article displaying random thumbnails linking to other posts. Each sidebar should never be longer/bigger than the post it's sitting next ...
1
vote
1answer
110 views

How to call widget by widget's id?

Is it possible to call widgets using it's id? for example I have a sidebar. In this sidebar I put meta widget and tag cloud widget. I have got their id's ($widgets_list): 'meta-2' and 'tag_cloud-2'. ...
0
votes
1answer
20 views

Display post format post in the sidebar

I am trying to pull posts with the post-format of "quote" on my sidebar. I'm getting the code to spit out the else statement but that's about it so far. I am working in the roots theme if that helps ...
0
votes
1answer
19 views

Include inside sidebar

Is it possible to include a file inside or inbetween items in a sidebar? Here are the two functions being called: <?php get_sidebar(); ?> <?php get_template_part('testimonial-box'); ?> ...
0
votes
1answer
33 views

Calling dynamic_sidebar in plugin gives error

I am trying to call dynamic_sidebar from a plugin page. Whenever I do so, it returns a white page! Any idea why? What I am trying to do is to save the total sidebar output in a transient. I can get ...
0
votes
1answer
38 views

Adding Multiple Images to Sidebar Through Dashboard

I have a sidebar with 3 images hardcoded. I'd like to make it so you can change these through the WordPress dashboard. What's the easiest way to accomplish this? Using a plugin, custom post type? ...
0
votes
1answer
218 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
1answer
46 views

Same sidebar in all posts as in the category

I've made an option of creating unlimited sidebars, then there is an option to select any desired sidebar from a select element, which is a custom meta field, in each category edit page. So far so ...
2
votes
0answers
109 views

Multisite Widget/Content

I'm using WordPress multisite and need to display content across all subsites in the sidebar. This is a network of 50+ sites so updating all 50+ sidebars with this content every few days is not ...
1
vote
0answers
127 views

How to show dynamic side bar on menu item

I want to show dynamic sidebar content on menu item (within <li></li> tag) but unfortunately sidebar content show top of <nav></nav> tag, i mean top of the menu and where i ...
1
vote
0answers
41 views

Get sidebars depending on page

Is there a way to get only the sidebars used on a particular page? Using: global $wp_registered_sidebars; $widget_map = wp_get_sidebars_widgets(); Can get me all of the sidebars, but I'm ...
0
votes
0answers
10 views

Excluded pages continuous displaying

I put some page id's in excluded page in sidebar but still these excluded pages continuous displaying to the sidebar which is not to be display. I'm using different plugin but still those excluded ...
0
votes
0answers
14 views

How to hide a Sidebar from other admins?

Is there a function way that I can hide a sidebar from other admins? Meaning they can't see it so they can't edit its content but it is still there? I'm wanting to place my copyright, developed by ...
0
votes
0answers
22 views

echo widget contents

I am trying to echo a widgets into my content as so: function myfunctionid() { if(!is_admin()){ $wppopsidebar = dynamic_sidebar('wp-pop-panel'); $insert = ...
0
votes
0answers
16 views

Adding repeatable fields used in Widgets?

How can adding repeatable fields used in Widgets? I want add (Add more country favorites fields) and remove (Example ... France) what I actually Have what I want Any tips?
0
votes
0answers
39 views

Working widget does not show up in appearance->widgets

I try to add a custom widget for use outside of a normal sidebar. For that I have created class myfirst which extends WP_Widget and with appropriate function overrides. namespace widget; class ...
0
votes
0answers
16 views

How to unregister sidebar for template_part?

Can you help me please? I have this code in my index.php: php get_sidebar(); And I have a template_part 'loop-fullwidth', which I call in index.php. I need to register sidebar for index.php and ...
0
votes
0answers
34 views

Showing anchor links in sidebar for headings only on a certain page

I want to be able to add anchor links to header ids in one of my WordPress pages, and then show links to those ids in the sidebar. The sidebar is built like this in content-page.php: <?php ...
0
votes
0answers
30 views

Wanted to collapse all the widgets in sidebar by default via jQuery

I already applied jQuery on footer to Slide them up but i noticed that when the page is completely loaded the widget slides up properly but dont know how this again slides down automatically. I m not ...
0
votes
0answers
34 views

Display custom menu on specific post/page

I have a real problem with Wordpress. My need is this: I have three main pages that every one must display a list of sub-pages (custom menu) and a list of events related to that specific page. Both ...
0
votes
0answers
16 views

How to select widgets top bottom?

i'm add widgets in functions.php: register_sidebar(array('name'=>'sidebar1')); register_sidebar(array('name'=>'sidebar2')); in index.php how to code: set options sidebar1 or sidebar2 to top ...
0
votes
0answers
560 views

Change the sidebar from left to right twentyfourteen theme

I am creating a site using 2014 theme. I would like to remain with the theme but however, I am interested in shifting the side bar from left to right as it is more ideal for my site. Is it possible to ...
0
votes
0answers
42 views

Why isn't my registered sidebar showing up in the admin?

I'm using sidebars in my mega menu drop downs to let the admin add widgets specific areas of the menu: <ul class="sub-menu"> <li class="sub-menu-item first"> <ul> ...
0
votes
0answers
12 views

User info in the admin sidebar

I think nobody has yet think of this, hope someone can help me. Im trying to add a user info pannel in de admin sidebar, right at the top. Just like the wp-admin-bar-my-account in the admin bar, just ...
0
votes
0answers
40 views

wp_register_sidebar_widget in loop within a plugin?

I'm trying to dynamically create widgets based on a posts from a post type. The code is as below. This function is pulled from my plugin class: public function initWidgets() { // Config ...
0
votes
0answers
34 views

More than one dynamic sidebar

I created 3 dynamic sidebars in my function.php file, everything went well, no problems. in a file named, sidebar-services.php, I have the following code. <?php /** * The Sidebar containing ...
0
votes
0answers
57 views

Automatic menu creation for pages with categories?

This may be a stretch, but I have a site that has a large number of pages, and i've given the pages categories (with a plugin that let me add categories to pages). I now want to create a sidebar menu ...
0
votes
0answers
71 views

Duplicate sidebar with duplicate post plugin

I'm using http://wordpress.org/plugins/duplicate-post/ and http://wordpress.org/plugins/per-page-widgets/ . The duplicate-post plugin doesn't copy all the settings from the page-widgets plugin. I try ...
0
votes
0answers
32 views

Change the order of sidebars in admin

Say I use a child theme and my parent theme already registered four dynamic sidebars. Now I am registering a fifth dynamic sidebar in the functions.php of my child theme. In the backend that last ...
0
votes
0answers
117 views

Inkness theme sidebar

I am using the inkness theme for my site, mostly it works fine apart form when I try to remove all of the widgets from the sidebar. When I do this the widgets for the archive, search and meta ...
0
votes
0answers
60 views

Add class from custom field into widget class

How would I add a class coming from a custom field to a widget? I know I should put it somewhere into $before_widget ... in my case this is 'before_widget' => '<aside id="%1$s" class="widget ...
0
votes
0answers
61 views

need a wordpress loop to put in the sidebar

I need WordPress loop to do the following : check if there is no sidebar widgets active then get 5 recent posts with only titles and thumbnails But here is the thing : I don't want the loop to get ...
0
votes
0answers
68 views

Title after content dynamic_sidebar

Is there a configuration to change the dynamic_sidebar widget's title order? I want to display title after the content. I used JavaScript to swap it at page load and looking for a robust -- tangible ...
0
votes
0answers
16 views

Using widgets on an options page?

hopefully someone more experienced can help me out with this idea I've got... I'm working on a new theme, and I'd like this to be widgetised. I've done this before using the regular widgets/sidebar ...
0
votes
0answers
18 views

Need an idea of how to realize filling of accordion by editors

I have and accordion (something like this one but smaller). I already made one. OK. But I can fill it only using WordPress built-in theme editor (just changing php). My customer don't like this ...
0
votes
0answers
59 views

How can I get the sidebar id on the current page?

How can I get the sidebar id on the current page? The question is simple. I have looked at is_active_sidebar(), is_dynamic_sidebar() but they don't provide the info that I need.
0
votes
0answers
67 views

How to Remove Sidebar when get_sidebar() is not get called in page?

I see in my WordPress theme, there is no call of get_sidebar() in single.php etc. but sidebar comes. Here it is telling about customizing based on get_sidebar(). I want to use get_sidebar() to ...
0
votes
0answers
384 views

is_home() and is_front_page() not working in sidebar

I'm trying to display a custom widget in the sidebar of my homepage (which is a static front page defined in Settings > Reading). Here is the relevant part of my sidebar.php: if ( is_front_page() ...
0
votes
0answers
52 views

Automatically hide Widgets that would lengthen page

Something I've been dreaming about ever since I started using CMS's for making websites. I've settled on WP now, so hence I'm asking here. I conditionally hide widgets on certain pages that are very ...
0
votes
0answers
104 views

How to manage a 200 sidebars website? widgets.php page is way too slow!

I'm using a plugin called "Simple Page Sidebars" (http://wordpress.org/extend/plugins/simple-page-sidebars/) to manage the sidebar of pages. The problem is that now, I have more than 200 sidebars in ...
0
votes
0answers
26 views

My side bar is missing from new pages.

Really not sure what is going on here. First tried creating a new page with "Default Template" - Header and Footer look good, but no sidebar. I then decided to create a custom page template: ...
0
votes
0answers
51 views

sidebar - widgets versus code - options

I decided to use Widgets in my sidebar on the advice of another designer who thought the site would take too long to load if I used the images I'm using for titles and branding. I'm dissatisfied with ...
0
votes
0answers
22 views

Template is different with and without comments

My referenced website is at http://angelopardo.com/wakeupbeast and I've built it as a child theme of twentytwelve. Pages and single posts that have comments are displaying correctly, where the ...
0
votes
0answers
69 views

Group post archive by last two weeks and months

I want to show an archive menu in each page in the following manner: Today Yesterday This week Last week This month Last month Earlier How could I do that?
0
votes
0answers
21 views

different contents and same sidebar approach?

I have a static header, sidebar and footer and then a varying content for single.php. What is the right approach to put contents in the div=content part? Say I have 3 different pages (article, stuff, ...