Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks Kafkaesqui,

    Works like charm.

    I should have realized this myself.

    Cheers.

    This post is most helpful indeed, saved me plugin headaches, thanks a lot Kafkaesqui.

    One question though, the loop as I see it assumes that it will find the posts, however what if the post was not found? I am using this as my homepage, if a wrong address was inserted people will get the 404 page, however, when the search is used, it simply gives back the homepage again :/

    It used to work in my old theme, and the difference is that when you have on IF loop <?php if (have_posts()) : ?> you can use <?php else : ?>, which used to redirect to the 404 page and the search again.

    Please check my current site: http://www.mazenville.com

    And let me know if there is a way to make the search work again, currently it is just useless, if a post is found or not, it just returns the homepage again, I am sure there is something I need to add to my index page.

    Cheers.

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