| Post |
|
Aaron - Admin
3:20 pm - January 11, 2009
posts 379 |
| |
|
The Inline comment form is automatically added to pages that automatically use comments. For all other pages:
To display the Inline Comment Form on any page.
- Open your theme’s index.php or archive.php file.
- Find the WordPress loop. All edits will take place inside the loop.
- Add <?php do_action('awp_commentform_link');?> where you want the show/hide add comment box link to appear.
- Add <?php do_action('awp_commentform'); ?> where you want the ad comment box to appear when they are loaded
- Save and Upload
- Optionally repeat this for single.php, page.php, archives.php etc.
|
|
|
bigproud - Guest
11:34 am - April 7, 2009
|
| |
|
|
|
neo - Guest
8:04 pm - April 20, 2009
|
| |
|
it is strange that the inline postform doesn't work while the linline comments works on the same index.php page? anyidea?
thx
|
|
|
pgxxxx - Guest
6:45 pm - June 28, 2009
|
| |
|
Post edited 6:48 pm - June 28, 2009 by pgxxxx
The above is simply not correct. do_action('awp_commentform_link') will NOT always show the comment form link. It seems to depend on the code around it. Pretty useless explanation this is.
|
|