• Hi!
    My user is already loged in. Through a “form in a post” I ask “What is your goal?”. The user types the goal in the textarea. Now I want the answer to be visible to the (loged in) user in the textarea when reading the post. How do a I do that?

    Thanks!

    All the best!
    /Annika

Viewing 3 replies - 1 through 3 (of 3 total)
  • It almost sounds like you’re reinventing comments, but otherwise perhaps you’re trying to take a poll of some sort? In either case, you’ll want to find a plugin that does something of the sort for you.

    What’s required for that, however, is writing to the wp_postmeta table from the textarea, then reading when logged in. But if that doesn’t make immediate sense to you, I wouldn’t go that route, as that would require proficiency with php and the wordpress data model/controller.

    Thread Starter annikaohrberg

    (@annikaohrberg)

    Ok! Thanks a lot!

    Thread Starter annikaohrberg

    (@annikaohrberg)

    Is there a way to alter the comments.php script so it only uploads comments made by the loged in user? That would be a perfect solution!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to read user input in a post?’ is closed to new replies.