The task is to send the data from the form (which is located both in the post template and on the categories page). Found an online article on this topic Send Email To Post Author ,
But unfortunately this does not work (a hidden field picks up the admin email, regardless of who posted the post). What could be the solutions to this problem?