Comment link quits working after editing index.php
-
Well, I’ve tried to search for two hours, and I just don’t get it. I recently installed the latest version of WordPress (located at http://www.daisymedia.net/movies) and I’m trying to get only posts from category 17 to show up on the index page. So I added the following code right after the header code in index.php
<?php query_posts('cat=17'); ?>
This results in only the posts from cat 17 to show up on the index page, which is exactly what I want, but when doing this the comment link stops working. When I click on it, nothing really happens, only the url on the address bar changes. If I take the above code away, it works again. How can I get this to work without the comment link freezing on me? Any help gladly appreciated. ^^
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Comment link quits working after editing index.php’ is closed to new replies.