Putting a directory site together
When users view the custom post there is a 'contact owner' button which opens up an email form to correspond with the listing author
When this is clicked I want to force the user to log in or register and return them to the original page they were at ( if posiible)
It would also worked if this function was activated when the user clicks on a directory listing before they get to see the full post
Any help much appreciated
The blog I need help with is www.stonesouparts.co.uk.