Hello,
I would like to show the current page title as subject in the Royal contact form. I found that I will have to edit theme-functions.php but I dont know what to edit. I’ve tried to replace:
'You have been contacted by ' . $name;
with:
$subject = $post_title;
But I have to define $post_title somewhere and I just dont know where and how.
I would really appreciate your help.
Many thanks in advance!