• How can I keep the “No Comments” link from showing when no comments are available?

    I would like to have an information page only and “no comments” would not need to be displayed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you take a look at your theme, you’ll find some references to the ‘comments_popup_link’.

    e.g.


    comments_popup_link('No Comments »', '1 Comment »', '% Comments »');

    You can change the values of the 3 arguments, the first is what to display for no comments, the second for one comment and the third for more then 1 comment (with % replaced with the number).

    I would like to have an information page
    If you mean a Page created in the Write > Write Pages admin panel – the best way to go is to have a default page template in your theme (page.php) that doesn’t have the call for comments. See how it is done in the default theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No Comments’ is closed to new replies.