Search not working after slight change to index.php
-
Site: https://www.vmtweewielers.nl/2012
In index.php I changes this
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
into this
<?php if (query_posts( 'cat=26' )) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
and now the search is not working anymore. When I use a search term it it doesn’t seem another page (with results) is opened but the title in the browsertab is changed to “search results”.
What did I break? And more important: how can I fix it? ??
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Search not working after slight change to index.php’ is closed to new replies.