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

0
votes
0answers
8 views

Navigation Menu to Sidebar

I'm using a theme that, when used on a mobile device or a small screen, converts the navigation bar at the top to a dropdown menu. However, I'd much rather it be a push menu like the one Facebook ...
0
votes
0answers
9 views

Sidebar text widget and duplicate content [closed]

Is a text sidebar widget OK with SEO point of view? This widget has a 100 words text and its shown on every page. I am concerned about duplicate content issue. I have a website that lists upcoming ...
-1
votes
0answers
28 views

WooCommerce: Product price filter not showing up [closed]

I'm trying to add two widgets (filter price and navigation layer) to my sidebar but they are not showing up. sidebar.php <aside id="sidebar"> <?php if ( is_active_sidebar( 'sidebar-1' ) ...
1
vote
2answers
37 views

Way to hook into a sidebar call to replace it with a custom sidebar

I want to replace the sidebar-2 in the twentyforteen theme with a custom sidebar based on a conditional statement for CPT. So if the page is showing a certain custom post type then show my custom ...
1
vote
0answers
19 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 ...
0
votes
1answer
39 views

Adding a meta box to determine the sidebar [closed]

I was trying to customize my WordPress, and I have added some custom meta boxes (it adds custom field) to add values in it, but I don't know how to do this one... I want to a Meta Box, which will be ...
0
votes
1answer
30 views

Selecting a dynamic sidebar via metabox in wordpress

I am developing a wordpress theme where are 3 sideboxes. I want to select a sidebox through metabox in my admin page so that particular sidebar shows up in front-end. My codes are:- In function ...
0
votes
0answers
17 views

Restore Theme based sidebars after migration

I migrated a site with the Cosily theme using BackupBuddy. I never had issues before and the clones were always flawless. Now I had to do it manually and some urls were not adjusted properly. I ...
0
votes
2answers
28 views

is_active-sidebar loop

So I have 4 widgets which is in large-3 columns, when they're not active I place a placeholder as user guide so the user would know where to put what. I did manage to work out the is_active but it ...
-1
votes
0answers
17 views

How do i make a tab menu consisting of sidebars or widget areas NOT just widgets

or alternatively a tab menu where each item is a display of more than one widget, I was wondering how i should go about achieving this effect with wordpress, i currently have a number of ...
2
votes
1answer
38 views

List sidebars on a page

I need to generate a list of sidebars on a given page. I know how to list all sidebars that have been registered, and all sidebars that have been registered that have active widgets, but I do not know ...
0
votes
2answers
25 views

How to use get_sidebar in plugin folder?

I've created the plugin that adds custom post type and custom taxonomis for this post type. Templates for the post type and the taxonomies are located in plugin folder. Now I need to add sidebar for ...
1
vote
1answer
25 views

Why use dynamic_sidebar() conditionally?

In the codex example of displaying sidebars, what is the significance of the conditional wrapping around the call to dynamic_sidebar? Why do this: <?php if ( ...
0
votes
0answers
7 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
33 views

Hide Password Protected pages in Recent posts

I have the following lines of code in my functions.php file: // Filter to hide protected posts function exclude_protected($where) { global $wpdb; return $where .= " AND ...
0
votes
0answers
20 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
26 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
1answer
18 views

if is within sidebar [duplicate]

I have several sidebars (more then 1 on a page) and I would like to set different image sizes to widgets, depending in which sidebar they are located. I tried if( ! dynamic_sidebar('my-sidebar') ) : ...
0
votes
1answer
24 views

Creating a Playlist of Widgets

I'm trying to create a specialized theme that would enable users to show a playlist of widgets in their sidebar. By playlist, I mean that each widget in the sidebar would follow a specific schedule. ...
0
votes
1answer
54 views

How to display only some widgets of a sidebar?

I would like to break up a sidebar over three containers. Each container should hold up to three widgets of the sidebar. Therefore, I need to find the HTML for only the widgets 0 to 2, 3 to 5 and 6 to ...
0
votes
1answer
30 views

Display sidebar that created in functions.php

I'm currently using Wordpress theme for my website. Decide to create my own sidebar, but the styling of it must be remain the same one as original sidebar. I'm had create a new sidebar in ...
0
votes
1answer
61 views

Can't find link to add content to pages

I'm new to wordpress and I'm facing a problem. On one site I'm using wordpress v3.5.1 and I am using links in the sidebar to add content and images to several pages: As you can see on the left I ...
0
votes
0answers
25 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
1answer
93 views

Why and how is twentythirteen adding a margin-top to my footer?

I'm using the twentythirteen theme with a child theme. I tried to solve the infamous overflowing sidebar problem this way: - made the content float left with a fixed width - made the sidebar float ...
0
votes
2answers
35 views

creating single page with 2 columns while theme is 3 column

I am using Diapason theme , which gives me an option for both 2 column or 3 columns...My requirement is 1:- all pages except home page (static) should have 3 columns 2:- Home Page should have two ...
0
votes
2answers
26 views

get_posts() in secondary sidebar messes up content in primary sidebar

I use get_posts() to generate a menu of posts having the current page as the parent. This causes the post_id to be set to the first such post, instead of the original page's post_id. I.e. I want ...
0
votes
0answers
43 views

Displaying post author's buddypress profile details in sidebar

I'm trying to display the following items in the sidebar of posts: Post Author avatar Their name (link to buddypress profile) Send them a private message Add them as a friend I have tried a few ...
0
votes
0answers
33 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
1answer
16 views

Loading a sidebar on an Ajax call

I wanted to load a custom sidebar when doing an Ajax call, so I found the way with: add_filter( 'loop_start', 'my_sidebar_widget', 25 ); but it is showing the sidebar even in media admin panel, so ...
0
votes
0answers
21 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
69 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
39 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
1answer
41 views

Where is dynamic_sidebar content defined?

A friend has asked me to edit a WordPress site that someone else has made for them. Part of it contains the following code: dynamic_sidebar('footer4') Which spews out a contact form. What I want ...
0
votes
1answer
25 views

how to exclude in sidebar

I following insert adsense code. but post is less than count ,adsense appear to sidebar widget. how to exclude in sidebar? add_action( 'widgets_init', 'wpse_84250_register_ad_widgets' ); ...
0
votes
0answers
43 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
1answer
37 views

Get specific sidebars $wp_registered_sidebars [closed]

I've got the following functions as in this pastebin in a child theme: http://pastebin.com/uzjmXiyN This functions creates a drop down box from where you can choose a sidebar for use on a ...
0
votes
2answers
50 views

Get a sidebar at the top of the page

I want to get a sidebar ( get_sidebar( 'mySidebar' ) ) at the top of the page, so I can't call it after get_header() in the content template. How could I do it?
0
votes
1answer
43 views

how to call new widgets in sidebar in custom theme?

I am developing a theme in which I want to call available widgets ex. Calendar and the installed plugin, I have put it in the sidebar from widget panel but can't see in frontend. Sidebar.php Code-> ...
0
votes
1answer
29 views

How to Use the Filter “sidebar_login_widget_form_args”

I need to rename some of the labels on the Sidebar Login form using the sidebar_login_widget_form_args" filter; I have been trying few days to do this without any success. I would very much ...
0
votes
1answer
31 views

What conditional to use for dynamic sidebar check?

I have looked here on WA and also on the codex but there is no definitive source that I could find. Which is the proper/best way to check to see if a dynamic_sidebar is active and contains a widget? ...
5
votes
2answers
76 views

Retrieve each widget separately from a sidebar

I would like to retrieve each widget existing in a sidebar in order e.g. to mix them with posts inside the main loop. I know I can use different widget areas (sidebars) but this approach clutters the ...
1
vote
2answers
637 views

(WooCommerce) Remove Sidebar only on Single-Product page

I'm creating a theme and don't want to display the sidebar on single-product's page. Following the recommendations of WooCommerce, I made a copy of "templates" folder (under woocommerce plugin) and ...
0
votes
2answers
21 views

Why does my sidebar get dragged down on this specific uid?

My sidebar is getting dragged down on uid=1: http://www.mrgeek.me/contributors/?uid=1 Now, the other contributor pages have the same underlying markup, yet they work fine. For example, uid=3, ...
0
votes
1answer
49 views

Sidebar on single.php not showing up

So, my sidebar is working just fine on my blog page: beta.cleantelligent.com/blog However, when you click a single post, I'd like that same sidebar to show up. I am assuming this would be under ...
0
votes
3answers
46 views

Changing sidebar.php and footer.php depending on URL

I posed a similar question a few days back, but perhaps I put the question a bit incorrectly. I would like my footer.php and sidebar.php to change depending on the URL. If URL contains /ru then show ...
0
votes
1answer
44 views

Template from scratch: Sidebars not showing widget

I have an issue wherein i have a plugin (newsletter) which has a widget whereby users can (usually) subscribe to a newsletter and other functionality. But i digress. I have been trying to create ...
1
vote
1answer
59 views

How to allow admins to create a sidebar from the admin

I'm creating a WordPress theme and I've noticed that a lot of premium themes allow the users to go to Appearance->Sidebars and create a new Sidebar by simply giving it a name. The user can then Go to ...
0
votes
0answers
40 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
1answer
47 views

Best way to add internal link in widget

I'm looking for a way to transform a static piece of code into a widget to display in different sidebars containing a simple internal link. The basic code is: <div class="my-link-box"> <a ...
0
votes
0answers
13 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 ...