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
139 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
1k 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
2answers
757 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
547 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
178 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
77 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
3k 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
84 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
34 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
382 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
406 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
2answers
364 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
185 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
199 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
122 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
154 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 - ...
1
vote
2answers
1k 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
602 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
229 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
451 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
128 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
3k 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
16 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
55 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
137 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
53 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
149 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
614 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
3answers
255 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
185 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
919 views

Vertical Sidebar Menu Parent and Child not displaying correctly [closed]

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. ...
0
votes
1answer
2k 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
54 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
869 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
512 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
38 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
96 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
1k 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
739 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
218 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
154 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
53 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
572 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 ...
1
vote
1answer
1k views

Load posts into sidebar and paginate via ajax?

Is it possible to paginate, or load the next / previous posts in the sidebar without messing with the entire page pagination? Such as AJAX? Right now I'm querying custom post type posts to load the ...
6
votes
7answers
3k views

Individual Widgets per Page

In my (page-only, no posts) Wordpress site I have a number of static blobs in need to put in a sidebar. We could call/tream thoses 'blobs' as widgets. At least they'll have a fixed html content, like ...
0
votes
1answer
1k views

bloginfo('stylesheet_directory') vs. get_stylesheet_directory_uri() and include('file.php') vs. get_template_part()

In my custom theme I'm using <img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.jpg"/> to load my custom logo. I'm using a custom sidebar for front-page.php and that's why I ...
0
votes
1answer
378 views

Dynamic Sidebars & Echo

I can sucesfully get my dynamic sidebar to work like so: <div class="sidebar sidebar-first"> <ul class="widget-area first"> <?php dynamic_sidebar( 'pop-photos-sidebar' ); ...
0
votes
1answer
208 views

Wordpress Queries Not Working?

//Display All Reviews function display_all_reviews( $query ) { if ( $query->is_home() && $query->is_main_query() ) { $query->set( 'tag', 'reviews' ); } } add_action( ...
0
votes
1answer
78 views

how to list subpages in sidebar without widget

I am trying to create a list of subpages of a parent page, which will appear in the sidebar of my wordpress site. This sidebar will appear on every page. So for example, I have a page with an ID of ...
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 ...