WordPress.org

Ready to get started?Download WordPress

Forums

comments_popup_link - works in Archive.php but not in other pages (3 posts)

  1. michael
    Member
    Posted 5 years ago #

    for the number of comments to show i use the code:

    <?php comments_popup_link('No Comments', '1 Comment', '% Comments');?>

    for the post meta data. It works okay in the archive template (http://lbbc.fearlessflyer.com/category/illegal-immigration/) - but not in other page templates (http://lbbc.fearlessflyer.com/politics/ ) - which uses the same exact code.

  2. Navjot Singh
    Member
    Posted 5 years ago #

    It does not work here too. It works when accessed via category page but not via homepage.

  3. michael
    Member
    Posted 5 years ago #

    do you have a category template? (category.php)

Topic Closed

This topic has been closed to new replies.

About this Topic