ThemeShaper Forums » Thematic

thematic_body_class adding .search-no-results to body when results found

(4 posts)
  • Started 12 years ago by alxndr
  • Latest reply from Chris
  • This topic is not resolved


  1. alxndr

    In my WP installation (private site at the moment so no URL, sorry), the body element has class="search-no-results" even when there are results found (in this case, only one result). I'm seeing no difference between the classes on the body element when there are results vs. no results.

    I've added a few filters (on thematic_create_stylesheet, thematic_postheader_postmeta and thematic_postfooter) and one action (into thematic_header) and removed the thematic_blogtitle action, but otherwise just messed with CSS.

    Any ideas?

    Posted 12 years ago #
  2. Hi,

    this seems to be a problem with have_posts() in this certain case. I fixed it with the SVN revision 550.


    Posted 12 years ago #
  3. alxndr

    What service!

    Is dynamic-classes.php the only file I really need to update? Anything else worth having in this revision?

    Posted 12 years ago #
  4. Yes .. copy this file to fix the problem


    Posted 12 years ago #

RSS feed for this topic


You must log in to post.