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

2
votes
1answer
125 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
1answer
46 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
157 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
330 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
69 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
112 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
9 views

sidebar not displaying when using get data

I have a sidebar as a widget which displays correctly on all pages depeneding on the super page id. I am using a custom function to calculate and display the required sidebar. function ...
1
vote
0answers
147 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
12 views

Displaying Custom Sidebar Without Modifying Theme's Core File?

Is there a way to display custom sidebar created with a plugin on the wordpress front-end without modifying theme's core file? EDIT: Here is what I currently doing: I hooked the custom dynamic ...
0
votes
0answers
14 views

Custom options for sidebar (widgets container)

How can I create custom options for the sidebar? Like toggling the sidebar and setting its width, right from the widget area? I can do this for widgets but not the sidebar. Here's an illustration of ...
0
votes
0answers
8 views

Divide / Break sidebar in two

I have to implement a design where I need to divide the sidebar in two. Please see the below image of the design. I managed to split the posts from the main loop by using a counter. After the first ...
0
votes
0answers
30 views

Add classes to individual sidebars

This is my first time posting on here so let me know if I don't follow any rules or best practices. I'm creating several sidebars through our WordPress site and not all of them will be styled the ...
0
votes
0answers
37 views

How to change the widget's instance settings depending on sidebar

I want my widget to have one default option value in sidebar-1 and another in sidebar-2. How can I do it? I know wp saves widget right after drag and drop it into different sidebar in widget admin ...
0
votes
0answers
36 views

How to exclude sidebar from pages?

I put some page id's in exclude page in appearance -> widget -> pages -> left sidebar. But these pages still exist in sidebar which is not to. Site: http://goo.gl/ek63ye Here's the code of left ...
0
votes
0answers
15 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
29 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
19 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
79 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
46 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
44 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
58 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
17 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
711 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
45 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
13 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
45 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
35 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
63 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
93 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
35 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
138 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
63 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
62 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
76 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
17 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
69 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
70 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
427 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
53 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
106 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
27 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
52 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, ...