WordPress.org

Ready to get started?Download WordPress

Forums

Theme problem but only with search results page (3 posts)

  1. reevo
    Member
    Posted 7 years ago #

    Hi all

    I've updated my site using a modified version of the GPS Fluid theme but for some strange reason the search results page seems to be a bit off (see here for how it looks when displaying results) and I just can't get to grips with what's going on. The sidebars both appear below the central column's content!

    Exactly the same thing is happening on my site too and although I can hack my way around the core files and the CSS enough to modify its look to what you see on my site, Ektopia, I just can't work out why it would show like this for the search results page only.

    I would really appreciate it if someone could take a look to see if it was something obvious that I have missed.

    Thanks for taking the time to look in.

    Reevo

  2. drmike
    Member
    Posted 7 years ago #

    Try removing the get_sidebar function call from your search.php. It may be calling it twice.

  3. reevo
    Member
    Posted 7 years ago #

    Hey Thanks drmike.

    I just tried that and without the get-sidebar functions included it shows no sidebars at all.

    Actually, it got me thinking about other themes and after a little investigating I found that on some other themes search php the get_sidebar functions were at the top of the page so I tried it and it now appears to work fine.

    It was previously at the bottom of the page after the

    <?php endif; ?>

    and all I did was include it at the top of the page after -

    <?php get_header(); ?>
      <div id=\"container\" class=\"clearfix\">

    Thanks for the reply though drmike, it helped to get me thinking along the lines of it being a problem with the search php rather than the css.

    Reevo

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.