Support » Fixing WordPress » 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)
  • Thread Starter _ardnas

    (@_ardnas)

    Oh, I fixed it now. I seemed to have gone the wrong way ’round the problem. I installed a plugin and the problem’s gone now. ^_^

Viewing 1 replies (of 1 total)
  • The topic ‘Comment link quits working after editing index.php’ is closed to new replies.