Ready to get started?Download WordPress


sidebar.php (3 posts)

  1. AQu01rius
    Posted 7 years ago #

    Here's my index: 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

    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/

    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

    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!

  2. Christopher J. Hradil
    Posted 7 years ago #

    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.

  3. jwurster
    Posted 7 years ago #

    It looks fine to me, too. I'm using FF.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.