Forums

[resolved] Simple feedback form on each post, email to author (7 posts)

  1. Mystrique
    Member
    Posted 6 years ago #

    Hi,

    I would like to add a simple feedback form on each post and it will email directly to the author of the respective post. Note : There might be more than one author.

    What is the best way to do this?

    Will it be possible to use the PHP mail() function?

    How to extract the author email and use it in the feedback form?

    Kindly advise.

    Thanks,

  2. Mystrique
    Member
    Posted 6 years ago #

    Nevermind.

    I have figured an alternative way for this.

    Regards,

  3. katie1
    Member
    Posted 6 years ago #

    Which is?

    If you can advise us of your methods, it might help someone else.

  4. Mystrique
    Member
    Posted 6 years ago #

    Hi katie1,

    I used the comment form as the feedback form.
    I disabled the comment display. :)

    All the author will received the feedback to their email since I enable the comment notification.

    Thats all. :)

  5. katie1
    Member
    Posted 6 years ago #

    Thanks Mystrique - I might even attempt this myself. I too have multiple authors.

    Thanks to your reply

  6. ahlife
    Member
    Posted 6 years ago #

    Hi
    Please kindly advise how to disable "comment display" so my blog visitors can directly contact my other authors of the their posts?

    Thank you!!

  7. mir123
    Member
    Posted 5 years ago #

    I guess you could define a category for posts for which you want this type of feedback, then on your single.php theme file or whichever, you would use a conditional statement like this (where category_id is the number of your special category:

    <?php if (!in_category('category_id') ): ?>

    // code for displaying comments

    <?php endif; ?>

Topic Closed

This topic has been closed to new replies.

About this Topic