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
1answer
38 views

Is it ok to chop index.php and include files?

So in my index.php I called get_header(), get_sidebar() and get_footer(). My index.php is kind of huge. It is separated into 5 divs more. How do I make it cleaner? Is it safe to chop it to files and ...
1
vote
2answers
63 views

Disable widgets on specific posts

I run a horror related blog. Google is upset with me for displaying adsense in a sidebar widget for one specific post number (4603) that contains an article about an 18+ topic. How can I disable the ...
0
votes
0answers
41 views

sidebar keep getting down

I have website with wordpress. I have problem in sidebar widgets. when i implement the google search code in search.php file , the search works fine. but in the search page, sidebar came down. ...
1
vote
1answer
59 views

Call sidebar from a template

I need to call a sidebar into my header. I've switched to the new twenty twelve theme and created my own child theme. With this new theme I decided to keep things organised and together, so I put my ...
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, ...
2
votes
2answers
183 views

I need some direction on how to have a sidebar based on meta rather than page

I'm working on a plugin that allows the user to create "page/post types", customize the type style, then tag a page/post with that type. All of this works. My problem is this plugin also needs to ...
0
votes
1answer
89 views

Custom sidebar not showing in the dashboard

I am trying to create a new sidebar. For that I have used the following code: In functions.php if ( function_exists('register_sidebar') ) register_sidebar(); if ( function_exists ...
0
votes
2answers
588 views

How to edit contents of dynamic_sidebar()?

I know PHP well but I'm new to Wordpress. I got an incomplete Wordpress website. It has a static home page with an Aweber newsletter form. I tried digging into installed theme and in home.php I came ...
0
votes
0answers
61 views

wordpress pages sidebar widget missing on homepage

http://www.dual-diagnosis.org.uk/ The Sidebar widget with my links in on the right is missing from the home page, it appears everywhere else just not here, any ideas?
0
votes
2answers
290 views

How to add the sidebar in all category page

I created custom post type. I created category called product-categories. I listed all categories in sidebar.php. How to show the sidebar in all the category pages listing all the categories. ...
0
votes
1answer
367 views

add sidebar area to header of child theme

How can I add some extra sidebar locations for widgets in a child theme. The difficulty I'm having is because the parent theme uses some pretty gnarly setup to define the current sidebars. I would ...
0
votes
1answer
139 views

Show or hide custom menu widget in side bar conditionally

I have been trying and searching to accomplish this. I have the "custom menu" widgets "Members Area", "Admin Area" in side bar, assigned menus to them. Fine, they display. I want to show "Admin Area" ...
0
votes
1answer
66 views

Copy Widget Settings because of changed IDs

I want to update a customers blog to a child theme that is based on a newer version of the actual deployed theme. My problem is, the developers of the theme changed the IDs of sidebars. In the old ...
1
vote
1answer
2k views

How to insert widget areas specific to certain pages (or posts, etc.)?

I am developing a theme the pages of which (as well as posts) are so different from the home page that I want different widgets on their sidebars.Is there a way to do it? I'm calling the sidebar on ...
0
votes
1answer
71 views

Targeting specific Page Template for sidebar page

Currently, there is a sidebar dedicated to all posts, and one for all pages. What I would like to do is target specific page templates to display sidebars for each template. if(is_front_page()) ...
0
votes
1answer
31 views

Cannot retrieve author in sidebar of single.php

Within a post I can use the_author() to retrieve the author name, but in the sidebar of a single-post page this does not return anything. How to get metadata on the post author outside the post?
2
votes
3answers
287 views

How to show video from specific category on sidebar?

I need to get video and content from recent posts in specific category called "Video" and show it on my sidebar. The problem is when I need to have limited text content. so, when I use the_content(); ...
6
votes
1answer
270 views

Display Random Author with Details in Sidebar

PHP newbie here, recently decided to have a stab at cobbling together a kooky little 'Random Author Spotlight' feature into my current WordPress theme. I'm almost done, but I've hit something of a ...
3
votes
1answer
249 views

Sidebar Generator issue

I hope this doesn't come across as very dumb (to some extend it is, however), but I am having a hard time dealing with the Sidebar Generator. In the description it is stated that "Now supports themes ...
0
votes
2answers
125 views

display specific sidebar for each role

Does someone know if it's possible to display a specific sidebar per user-role ? (only accessible if the user is logged as the specific role related to the specific sidebar )? What I want is to have ...
0
votes
1answer
172 views

How do I exclude portrait pictures from the nextgen gallery sidebar widget?

I have a gallery that contains both landscape and portrait pictures and want the gallery to be displayed in the wordpress sidebar. The problem is that the thumbnails of the portraits are scaled into ...
0
votes
1answer
114 views

Display Custom Field in Sidebar if Value is Present

I'm trying to use 'if' 'else' to display a link button if I have a value in the 'TourURL' custom field, and if not, nothing will display but can't seem to get the if code to work: <?php if(global ...
0
votes
2answers
122 views

How to use the empty space left and right of a post?

(WordPress 3.5.1, theme 20-11) I would like to use the red colored areas left and right to a post and can't find information on what plugin might deal with that. How can I add content there - ...
0
votes
1answer
974 views

Display all posts under child sub category in sidebar on post page?

I am trying to make a custom sidebar for my posts in certain categories. It will look something like this. My category structure looks like this: Parent 1 Child 1 Sub Child 1 Sub Child 2 Child ...
3
votes
1answer
430 views

Registering Sidebars and Sidebar Widgets. Sidebar Widgets Not Displaying

I am registering sidebars and sidebar widgets. The theme currently supports two sidebars. Primary and Secondary. add_action('widgets_init', array($this, 'add_sidebars'), 10, 2); public function ...
-4
votes
1answer
160 views

How to hide sub categories in sidebar [closed]

i want to hide subcategories in widget sidebar . just in widget sidebar i was added in style.css this code .children { display:none;} but this code do hide to the threaded comments what is the ...
-2
votes
2answers
341 views

IE 6~8 ignoring font, background, and margins on sidebar [closed]

I am using the default Twenty Twelve Wordpress theme with my site, and I am trying to customize the sidebar. The CSS I am using is: .widget-area, #secondary{ float: right; width: 210px; font-family: ...
0
votes
1answer
96 views

Wordpress - Allow dynamic text to be added into a sidebar upon page creation

I have a page template in WordPress that allows new pages to be created to display and explain treatment details. E.g. Chiropractor Page Acupuncture Page When a new treatment page is created from ...
1
vote
6answers
2k views

How can I hide the sidebar from a specific post?

I'd like to hide the sidebar on a specific post (not page). How can I do this? For background, I've searched quite a bit both on Google and here. I'm finding lots of solutions for showing different ...
0
votes
1answer
15 views

Sidebars are no longer working

I am trying to figure out why my sidebar is no longer working. I tried reinstalling my theme, disabling all of my plugins, and uploading a fresh version of widgets.php, with no luck. I am using the ...
0
votes
1answer
47 views

Recommended sidebar / content widths

I'm developing my own theme. Does WordPress recommend or require a minimum or maximum when it comes to the width of the content or sidebar elements of an post, page or archive page? If not, are there ...
0
votes
1answer
112 views

Single template will not show sidebar/bottom-nav and footer

Im using the blankslate template theme and have a sidebar which i would like to use throughout the website. On my sidebar on the homepage i have a widget called latest posts with the latest post ...
-1
votes
1answer
50 views

Getting taxonomies specific to categories

I have categories set up for car manufacturers. I have 4 custom taxonomies that are also set up: color, starburst, offer_type, and logo_count. Each post I upload to my wordpress has values for all 4 ...
-3
votes
2answers
116 views

Sidebar not appearing

The sidebar isn't appearing on my site: http://richardclunan.com/ I have a Text widget in the sidebar, with some test text in it… In 'Edit Page', there's no 'no sidebar' option… What things might I ...
0
votes
1answer
424 views

Change twentytwelve sidebar responsive relocation?

I'm using twentytwelve as a base theme and I want to change a behavior of the sidebar. When viewing in mobile view (you can collapse your browser window all the way horizontally to see the same view) ...
1
vote
2answers
183 views

Displaying a widget in sidebar only when no other widgets rendered?

I am working on a custom theme, basically migrating a current sites look and feel into WordPress. Most of everything is based on Pages, and all of these pages should have a left sidebar. Of those ...
0
votes
1answer
173 views

Custom tabs widget don't work in google chrome, is blocked, do not change the tabs. Why?

Code is the problem or is a Google Chrome issue? Here is the code: /*-----------------------------------------------------------------------------------*/ /* Create the widget ...
2
votes
1answer
854 views

Vertical Sidebar Menu Parent and Child not displaying correctly

I am developing a WordPress site and trying to display my menu correctly. How can I display all Parent items but only show the Child items when it's Parent has been selected. I hope that makes sense. ...
-1
votes
1answer
1k views

What is the difference with get_sidebar and dynamic_sidebar? [closed]

I was wondering which one I should use. Maybe one use widgets and the other one doesn't?
2
votes
1answer
52 views

Text snippets shared across posts

I'd like to add a "fast facts" section to a wordpress site - an area in the sidebar where snippets of text are rotated. Where is the best place to store things like this? Widgets don't really allow ...
-1
votes
1answer
712 views

How can I add multiple content-editable blocks without a plug-in?

I'm using WP as a CMS, not a blog. I have a lot of pages (not posts) that need to have different content per page in the sidebar. The content (html, images, php) in the sidebar will be different ...
0
votes
1answer
381 views

Need to setup grid like thumbnail of recent posts on sidebar

Something like this, no excerpts or anything else. I couldn't find any plugin that can do it:
0
votes
1answer
34 views

Stuck with sidebar registering

I tried to add a custom page to my Wordpress template. That part is good. What I´m stuck with is a common sidebar that appears although I registered a custom sidebar for it. I am calling the ...
-2
votes
1answer
94 views

Integrate comment system in the sidebar?

I would like the comments of a post and the comment box to appear in the sidebar. How can I do that?
1
vote
1answer
704 views

Split the content of the_content();

I want the content before the <!--more--> tag in one column and the rest in another column (single.php) only. I don't want to use plug-ins where I would need to edit all the posts to get it as ...
0
votes
2answers
606 views

CSS Twentyeleven / Sidebar has to be changed IN the CSS Stylesheet. Sidebar on the left side

I have to change my wordpress look. The sidebar should be placed on the left side. I was already looking for solutions, but the piece of codes I found didn't fit into mine. I dont know where I have to ...
1
vote
3answers
157 views

How to add a class when there's no sidebar?

I would like to add a class to a page template's body if the sidebar is not defined. How can I do that?
0
votes
1answer
120 views

E-Commerce Products Page Sidebar Formatting

I inherited a wordpress e-commerce website from a developer that only half finished the project. I do not know alot about css or php, but I have been able to play around with the coding enough to ...
0
votes
1answer
48 views

How to troubleshoot Sidebar not being generated

I'm building a custom theme. My sidebar is not being generated at all. In functions.php, I have: if ( function_exists('register_sidebar') ) { register_sidebar(array( 'name' => ...
0
votes
3answers
334 views

Showing sidebar-2 on custom template page

Environment: WP 3.5, Twenty Twelve child theme. I created a custom template. Now, I'd like to display the built-in sidebar-2 in this custom template page (instead of the default sidebar-1). sidebar-2 ...