Forums

No Comments (3 posts)

  1. rennsport
    Member
    Posted 3 years ago #

    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.

  2. jaredquinn
    Member
    Posted 3 years ago #

    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).

  3. moshu
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.