Title: sidebar.php
Last modified: August 18, 2016

---

# sidebar.php

 *  [aqu01rius](https://wordpress.org/support/users/aqu01rius/)
 * (@aqu01rius)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/sidebarphp-2/)
 * Here’s my index: [http://www.aqua.hostmatrix.org](http://www.aqua.hostmatrix.org)
 * Everything is alright. But when I visit archive.php and search.php, it turns 
   out like this: [http://www.aqua.hostmatrix.org/?s=a&imageField.x=0&imageField.y=0](http://www.aqua.hostmatrix.org/?s=a&imageField.x=0&imageField.y=0)
 * But if I take off the <?php get_sidebar(); ?> in those two files, it will turn
   back to normal like this: [http://www.aqua.hostmatrix.org/2006/09/](http://www.aqua.hostmatrix.org/2006/09/)
 * What is wrong? I figured it’s probably some messed up padding in my css but I
   just CAN’T find it.
 * My CSS file: [http://www.aqua.hostmatrix.org/wp-content/themes/main/style.css](http://www.aqua.hostmatrix.org/wp-content/themes/main/style.css)
 * My sidebar.php:
 * [moderated – long code removed.
    Use a pastebin service]
 * Is it because I added the table? But it doesn’t make sense! Please help me. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Christopher J. Hradil](https://wordpress.org/support/users/chradil/)
 * (@chradil)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/sidebarphp-2/#post-447567)
 * the ` <?php get_sidebar(); ?> ` shouldn’t be causing a problem like that (unless
   there’s something that’s really invalid/broken inside sidebar.php), no matter
   how bad your css is, it won’t cause a change to, or “break” your permalinks, 
   that being said, i’d start with:
 * 1) check permalinks configuration via admin interface
    2) check permissions and.
   htaccess to make sure all is well 3) go over sidebar.php to find the broken code(
   it’s not going to be some html/xhtml/css causing that kind of problem, that’s
   going to be some bad php.
 * let us know what happens, it surely doesn’t make much sense, i just checked the
   site and all appears to be working ok.
 *  [jwurster](https://wordpress.org/support/users/jwurster/)
 * (@jwurster)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/sidebarphp-2/#post-447573)
 * It looks fine to me, too. I’m using FF.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘sidebar.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [jwurster](https://wordpress.org/support/users/jwurster/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/sidebarphp-2/#post-447573)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
