Search 
Search Forums:


 




Why doesn’t comment form display on archive pages?

Reply to Post
UserPost

11:30 am
October 15, 2008


Tim

Guest

I added this this AWP lines of code to archive.php however the comment form does not display when I view posts by category or month. It works fine on the home page (I applied these changes to index.php as well).

< ?php do_action('awp_comments_link');?>
< ?php do_action('awp_comments'); ?>
< ?php do_action('awp_commentform'); ?>

What did I do wrong?

Thank you!
Tim

11:32 am
October 15, 2008


Tim

Guest

WP version is 2.6.2 site can be viewed at http://zclientdev.net/wp.

2:18 pm
October 15, 2008


BusyMom

Guest

Tim, try refreshing and/or purging your cache and see if you are still seeing the same behavior as you were. When I look at your site, I see both the Show Comments and Add Comments working correctly for the index page as well as the October archive. Can’t tell what you are seeing that looks wrong. Good luck …
Karen

2:49 pm
October 15, 2008


Tim

Guest

Thank you for your reply, Karen! The only way I could get the comment form to display was to use one of the hacks you described in another post.

< ?php do_action('awp_commentform_link'); ?>
</div>

Without that only the comments would appear. There was no comment form.

This hack will suffice but I was hoping to display the comment form unconditionally.

- Tim

Reply to Post


Reply to Topic: Why doesn’t comment form display on archive pages?

Name (Required):

EMail (Required):

Website):

Guest URL (required)

Math Required!
What is the sum of: 2 + 6        (Required)

Topic Reply:


 

About the Anthology of Ideas forum

Currently Online:

7 Guests

Maximum Online: 33

Forums:

Groups: 2

Forums: 6

Topics: 212

Posts: 671

Members:

There are 1 members

There are 199 guests

Aaron has made 245 posts

Top Posters:

Administrator: Aaron