wpsharks / comment-mail

A WordPress plugin enabling email subscriptions for comments.
http://comment-mail.com
GNU General Public License v3.0
8 stars 3 forks source link

How can I install form field manually? #255

Open s37dap42x opened 8 years ago

s37dap42x commented 8 years ago

This plugin is great solution for my blog. But I have one little trouble with his installation. I create my own form commenting fields in function.php So how I can integrate plugin functionality in my own template? I can't find solution anywhere: not on your site, not on this plugin page. Please help me..

raamdev commented 8 years ago

@s37dap42x We're still working on the documentation for the API (see https://github.com/websharks/comment-mail-kb/issues/9), but you should be able to disable auto-insertion of the Comment Form (as shown in the screenshot below) and then use a comment_mail::sub_ops(); call in your theme template to show the subscription options.

2016-03-09_08-59-03

raamdev commented 7 years ago

Just noting that this should be comment_mail::subOps(); as of v160618.